Lines Matching full:ctl
58 struct rwlock ctl_lock; /* overall ctl lock */
60 struct epoch_context ctl_epoch_ctx; /* epoch ctl helper */
63 #define NHOPS_WLOCK(ctl) rw_wlock(&(ctl)->ctl_lock) argument
64 #define NHOPS_RLOCK(ctl) rw_rlock(&(ctl)->ctl_lock) argument
65 #define NHOPS_WUNLOCK(ctl) rw_wunlock(&(ctl)->ctl_lock) argument
66 #define NHOPS_RUNLOCK(ctl) rw_runlock(&(ctl)->ctl_lock) argument
67 #define NHOPS_LOCK_INIT(ctl) rw_init(&(ctl)->ctl_lock, "nhop_ctl") argument
68 #define NHOPS_LOCK_DESTROY(ctl) rw_destroy(&(ctl)->ctl_lock) argument
69 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED) argument
103 struct nhop_priv *find_nhop(struct nh_control *ctl,
105 int link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
106 struct nhop_priv *unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);