Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dip_carp.c158 struct mtx cif_mtx; member
271 #define CIF_LOCK_INIT(cif) mtx_init(&(cif)->cif_mtx, "carp_if", \
273 #define CIF_LOCK_DESTROY(cif) mtx_destroy(&(cif)->cif_mtx)
274 #define CIF_LOCK_ASSERT(cif) mtx_assert(&(cif)->cif_mtx, MA_OWNED)
275 #define CIF_LOCK(cif) mtx_lock(&(cif)->cif_mtx)
276 #define CIF_UNLOCK(cif) mtx_unlock(&(cif)->cif_mtx)
307 KASSERT(mtx_owned(&ifp->if_carp->cif_mtx) || \