Lines Matching defs:sx
112 #define sx_recursed(sx) ((sx)->sx_recurse != 0) argument
139 #define _sx_assert(sx, what, file, line) argument
184 struct sx *sx; in lock_sx() local
196 struct sx *sx; in unlock_sx() local
213 const struct sx *sx; in owner_sx() local
233 sx_init_flags(struct sx *sx, const char *description, int opts) in sx_init_flags()
263 sx_destroy(struct sx *sx) in sx_destroy()
307 sx_try_slock_(struct sx *sx, const char *file, int line) in sx_try_slock_()
314 _sx_xlock(struct sx *sx, int opts, const char *file, int line) in _sx_xlock()
394 sx_try_xlock_(struct sx *sx, const char *file, int line) in sx_try_xlock_()
401 _sx_xunlock(struct sx *sx, const char *file, int line) in _sx_xunlock()
465 sx_try_upgrade_(struct sx *sx, const char *file, int line) in sx_try_upgrade_()
534 sx_downgrade_(struct sx *sx, const char *file, int line) in sx_downgrade_()
564 _sx_xlock_hard(struct sx *sx, uintptr_t x, int opts LOCK_FILE_LINE_ARG_DEF) in _sx_xlock_hard()
915 _sx_xunlock_hard(struct sx *sx, uintptr_t x LOCK_FILE_LINE_ARG_DEF) in _sx_xunlock_hard()
992 __sx_slock_try(struct sx *sx, struct thread *td, uintptr_t *xp, bool fp in __sx_slock_try()
1017 _sx_slock_hard(struct sx *sx, int opts, uintptr_t x LOCK_FILE_LINE_ARG_DEF) in _sx_slock_hard()
1260 _sx_slock_int(struct sx *sx, int opts LOCK_FILE_LINE_ARG_DEF) in _sx_slock_int()
1292 _sx_slock(struct sx *sx, int opts, const char *file, int line) in _sx_slock()
1299 _sx_sunlock_try(struct sx *sx, struct thread *td, uintptr_t *xp) in _sx_sunlock_try()
1322 _sx_sunlock_hard(struct sx *sx, struct thread *td, uintptr_t x in _sx_sunlock_hard()
1390 _sx_sunlock(struct sx *sx, const char *file, int line) in _sx_sunlock()
1407 _sx_assert(const struct sx *sx, int what, const char *file, int line) in _sx_assert()
1493 const struct sx *sx; in db_show_sx() local
1538 const struct sx *sx; in sx_chain() local