Searched refs:sb_mtx (Results 1 – 4 of 4) sorted by relevance
443 #define SOCKBUF_LOCK(_so_buf) EnterCriticalSection(&(_so_buf)->sb_mtx)444 #define SOCKBUF_UNLOCK(_so_buf) LeaveCriticalSection(&(_so_buf)->sb_mtx)
388 sctp_clog.x.lock.sock_lock = mtx_owned(&(inp->sctp_socket->so_rcv.sb_mtx)); in sctp_log_lock()389 sctp_clog.x.lock.sockrcvbuf_lock = mtx_owned(&(inp->sctp_socket->so_rcv.sb_mtx)); in sctp_log_lock()390 sctp_clog.x.lock.socksndbuf_lock = mtx_owned(&(inp->sctp_socket->so_snd.sb_mtx)); in sctp_log_lock()
175 userland_mutex_t sb_mtx; /* sockbuf lock associated with sb_cond */ member265 #define SOCKBUF_MTX(_sb) (&(_sb)->sb_mtx)
136 if (SleepConditionVariableCS(&(sb->sb_cond), &(sb->sb_mtx), INFINITE)) in sbwait()141 return (pthread_cond_wait(&(sb->sb_cond), &(sb->sb_mtx))); in sbwait()148 return (msleep(&sb->sb_cc, &sb->sb_mtx, in sbwait()