Searched refs:rib_lock (Results 1 – 2 of 2) sorted by relevance
61 struct rmlock rib_lock; /* config/data path lock */ member79 #define RIB_LOCK_INIT(rh) rm_init_flags(&(rh)->rib_lock, "rib head lock", RM_DUPOK)80 #define RIB_LOCK_DESTROY(rh) rm_destroy(&(rh)->rib_lock)81 #define RIB_RLOCK(rh) rm_rlock(&(rh)->rib_lock, &_rib_tracker)82 #define RIB_RUNLOCK(rh) rm_runlock(&(rh)->rib_lock, &_rib_tracker)83 #define RIB_WLOCK(rh) rm_wlock(&(rh)->rib_lock)84 #define RIB_WUNLOCK(rh) rm_wunlock(&(rh)->rib_lock)85 #define RIB_LOCK_ASSERT(rh) rm_assert(&(rh)->rib_lock, RA_LOCKED)86 #define RIB_WLOCK_ASSERT(rh) rm_assert(&(rh)->rib_lock, RA_WLOCKED)
1175 callout_init_rm(&fd->fd_callout, &rh->rib_lock, 0); in try_setup_fd_instance()