Lines Matching refs:sol
231 #define SOLISTENING(sol) (((sol)->so_options & SO_ACCEPTCONN) != 0) argument
232 #define SOLISTEN_LOCK(sol) do { \ argument
233 mtx_lock(&(sol)->so_lock); \
234 KASSERT(SOLISTENING(sol), \
235 ("%s: %p not listening", __func__, (sol))); \
237 #define SOLISTEN_TRYLOCK(sol) mtx_trylock(&(sol)->so_lock) argument
238 #define SOLISTEN_UNLOCK(sol) do { \ argument
239 KASSERT(SOLISTENING(sol), \
240 ("%s: %p not listening", __func__, (sol))); \
241 mtx_unlock(&(sol)->so_lock); \
243 #define SOLISTEN_LOCK_ASSERT(sol) do { \ argument
244 mtx_assert(&(sol)->so_lock, MA_OWNED); \
245 KASSERT(SOLISTENING(sol), \
246 ("%s: %p not listening", __func__, (sol))); \