Lines Matching refs:ctl

215 	struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl);  in nl_send_group()  local
216 if (__predict_false(ctl == NULL)) { in nl_send_group()
225 NLCTL_RLOCK(ctl); in nl_send_group()
227 CK_LIST_FOREACH(nlp, &ctl->ctl_pcb_head, nl_next) { in nl_send_group()
253 NLCTL_RUNLOCK(ctl); in nl_send_group()
333 struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl); in nl_pru_attach() local
334 if (ctl == NULL) in nl_pru_attach()
335 ctl = vnet_nl_ctl_init(); in nl_pru_attach()
366 NLCTL_WLOCK(ctl); in nl_pru_attach()
368 CK_LIST_INSERT_HEAD(&ctl->ctl_pcb_head, nlp, nl_next); in nl_pru_attach()
369 NLCTL_WUNLOCK(ctl); in nl_pru_attach()
379 struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl); in nl_pru_bind() local
391 NLCTL_WLOCK(ctl); in nl_pru_bind()
395 NLCTL_WUNLOCK(ctl); in nl_pru_bind()
406 struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl); in nl_assign_port() local
412 NLCTL_WLOCK(ctl); in nl_assign_port()
417 NLCTL_WUNLOCK(ctl); in nl_assign_port()
431 struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl); in nl_autobind_port() local
439 NLCTL_RLOCK(ctl); in nl_autobind_port()
441 NLCTL_RUNLOCK(ctl); in nl_autobind_port()
495 struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl); in nl_close() local
512 NLCTL_WLOCK(ctl); in nl_close()
521 NLCTL_WUNLOCK(ctl); in nl_close()
856 struct nl_control *ctl = atomic_load_ptr(&V_nl_ctl); in nl_ctloutput() local
879 NLCTL_WLOCK(ctl); in nl_ctloutput()
884 NLCTL_WUNLOCK(ctl); in nl_ctloutput()
901 NLCTL_WLOCK(ctl); in nl_ctloutput()
906 NLCTL_WUNLOCK(ctl); in nl_ctloutput()
915 NLCTL_RLOCK(ctl); in nl_ctloutput()
917 NLCTL_RUNLOCK(ctl); in nl_ctloutput()
924 NLCTL_RLOCK(ctl); in nl_ctloutput()
926 NLCTL_RUNLOCK(ctl); in nl_ctloutput()