Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_sx.c139 #define _sx_assert(sx, what, file, line) macro
405 _sx_assert(sx, SA_XLOCKED, file, line); in _sx_xunlock()
434 _sx_assert(sx, SA_SLOCKED, file, line); in sx_try_upgrade_int()
483 _sx_assert(sx, SA_XLOCKED | SA_NOTRECURSED, file, line); in sx_downgrade_int()
1373 _sx_assert(sx, SA_SLOCKED, file, line); in _sx_sunlock_int()
1397 #undef _sx_assert
1406 _sx_assert(const struct sx *sx, int what, const char *file, int line) in _sx_assert() function
/freebsd/sys/sys/
H A Dsx.h123 void _sx_assert(const struct sx *sx, int what, const char *file, int line);
229 _sx_assert((sx), (what), (file), (line))