Searched refs:fd_sx (Results 1 – 1 of 1) sorted by relevance
120 struct sx fd_sx; /* protects members of this struct */ member177 #define FILEDESC_LOCK_INIT(fdp) sx_init(&(fdp)->fd_sx, "filedesc structure")178 #define FILEDESC_LOCK_DESTROY(fdp) sx_destroy(&(fdp)->fd_sx)179 #define FILEDESC_LOCK(fdp) (&(fdp)->fd_sx)180 #define FILEDESC_XLOCK(fdp) sx_xlock(&(fdp)->fd_sx)181 #define FILEDESC_XUNLOCK(fdp) sx_xunlock(&(fdp)->fd_sx)182 #define FILEDESC_SLOCK(fdp) sx_slock(&(fdp)->fd_sx)183 #define FILEDESC_SUNLOCK(fdp) sx_sunlock(&(fdp)->fd_sx)185 #define FILEDESC_LOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_LOCKED | \187 #define FILEDESC_XLOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_XLOCKED | \[all …]