/freebsd-11-stable/sys/fs/autofs/ |
H A D | autofs.h | 65 #define AUTOFS_ASSERT_LOCKED(X) sx_assert(&X->am_lock, SA_LOCKED) 66 #define AUTOFS_ASSERT_XLOCKED(X) sx_assert(&X->am_lock, SA_XLOCKED) 67 #define AUTOFS_ASSERT_UNLOCKED(X) sx_assert(&X->am_lock, SA_UNLOCKED)
|
/freebsd-11-stable/sys/dev/filemon/ |
H A D | filemon.c | 123 sx_assert(&filemon->lock, SA_UNLOCKED); 164 sx_assert(&p->p_filemon->lock, SA_XLOCKED); 215 sx_assert(&filemon->lock, SA_XLOCKED); 260 sx_assert(&filemon->lock, SA_XLOCKED); 308 sx_assert(&filemon->lock, SA_XLOCKED);
|
/freebsd-11-stable/sys/sys/ |
H A D | module.h | 211 #define MOD_LOCK_ASSERT sx_assert(&modules_sx, SX_LOCKED) 212 #define MOD_XLOCK_ASSERT sx_assert(&modules_sx, SX_XLOCKED)
|
H A D | filedesc.h | 131 #define FILEDESC_LOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_LOCKED | \ 133 #define FILEDESC_XLOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_XLOCKED | \ 135 #define FILEDESC_UNLOCK_ASSERT(fdp) sx_assert(&(fdp)->fd_sx, SX_UNLOCKED)
|
/freebsd-11-stable/sys/ufs/ffs/ |
H A D | ffs_suspend.c | 76 sx_assert(&ffs_susp_lock, SA_LOCKED); 183 sx_assert(&ffs_susp_lock, SA_XLOCKED); 221 sx_assert(&ffs_susp_lock, SA_XLOCKED);
|
/freebsd-11-stable/sys/net/ |
H A D | if_lagg.h | 275 #define LAGG_SXLOCK_ASSERT(_sc) sx_assert(&(_sc)->sc_sx, SA_LOCKED) 276 #define LAGG_SLOCK_ASSERT(_sc) sx_assert(&(_sc)->sc_sx, SA_SLOCKED) 277 #define LAGG_XLOCK_ASSERT(_sc) sx_assert(&(_sc)->sc_sx, SA_XLOCKED)
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_linker.c | 123 sx_assert(&kld_sx, SA_XLOCKED); \ 200 sx_assert(&kld_sx, SA_XLOCKED); 248 sx_assert(&kld_sx, SA_XLOCKED); 299 sx_assert(&kld_sx, SA_XLOCKED); 325 sx_assert(&kld_sx, SA_XLOCKED); 346 sx_assert(&kld_sx, SA_XLOCKED); 369 sx_assert(&kld_sx, SA_XLOCKED); 425 sx_assert(&kld_sx, SA_XLOCKED); 560 sx_assert(&kld_sx, SA_XLOCKED); 576 sx_assert( [all...] |
H A D | kern_procctl.c | 72 sx_assert(&proctree_lock, SX_LOCKED); 131 sx_assert(&proctree_lock, SX_XLOCKED); 148 sx_assert(&proctree_lock, SX_XLOCKED); 165 sx_assert(&proctree_lock, SX_LOCKED); 202 sx_assert(&proctree_lock, SX_LOCKED); 281 sx_assert(&proctree_lock, SX_LOCKED);
|
H A D | kern_exit.c | 109 sx_assert(&proctree_lock, SX_LOCKED); 135 sx_assert(&proctree_lock, SX_LOCKED); 160 sx_assert(&proctree_lock, SA_XLOCKED); 826 sx_assert(&proctree_lock, SA_XLOCKED); 968 sx_assert(&proctree_lock, SA_XLOCKED); 1160 sx_assert(&proctree_lock, SA_XLOCKED); 1337 sx_assert(&proctree_lock, SX_XLOCKED);
|
H A D | imgact_binmisc.c | 204 sx_assert(&interp_list_sx, SA_LOCKED); 349 sx_assert(&interp_list_sx, SA_LOCKED); 550 sx_assert(&interp_list_sx, SA_LOCKED);
|
H A D | kern_acct.c | 320 sx_assert(&acct_sx, SX_XLOCKED); 558 sx_assert(&acct_sx, SX_XLOCKED);
|
H A D | sys_procdesc.c | 308 sx_assert(&proctree_lock, SA_XLOCKED); 352 sx_assert(&proctree_lock, SA_XLOCKED);
|
/freebsd-11-stable/sys/fs/devfs/ |
H A D | devfs_devs.c | 288 sx_assert(&dmp->dm_lock, SX_XLOCKED); 322 sx_assert(&dm->dm_lock, SX_XLOCKED); 433 sx_assert(&dm->dm_lock, SX_XLOCKED); 507 sx_assert(&dm->dm_lock, SX_XLOCKED); 654 sx_assert(&dm->dm_lock, SX_XLOCKED); 670 sx_assert(&dm->dm_lock, SX_XLOCKED);
|
H A D | devfs_rule.c | 145 sx_assert(&dm->dm_lock, SX_XLOCKED); 170 sx_assert(&dm->dm_lock, SX_XLOCKED); 781 sx_assert(&dm->dm_lock, SX_XLOCKED); 796 sx_assert(&dm->dm_lock, SX_XLOCKED); 811 sx_assert(&dm->dm_lock, SX_XLOCKED);
|
/freebsd-11-stable/sys/dev/twe/ |
H A D | twe_compat.h | 119 #define TWE_CONFIG_ASSERT_LOCKED(sc) sx_assert(&(sc)->twe_config_lock, SA_XLOCKED)
|
/freebsd-11-stable/sys/dev/mge/ |
H A D | if_mgevar.h | 157 sx_assert(&sx_smi, SA_UNLOCKED); \ 162 #define MGE_SMI_LOCK_ASSERT() sx_assert(&sx_smi, SA_XLOCKED)
|
/freebsd-11-stable/sys/geom/raid/ |
H A D | g_raid.c | 642 sx_assert(&sc->sc_lock, SX_XLOCKED); 661 sx_assert(&sc->sc_lock, SX_XLOCKED); 684 sx_assert(&sc->sc_lock, SX_XLOCKED); 707 sx_assert(&sc->sc_lock, SX_LOCKED); 729 sx_assert(&sc->sc_lock, SX_LOCKED); 754 sx_assert(&sc->sc_lock, SX_LOCKED); 916 sx_assert(&sc->sc_lock, SX_XLOCKED); 943 sx_assert(&sc->sc_lock, SX_XLOCKED); 1173 sx_assert(&vol->v_softc->sc_lock, SX_LOCKED); 1189 sx_assert( [all...] |
/freebsd-11-stable/sys/netsmb/ |
H A D | smb_dev.h | 173 #define SMB_LOCKASSERT() sx_assert(&smb_lock, SA_XLOCKED)
|
/freebsd-11-stable/sys/dev/mlx/ |
H A D | mlxvar.h | 187 #define MLX_CONFIG_ASSERT_LOCKED(sc) sx_assert(&(sc)->mlx_config_lock, SA_XLOCKED)
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | as3722.c | 70 #define ASSERT_LOCKED(_sc) sx_assert(&(_sc)->lock, SA_XLOCKED); 71 #define ASSERT_UNLOCKED(_sc) sx_assert(&(_sc)->lock, SA_UNLOCKED);
|
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 743 sx_assert(&pmc_sx, SX_XLOCKED); 803 sx_assert(&pmc_sx, SX_XLOCKED); 858 sx_assert(&pmc_sx, SX_XLOCKED); 976 sx_assert(&pmc_sx, SX_XLOCKED); 1041 sx_assert(&pmc_sx, SX_XLOCKED); 1103 sx_assert(&pmc_sx, SX_XLOCKED); 1158 sx_assert(&pmc_sx, SX_XLOCKED); 1598 sx_assert(&pmc_sx, SX_LOCKED); 1788 sx_assert(&pmc_sx, SX_XLOCKED); 1865 sx_assert( [all...] |
/freebsd-11-stable/sys/geom/raid3/ |
H A D | g_raid3.c | 317 sx_assert(&sc->sc_lock, SX_XLOCKED); 358 sx_assert(&sc->sc_lock, SX_XLOCKED); 387 sx_assert(&sc->sc_lock, SX_LOCKED); 573 sx_assert(&sc->sc_lock, SX_XLOCKED); 609 sx_assert(&sc->sc_lock, SX_XLOCKED); 681 sx_assert(&sc->sc_lock, SX_LOCKED); 724 sx_assert(&disk->d_softc->sc_lock, SX_LOCKED); 786 sx_assert(&sc->sc_lock, SX_LOCKED); 807 sx_assert(&sc->sc_lock, SX_XLOCKED); 832 sx_assert( [all...] |
/freebsd-11-stable/sys/geom/mirror/ |
H A D | g_mirror.c | 208 sx_assert(&sc->sc_lock, SX_XLOCKED); 249 sx_assert(&sc->sc_lock, SX_XLOCKED); 293 sx_assert(&sc->sc_lock, SX_XLOCKED); 492 sx_assert(&sc->sc_lock, SX_XLOCKED); 550 sx_assert(&sc->sc_lock, SX_XLOCKED); 658 sx_assert(&sc->sc_lock, SX_LOCKED); 711 sx_assert(&disk->d_softc->sc_lock, SX_LOCKED); 778 sx_assert(&sc->sc_lock, SX_LOCKED); 801 sx_assert(&sc->sc_lock, SX_XLOCKED); 824 sx_assert( [all...] |
/freebsd-11-stable/sys/dev/evdev/ |
H A D | uinput.c | 61 #define UINPUT_LOCK_ASSERT(state) sx_assert(&(state)->ucs_lock, SA_LOCKED) 151 sx_assert((struct sx*)arg, SA_XLOCKED); 158 sx_assert((struct sx*)arg, SA_UNLOCKED);
|
/freebsd-11-stable/sys/dev/extres/phy/ |
H A D | phy.c | 116 #define PHY_TOPO_ASSERT() sx_assert(&phynode_topo_lock, SA_LOCKED) 117 #define PHY_TOPO_XASSERT() sx_assert(&phynode_topo_lock, SA_XLOCKED)
|