Home
last modified time | relevance | path

Searched refs:core_sx (Results 1 – 4 of 4) sorted by relevance

/freebsd-14-stable/sys/dev/vnic/
HDnicvf_main.c89 sx_init(&(nic)->core_sx, device_get_nameunit((nic)->dev))
92 sx_destroy(&(nic)->core_sx)
94 #define NICVF_CORE_LOCK(nic) sx_xlock(&(nic)->core_sx)
95 #define NICVF_CORE_UNLOCK(nic) sx_xunlock(&(nic)->core_sx)
97 #define NICVF_CORE_LOCK_ASSERT(nic) sx_assert(&(nic)->core_sx, SA_XLOCKED)
HDnic.h294 struct sx core_sx; member
/freebsd-14-stable/sys/dev/bxe/
HDbxe.h1402 struct sx core_sx; member
1422 #define BXE_CORE_TRYLOCK(sc) sx_try_xlock(&sc->core_sx)
1423 #define BXE_CORE_LOCK(sc) sx_xlock(&sc->core_sx)
1424 #define BXE_CORE_UNLOCK(sc) sx_xunlock(&sc->core_sx)
1425 #define BXE_CORE_LOCK_ASSERT(sc) sx_assert(&sc->core_sx, SA_XLOCKED)
HDbxe.c2528 sx_init(&sc->core_sx, sc->core_sx_name); in bxe_init_mutexes()
2568 sx_destroy(&sc->core_sx); in bxe_release_mutexes()