Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/vnic/
H A Dnicvf_main.c93 sx_init(&(nic)->core_sx, device_get_nameunit((nic)->dev))
96 sx_destroy(&(nic)->core_sx)
98 #define NICVF_CORE_LOCK(nic) sx_xlock(&(nic)->core_sx)
99 #define NICVF_CORE_UNLOCK(nic) sx_xunlock(&(nic)->core_sx)
101 #define NICVF_CORE_LOCK_ASSERT(nic) sx_assert(&(nic)->core_sx, SA_XLOCKED)
H A Dnic.h296 struct sx core_sx; member
/freebsd-12.1/sys/dev/bxe/
H A Dbxe.h1444 struct sx core_sx; member
1464 #define BXE_CORE_TRYLOCK(sc) sx_try_xlock(&sc->core_sx)
1465 #define BXE_CORE_LOCK(sc) sx_xlock(&sc->core_sx)
1466 #define BXE_CORE_UNLOCK(sc) sx_xunlock(&sc->core_sx)
1467 #define BXE_CORE_LOCK_ASSERT(sc) sx_assert(&sc->core_sx, SA_XLOCKED)
H A Dbxe.c2552 sx_init(&sc->core_sx, sc->core_sx_name); in bxe_init_mutexes()
2592 sx_destroy(&sc->core_sx); in bxe_release_mutexes()