Home
last modified time | relevance | path

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

/f-stack/freebsd/net/route/
H A Dnhop_var.h61 struct rwlock ctl_lock; /* overall ctl lock */ member
66 #define NHOPS_WLOCK(ctl) rw_wlock(&(ctl)->ctl_lock)
67 #define NHOPS_RLOCK(ctl) rw_rlock(&(ctl)->ctl_lock)
68 #define NHOPS_WUNLOCK(ctl) rw_wunlock(&(ctl)->ctl_lock)
69 #define NHOPS_RUNLOCK(ctl) rw_runlock(&(ctl)->ctl_lock)
70 #define NHOPS_LOCK_INIT(ctl) rw_init(&(ctl)->ctl_lock, "nhop_ctl")
71 #define NHOPS_LOCK_DESTROY(ctl) rw_destroy(&(ctl)->ctl_lock)
72 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)