Home
last modified time | relevance | path

Searched refs:sb_mtx (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h443 #define SOCKBUF_LOCK(_so_buf) EnterCriticalSection(&(_so_buf)->sb_mtx)
444 #define SOCKBUF_UNLOCK(_so_buf) LeaveCriticalSection(&(_so_buf)->sb_mtx)
Dsctputil.c388 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()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socketvar.h175 userland_mutex_t sb_mtx; /* sockbuf lock associated with sb_cond */ member
265 #define SOCKBUF_MTX(_sb) (&(_sb)->sb_mtx)
Duser_socket.c136 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()