Home
last modified time | relevance | path

Searched refs:MTX_RECURSE (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/sys/kern/
H A Dkern_mutex.c294 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 Dhal.c66 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 Dlinux_80211.h324 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 Dlinux_hrtimer.c104 MTX_DEF | MTX_RECURSE | MTX_NOWITNESS); in linux_hrtimer_init()
H A Dlinux_xarray.c337 mtx_init(&xa->mtx, "lkpi-xarray", NULL, MTX_DEF | MTX_RECURSE); in xa_init_flags()
/freebsd/sys/dev/wtap/
H A Dif_medium.c40 mtx_init(&md->md_mtx, "wtap_medium mtx", NULL, MTX_DEF | MTX_RECURSE); in init_medium()
/freebsd/sys/dev/wtap/plugins/
H A Dvisibility.c100 NULL, MTX_DEF | MTX_RECURSE); in visibility_init()
/freebsd/sys/dev/usb/misc/
H A Duled.c152 mtx_init(&sc->sc_mtx, "uled lock", NULL, MTX_DEF | MTX_RECURSE); in uled_attach()
H A Dugold.c208 mtx_init(&sc->sc_mtx, "ugold lock", NULL, MTX_DEF | MTX_RECURSE); in ugold_attach()
H A Dudbp.c327 mtx_init(&sc->sc_mtx, "udbp lock", NULL, MTX_DEF | MTX_RECURSE); in udbp_attach()
/freebsd/stand/kshim/
H A Dbsd_kernel.c268 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 Dieee80211_freebsd.h66 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 Dubtbcmfw.c215 mtx_init(&sc->sc_mtx, "ubtbcmfw lock", NULL, MTX_DEF | MTX_RECURSE); in ubtbcmfw_attach()
/freebsd/sys/dev/usb/controller/
H A Dusb_controller.c951 "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 Dif_mwlvar.h343 NULL, MTX_DEF | MTX_RECURSE)
/freebsd/sys/dev/usb/storage/
H A Durio.c233 mtx_init(&sc->sc_mtx, "urio lock", NULL, MTX_DEF | MTX_RECURSE); in urio_attach()
/freebsd/sys/dev/malo/
H A Dif_malo.h567 NULL, MTX_DEF | MTX_RECURSE)
/freebsd/sys/dev/xen/grant_table/
H A Dgrant_table.c562 MTX_SYSINIT(gnttab, &gnttab_list_lock, "GNTTAB LOCK", MTX_DEF | MTX_RECURSE);
/freebsd/sys/sys/
H A Dmutex.h53 #define MTX_RECURSE 0x00000004 /* Option: lock allowed to recurse */ macro
/freebsd/sys/dev/bwi/
H A Dif_bwivar.h672 MTX_NETWORK_LOCK, MTX_DEF | MTX_RECURSE)
/freebsd/sys/dev/usb/input/
H A Duhid_snes.c548 mtx_init(&sc->sc_mutex, "uhid_snes", NULL, MTX_DEF | MTX_RECURSE); in uhid_snes_attach()
/freebsd/sys/dev/usb/serial/
H A Dulpt.c545 mtx_init(&sc->sc_mtx, "ulpt lock", NULL, MTX_DEF | MTX_RECURSE); in ulpt_attach()
/freebsd/sys/dev/syscons/
H A Dsyscons.h533 MTX_SPIN | MTX_RECURSE);
/freebsd/sys/geom/mountver/
H A Dg_mountver.c296 mtx_init(&sc->sc_mtx, "gmountver", NULL, MTX_DEF | MTX_RECURSE); in g_mountver_create()
/freebsd/sys/dev/ocs_fc/
H A Docs_os.h619 mtx_init(&(lock)->lock, lock->name, NULL, MTX_DEF | MTX_RECURSE | MTX_DUPOK); in ocs_rlock_init()

123