/src/sys/netinet6/ |
nd6_rtr.c | 67 struct psref psref; local in function:nd6_rtr_cache 70 ifp = m_get_rcvif_psref(m, &psref); 95 m_put_rcvif_psref(ifp, &psref); 113 m_put_rcvif_psref(ifp, &psref); 146 m_put_rcvif_psref(ifp, &psref); 153 m_put_rcvif_psref(ifp, &psref);
|
in6_l2tp.c | 246 struct psref psref; local in function:in6_l2tp_input 273 var = l2tp_lookup_session_ref(sess_id, &psref); 341 l2tp_putref_variant(var, &psref); 358 struct psref psref; local in function:in6_l2tp_match 364 var = l2tp_getref_variant(sc, &psref); 391 l2tp_putref_variant(var, &psref);
|
in6_ifattach.c | 640 struct psref psref; local in function:in6_ifattach 641 ia = in6ifa_ifpforlinklocal_psref(ifp, 0, &psref); 646 ia6_release(ia, &psref);
|
in6_gif.c | 278 struct psref psref_var; 288 struct psref psref; local in function:in6_gif_input 289 struct ifnet *rcvif = m_get_rcvif_psref(m, &psref); 291 m_put_rcvif_psref(rcvif, &psref); 297 m_put_rcvif_psref(rcvif, &psref); 410 struct psref psref; local in function:gif_encapcheck6 414 ifp = m_get_rcvif_psref(m, &psref); 418 m_put_rcvif_psref(ifp, &psref); 475 struct psref psref; local in function:in6_gif_ctlinput [all...] |
mld6.c | 354 struct psref psref; local in function:mld_input 356 ifp = m_get_rcvif_psref(m, &psref); 457 * never executed as long as we have a psref of the ifp. 538 m_put_rcvif_psref(ifp, &psref); 556 struct psref psref; local in function:mld_sendpkt 569 ia = in6ifa_ifpforlinklocal_psref(ifp, ignflags, &psref); 575 ia6_release(ia, &psref); 582 ia6_release(ia, &psref); 1003 struct psref psref, psref_ia; local in function:in6_multicast_sysctl [all...] |
raw_ip6.c | 380 struct psref psref; local in function:rip6_output 441 &inp->inp_route, &in6p_laddr(inp), &oifp, &psref, &ip6->ip6_src); 468 if_put(oifp, &psref); 527 if_put(oifp, &psref); 714 struct psref psref; local in function:rip6_connect 745 &in6p_laddr(inp), &ifp, &psref, &in6a); 757 if_put(ifp, &psref);
|
/src/sys/sys/ |
psref.h | 1 /* $NetBSD: psref.h,v 1.4 2019/05/17 03:34:27 ozaki-r Exp $ */ 45 struct psref; 67 * struct psref 72 * psref_target. The contents of struct psref may be read and 75 struct psref { struct 76 SLIST_ENTRY(psref) psref_entry; 93 void psref_acquire(struct psref *, const struct psref_target *, 95 void psref_release(struct psref *, const struct psref_target *, 97 void psref_copy(struct psref *, const struct psref *, [all...] |
/src/sys/compat/common/ |
uipc_syscalls_40.c | 46 struct psref psref; local in function:compat_ifconf 71 if_acquire(ifp, &psref); 95 struct psref psref_ifa; 153 if_release(ifp, &psref); 165 if_release(ifp, &psref);
|
if_43.c | 233 struct psref psref; local in function:compat_ifioctl 236 ifp = if_get(ifr->ifr_name, &psref); 284 if_put(ifp, &psref);
|
/src/sys/net/npf/ |
npf_ext_log.c | 87 struct psref psref; local in function:npf_log 135 ifp = if_get_byindex(log->if_idx, &psref); 147 if_put(ifp, &psref);
|
/src/sys/netinet/ |
in_l2tp.c | 250 struct psref psref; local in function:in_l2tp_input 277 var = l2tp_lookup_session_ref(sess_id, &psref); 346 l2tp_putref_variant(var, &psref); 363 struct psref psref; local in function:in_l2tp_match 369 var = l2tp_getref_variant(sc, &psref); 396 l2tp_putref_variant(var, &psref);
|
igmp.c | 194 struct psref psref; local in function:igmp_input 234 ifp = m_get_rcvif_psref(m, &psref); 467 m_put_rcvif_psref(ifp, &psref); 482 m_put_rcvif_psref(ifp, &psref);
|
in_gif.c | 218 struct psref psref_var; 229 struct psref psref_rcvif; 347 struct psref psref; local in function:gif_encapcheck4 351 ifp = m_get_rcvif_psref(m, &psref); 355 m_put_rcvif_psref(ifp, &psref);
|
ip_encap.h | 39 #include <sys/psref.h> 97 struct psref_target psref; member in struct:encaptab
|
in_pcb.c | 586 struct psref psref; local in function:inpcb_connect 592 &psref); 603 ia4_release(ia, &psref); 609 ia4_release(ia, &psref);
|
/src/sys/arch/alpha/alpha/ |
autoconf.c | 186 struct psref psref; local in function:netboot_find_rootdev_planb 211 struct ifnet *ifp = if_get_bylla(enaddr, ETHER_ADDR_LEN, &psref); 218 if_put(ifp, &psref);
|
/src/sys/net/ |
rtsock.c | 282 struct psref psref; local in function:sysctl_iflist 316 if_acquire(ifp, &psref); 353 struct psref _psref; 388 if_release(ifp, &psref); 396 if_release(ifp, &psref);
|
nd.c | 57 struct psref psref; local in function:nd_timer 76 if_acquire(ifp, &psref); 215 if_release(ifp, &psref); 414 struct psref psref; local in function:nd_resolve 421 if_acquire(ifp, &psref); 425 if_release(ifp, &psref);
|
pfil.c | 41 #include <sys/psref.h> 60 struct psref_target psref; member in struct:__anonea41f28d0208 108 psref_target_init(&pflistset->active->psref, pfil_psref_class); 143 psref_target_destroy(&pfh->ph_in.active->psref, pfil_psref_class); 144 psref_target_destroy(&pfh->ph_out.active->psref, pfil_psref_class); 145 psref_target_destroy(&pfh->ph_ifaddr.active->psref, pfil_psref_class); 146 psref_target_destroy(&pfh->ph_ifevent.active->psref, pfil_psref_class); 219 psref_target_init(&newlist->psref, pfil_psref_class); 248 psref_target_destroy(&oldlist->psref, pfil_psref_class); 332 psref_target_init(&newlist->psref, pfil_psref_class) 410 struct psref psref; local in function:pfil_run_hooks 456 struct psref psref; local in function:pfil_run_arg [all...] |
link_proto.c | 144 struct psref psref; local in function:link_control 175 ifa_acquire(ifa, &psref); 183 ifa_release(ifa, &psref); 215 /* We need to release psref for ifa_remove */ 217 ifa_release(ifa, &psref); 232 ifa_acquire(ifa, &psref); 249 ifa_release(ifa, &psref);
|
if_llatbl.c | 641 struct psref psref; local in function:lla_rt_output 648 ifp = if_get_byindex(sdl_index, &psref); 650 ifp = if_get_byindex(dl->sdl_index, &psref); 754 struct psref _psref; 782 if_put(ifp, &psref);
|
/src/sys/kern/ |
subr_psref.c | 45 * space, a struct psref object. Sleeping while a passive 78 #include <sys/psref.h> 83 SLIST_HEAD(psref_head, psref); 121 struct psref *prdi_psref; 130 static void psref_debug_acquire(struct psref *); 131 static void psref_debug_release(struct psref *); 231 psref_exist(struct psref_cpu *pcpu, struct psref *psref) 233 struct psref *_psref; 236 if (_psref == psref) 550 const struct psref *psref; local in function:_psref_held [all...] |
/src/sys/compat/linux32/common/ |
linux32_socket.c | 428 struct psref psref; local in function:linux32_getifconf 448 if_acquire(ifp, &psref); 460 struct psref psref_ifa; 486 if_release(ifp, &psref); 499 if_release(ifp, &psref);
|
/src/sys/netatalk/ |
aarp.c | 354 struct psref psref; local in function:at_aarpinput 384 ifa_acquire(ifa, &psref); 400 ifa_acquire(ifa, &psref); 523 ifa_release(ifa, &psref);
|
/src/sys/dist/pf/net/ |
pf_if.c | 128 struct psref psref; local in function:pfi_initialize 129 if_acquire(ifp, &psref); 136 if_release(ifp, &psref); 161 struct psref psref; local in function:pfi_destroy 162 if_acquire(ifp, &psref); 169 if_release(ifp, &psref);
|