Searched refs:so_lock (Results 1 – 4 of 4) sorted by relevance
111 struct mtx so_lock; member247 #define SOCK_MTX(so) (&(so)->so_lock)248 #define SOCK_LOCK(so) mtx_lock(&(so)->so_lock)249 #define SOCK_OWNED(so) mtx_owned(&(so)->so_lock)250 #define SOCK_UNLOCK(so) mtx_unlock(&(so)->so_lock)251 #define SOCK_LOCK_ASSERT(so) mtx_assert(&(so)->so_lock, MA_OWNED)256 mtx_lock(&(sol)->so_lock); \260 #define SOLISTEN_TRYLOCK(sol) mtx_trylock(&(sol)->so_lock)264 mtx_unlock(&(sol)->so_lock); \267 mtx_assert(&(sol)->so_lock, MA_OWNED); \[all …]
761 void so_lock(struct socket *so);
805 mtx_init(&so->so_lock, "socket", NULL, MTX_DEF | MTX_DUPOK); in soalloc()881 mtx_destroy(&so->so_lock); in sodealloc()5156 so_lock(struct socket *so) function
530 error = msleep(&so->so_timeo, &so->so_lock, PSOCK | PCATCH, in kern_connectat()