Searched refs:_so_buf (Results 1 – 2 of 2) sorted by relevance
498 #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 …]
246 #define SOCKBUF_LOCK(_so_buf) argument247 #define SOCKBUF_UNLOCK(_so_buf) argument248 #define SOCKBUF_LOCK_ASSERT(_so_buf) argument