Home
last modified time | relevance | path

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

/external/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h498 #define SOCKBUF_LOCK_ASSERT(_so_buf)
499 #define SOCKBUF_LOCK(_so_buf) \
500 EnterCriticalSection(&(_so_buf)->sb_mtx)
501 #define SOCKBUF_UNLOCK(_so_buf) \
502 LeaveCriticalSection(&(_so_buf)->sb_mtx)
508 #define SOCKBUF_LOCK_ASSERT(_so_buf) \
509 …KASSERT(pthread_mutex_trylock(SOCKBUF_MTX(_so_buf)) == EBUSY, ("%s: socket buffer not locked", __f…
511 #define SOCKBUF_LOCK(_so_buf) \
512 …KASSERT(pthread_mutex_lock(SOCKBUF_MTX(_so_buf)) == 0, ("%s: sockbuf_mtx already locked", __func__…
513 #define SOCKBUF_UNLOCK(_so_buf) \
[all …]
Dsctp_lock_userspace.h246 #define SOCKBUF_LOCK(_so_buf) argument
247 #define SOCKBUF_UNLOCK(_so_buf) argument
248 #define SOCKBUF_LOCK_ASSERT(_so_buf) argument