Home
last modified time | relevance | path

Searched refs:PIPE_MTX (Results 1 – 2 of 2) sorted by relevance

/xnu-11417.121.6/bsd/sys/ !
H A Dpipe.h172 #define PIPE_MTX(pipe) ((pipe)->pipe_mtxp) macro
174 #define PIPE_LOCK(pipe) lck_mtx_lock(PIPE_MTX(pipe))
175 #define PIPE_UNLOCK(pipe) lck_mtx_unlock(PIPE_MTX(pipe))
176 #define PIPE_LOCK_ASSERT(pipe, type) LCK_MTX_ASSERT(PIPE_MTX(pipe), (type))
/xnu-11417.121.6/bsd/kern/ !
H A Dsys_pipe.c166 __container_of(PIPE_MTX(pipe), struct pipepair, pp_mtx)
683 error = msleep(cpipe, PIPE_MTX(cpipe), catch ? (PRIBIO | PCATCH) : PRIBIO, in pipeio_lock()
858 error = msleep(rpipe, PIPE_MTX(rpipe), PRIBIO | PCATCH, "piperd", 0); in pipe_read()
1144 error = msleep(wpipe, PIPE_MTX(wpipe), PRIBIO | PCATCH, "pipewr", 0); in pipe_write()
1355 msleep(cpipe, PIPE_MTX(cpipe), PRIBIO, "pipecl", 0); in pipeclose()