HomeSort by relevance Sort by last modified time
    Searched refs:SOCKBUF_MTX (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_process_lock.h 448 #define SOCKBUF_LOCK_ASSERT(_so_buf) KASSERT(pthread_mutex_trylock(SOCKBUF_MTX(_so_buf)) == EBUSY, ("%s: socket buffer not locked", __func__))
449 #define SOCKBUF_LOCK(_so_buf) pthread_mutex_lock(SOCKBUF_MTX(_so_buf))
450 #define SOCKBUF_UNLOCK(_so_buf) pthread_mutex_unlock(SOCKBUF_MTX(_so_buf))
  /external/chromium_org/third_party/usrsctp/usrsctplib/
user_socketvar.h 265 #define SOCKBUF_MTX(_sb) (&(_sb)->sb_mtx)
268 InitializeCriticalSection(SOCKBUF_MTX(_sb))
269 #define SOCKBUF_LOCK_DESTROY(_sb) DeleteCriticalSection(SOCKBUF_MTX(_sb))
277 pthread_mutex_init(SOCKBUF_MTX(_sb), NULL)
278 #define SOCKBUF_LOCK_DESTROY(_sb) pthread_mutex_destroy(SOCKBUF_MTX(_sb))
287 /* #define SOCKBUF_OWNED(_sb) mtx_owned(SOCKBUF_MTX(_sb)) unused */
292 /* #define SOCKBUF_UNLOCK_ASSERT(_sb) mtx_assert(SOCKBUF_MTX(_sb), MA_NOTOWNED) unused */
299 #define SOCK_MTX(_so) SOCKBUF_MTX(&(_so)->so_rcv)
user_socket.c     [all...]

Completed in 55 milliseconds