/freebsd/sys/kern/ |
H A D | kern_mutex.c | 294 WITNESS_CHECKORDER(&m->lock_object, (opts & ~MTX_RECURSE) | in __mtx_lock_flags() 306 WITNESS_LOCK(&m->lock_object, (opts & ~MTX_RECURSE) | LOP_EXCLUSIVE, in __mtx_lock_flags() 354 (opts & MTX_RECURSE) != 0, in __mtx_lock_spin_flags() 357 opts &= ~MTX_RECURSE; in __mtx_lock_spin_flags() 393 KASSERT((opts & MTX_RECURSE) == 0, in __mtx_trylock_spin_flags() 467 (opts & MTX_RECURSE) != 0)) { in _mtx_trylock_flags_int() 477 opts &= ~MTX_RECURSE; in _mtx_trylock_flags_int() 563 (opts & MTX_RECURSE) != 0, in __mtx_lock_sleep() 567 opts &= ~MTX_RECURSE; in __mtx_lock_sleep() 576 opts &= ~MTX_RECURSE; in __mtx_lock_sleep() [all …]
|
/freebsd/sys/dev/wtap/wtap_hal/ |
H A D | hal.c | 66 mtx_init(&hal->hal_mtx, "wtap_hal mtx", NULL, MTX_DEF | MTX_RECURSE); in init_hal() 190 MTX_DEF | MTX_RECURSE); in new_wtap()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.h | 324 mtx_init(&(_lhw)->scan_mtx, "lhw-scan", NULL, MTX_DEF | MTX_RECURSE); 337 mtx_init(&(_lhw)->txq_mtx, "lhw-txq", NULL, MTX_DEF | MTX_RECURSE); 350 mtx_init(&(_lhw)->rxq_mtx, "lhw-rxq", NULL, MTX_DEF | MTX_RECURSE);
|
H A D | linux_hrtimer.c | 104 MTX_DEF | MTX_RECURSE | MTX_NOWITNESS); in linux_hrtimer_init()
|
H A D | linux_xarray.c | 337 mtx_init(&xa->mtx, "lkpi-xarray", NULL, MTX_DEF | MTX_RECURSE); in xa_init_flags()
|
/freebsd/sys/dev/wtap/ |
H A D | if_medium.c | 40 mtx_init(&md->md_mtx, "wtap_medium mtx", NULL, MTX_DEF | MTX_RECURSE); in init_medium()
|
/freebsd/sys/dev/wtap/plugins/ |
H A D | visibility.c | 100 NULL, MTX_DEF | MTX_RECURSE); in visibility_init()
|
/freebsd/sys/dev/usb/misc/ |
H A D | uled.c | 152 mtx_init(&sc->sc_mtx, "uled lock", NULL, MTX_DEF | MTX_RECURSE); in uled_attach()
|
H A D | ugold.c | 208 mtx_init(&sc->sc_mtx, "ugold lock", NULL, MTX_DEF | MTX_RECURSE); in ugold_attach()
|
H A D | udbp.c | 327 mtx_init(&sc->sc_mtx, "udbp lock", NULL, MTX_DEF | MTX_RECURSE); in udbp_attach()
|
/freebsd/stand/kshim/ |
H A D | bsd_kernel.c | 268 mtx_init(&Giant, "Giant", NULL, MTX_DEF | MTX_RECURSE); in mtx_system_init() 430 mtx_init(&mtx_callout, "callout-mtx", NULL, MTX_DEF | MTX_RECURSE); in callout_system_init() 1188 mtx_init(&usb_proc_mtx, "usb-proc-mtx", NULL, MTX_DEF | MTX_RECURSE); in usb_process_init()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_freebsd.h | 66 mtx_init(&cl->mtx, cl->name, NULL, MTX_DEF | MTX_RECURSE); \ 130 mtx_init(&nl->mtx, nl->name, NULL, MTX_DEF | MTX_RECURSE); \
|
/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
H A D | ubtbcmfw.c | 215 mtx_init(&sc->sc_mtx, "ubtbcmfw lock", NULL, MTX_DEF | MTX_RECURSE); in ubtbcmfw_attach()
|
/freebsd/sys/dev/usb/controller/ |
H A D | usb_controller.c | 951 "usb_def_mtx", MTX_DEF | MTX_RECURSE); in usb_bus_mem_alloc_all() 954 "usb_spin_mtx", MTX_SPIN | MTX_RECURSE); in usb_bus_mem_alloc_all()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwlvar.h | 343 NULL, MTX_DEF | MTX_RECURSE)
|
/freebsd/sys/dev/usb/storage/ |
H A D | urio.c | 233 mtx_init(&sc->sc_mtx, "urio lock", NULL, MTX_DEF | MTX_RECURSE); in urio_attach()
|
/freebsd/sys/dev/malo/ |
H A D | if_malo.h | 567 NULL, MTX_DEF | MTX_RECURSE)
|
/freebsd/sys/dev/xen/grant_table/ |
H A D | grant_table.c | 562 MTX_SYSINIT(gnttab, &gnttab_list_lock, "GNTTAB LOCK", MTX_DEF | MTX_RECURSE);
|
/freebsd/sys/sys/ |
H A D | mutex.h | 53 #define MTX_RECURSE 0x00000004 /* Option: lock allowed to recurse */ macro
|
/freebsd/sys/dev/bwi/ |
H A D | if_bwivar.h | 672 MTX_NETWORK_LOCK, MTX_DEF | MTX_RECURSE)
|
/freebsd/sys/dev/usb/input/ |
H A D | uhid_snes.c | 548 mtx_init(&sc->sc_mutex, "uhid_snes", NULL, MTX_DEF | MTX_RECURSE); in uhid_snes_attach()
|
/freebsd/sys/dev/usb/serial/ |
H A D | ulpt.c | 545 mtx_init(&sc->sc_mtx, "ulpt lock", NULL, MTX_DEF | MTX_RECURSE); in ulpt_attach()
|
/freebsd/sys/dev/syscons/ |
H A D | syscons.h | 533 MTX_SPIN | MTX_RECURSE);
|
/freebsd/sys/geom/mountver/ |
H A D | g_mountver.c | 296 mtx_init(&sc->sc_mtx, "gmountver", NULL, MTX_DEF | MTX_RECURSE); in g_mountver_create()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_os.h | 619 mtx_init(&(lock)->lock, lock->name, NULL, MTX_DEF | MTX_RECURSE | MTX_DUPOK); in ocs_rlock_init()
|