Searched refs:ifc_mtx (Results 1 – 1 of 1) sorted by relevance
73 struct mtx ifc_mtx; /* Mutex to protect members. */ member122 mtx_init(&(ifc)->ifc_mtx, "if_clone lock", NULL, MTX_DEF)123 #define IF_CLONE_LOCK_DESTROY(ifc) mtx_destroy(&(ifc)->ifc_mtx)124 #define IF_CLONE_LOCK_ASSERT(ifc) mtx_assert(&(ifc)->ifc_mtx, MA_OWNED)125 #define IF_CLONE_LOCK(ifc) mtx_lock(&(ifc)->ifc_mtx)126 #define IF_CLONE_UNLOCK(ifc) mtx_unlock(&(ifc)->ifc_mtx)363 ifc->ifc_unrhdr = new_unrhdr(0, ifc->ifc_maxunit, &ifc->ifc_mtx); in if_clone_alloc()