Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dip_carp.c146 struct mtx cif_mtx; member
265 #define CIF_LOCK_INIT(cif) mtx_init(&(cif)->cif_mtx, "carp_if", \
267 #define CIF_LOCK_DESTROY(cif) mtx_destroy(&(cif)->cif_mtx)
268 #define CIF_LOCK_ASSERT(cif) mtx_assert(&(cif)->cif_mtx, MA_OWNED)
269 #define CIF_LOCK(cif) mtx_lock(&(cif)->cif_mtx)
270 #define CIF_UNLOCK(cif) mtx_unlock(&(cif)->cif_mtx)
301 KASSERT(mtx_owned(&ifp->if_carp->cif_mtx) || \