HomeSort by: relevance | last modified time | path
    Searched refs:psref (Results 1 - 25 of 89) sorted by relevancy

1 2 3 4

  /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...]
userret.h 38 #include <sys/psref.h>
  /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/net/
if_gif.h 44 #include <sys/psref.h>
98 gif_getref_variant(struct gif_softc *sc, struct psref *psref)
106 psref_acquire(psref, &var->gv_psref, gv_psref_class);
113 gif_putref_variant(struct gif_variant *var, struct psref *psref)
117 psref_release(psref, &var->gv_psref, gv_psref_class);
if_l2tp.h 40 #include <sys/psref.h>
128 l2tp_getref_variant(struct l2tp_softc *sc, struct psref *psref)
139 psref_acquire(psref, &var->lv_psref, lv_psref_class);
146 l2tp_putref_variant(struct l2tp_variant *var, struct psref *psref)
151 psref_release(psref, &var->lv_psref, lv_psref_class);
168 struct l2tp_variant *l2tp_lookup_session_ref(uint32_t, struct 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...]
if_vlan.c 103 #include <sys/psref.h>
217 vlan_getref_linkmib(struct ifvlan *, struct psref *);
218 static void vlan_putref_linkmib(struct ifvlan_linkmib *, struct psref *);
222 struct psref *);
418 struct psref psref; local in function:vlan_config
434 checkmib = vlan_lookup_tag_psref(p, vid, &psref);
436 vlan_putref_linkmib(checkmib, &psref);
729 vlan_getref_linkmib(struct ifvlan *sc, struct psref *psref)
817 struct psref psref; local in function:vlan_set_promisc
858 struct psref psref; local in function:vlan_ioctl
1234 struct psref psref; local in function:vlan_start
1348 struct psref psref; local in function:vlan_transmit
1455 struct psref psref; local in function:vlan_input
1522 struct psref psref; local in function:vlan_link_state_changed
    [all...]
if_ipsec.h 39 #include <sys/psref.h>
162 if_ipsec_getref_variant(struct ipsec_softc *sc, struct psref *psref)
170 psref_acquire(psref, &var->iv_psref, iv_psref_class);
177 if_ipsec_putref_variant(struct ipsec_variant *var, struct psref *psref)
181 psref_release(psref, &var->iv_psref, iv_psref_class);
if_gif.c 63 #include <sys/psref.h>
456 struct psref psref; local in function:gif_encapcheck
466 var = gif_getref_variant(sc, &psref);
515 gif_putref_variant(var, &psref);
537 struct psref psref; local in function:gif_output
553 var = gif_getref_variant(sc, &psref);
579 gif_putref_variant(var, &psref);
591 struct psref psref local in function:gif_start
636 struct psref psref; local in function:gif_transmit
743 struct psref psref; local in function:gif_ioctl
1109 struct psref psref; local in function:gif_set_tunnel
    [all...]
if_l2tp.c 412 struct psref psref; local in function:l2tp_output
415 var = l2tp_getref_variant(sc, &psref);
449 l2tp_putref_variant(var, &psref);
546 struct psref psref; local in function:l2tpintr_softint
549 var = l2tp_getref_variant(sc, &psref);
554 l2tp_putref_variant(var, &psref);
646 struct psref psref; local in function:l2tp_start
668 struct psref psref; local in function:l2tp_transmit
706 struct psref psref; local in function:l2tp_ioctl
    [all...]
if_bridge.c 277 struct psref *);
280 struct psref *);
282 struct psref *);
287 struct psref *);
655 bridge_lookup_member(struct bridge_softc *sc, const char *name, struct psref *psref)
669 bridge_acquire_member(sc, bif, psref);
683 struct psref *psref)
692 psref_acquire(psref, &bif->bif_psref
833 struct psref psref; local in function:bridge_ioctl_add
976 struct psref psref; local in function:bridge_ioctl_gifflags
998 struct psref psref; local in function:bridge_ioctl_sifflags
1185 struct psref psref; local in function:bridge_ioctl_saddr
1340 struct psref psref; local in function:bridge_ioctl_sifprio
1397 struct psref psref; local in function:bridge_ioctl_sifcost
1694 struct psref psref; local in function:bridge_output
1819 struct psref psref; local in function:bridge_forward
2003 struct psref psref; local in function:bridge_input
2135 struct psref psref; local in function:bridge_broadcast
    [all...]
if_ipsec.c 51 #include <sys/psref.h>
538 struct psref psref; local in function:if_ipsec_encap_func
547 var = if_ipsec_getref_variant(sc, &psref);
599 if_ipsec_putref_variant(var, &psref);
620 struct psref psref; local in function:if_ipsec_output
640 var = if_ipsec_getref_variant(sc, &psref);
674 if_ipsec_putref_variant(var, &psref);
802 struct psref psref local in function:if_ipsec_ioctl
1217 struct psref psref; local in function:if_ipsec_set_tunnel
1501 struct psref psref; local in function:if_ipsec_share_sp
1550 struct psref psref; local in function:if_ipsec_unshare_sp
    [all...]
if.c 596 struct psref psref; local in function:if_activate_sadl
597 ifa_acquire(ifa, &psref);
603 ifa_release(ifa, &psref);
1169 struct psref psref; local in function:if_attachdomain
1170 psref_acquire(&psref, &ifp->if_psref, ifnet_psref_class);
1174 psref_release(&psref, &ifp->if_psref, ifnet_psref_class);
1430 * so we don't need to take a lock or psref. Avoid using
1577 struct psref psref local in function:if_clone_create
1603 struct psref psref; local in function:if_clone_destroy
2197 struct psref psref; local in function:link_rtrequest
2540 struct psref psref; local in function:_if_down
3463 struct psref psref; local in function:doifioctl
3661 struct psref psref; local in function:ifconf
4063 struct psref psref; local in function:if_sdl_sysctl
    [all...]
  /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_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...]
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_var.h 135 ia6_acquire(struct in6_ifaddr *ia, struct psref *psref)
139 ifa_acquire(&ia->ia_ifa, psref);
143 ia6_release(struct in6_ifaddr *ia, struct psref *psref)
148 ifa_release(&ia->ia_ifa, psref);
588 in6ifa_ifpforlinklocal_psref(const struct ifnet *, int, struct psref *);
593 struct psref *);
598 in6ifa_first_lladdr_psref(const struct ifnet *, struct psref *);
  /src/sys/netinet/
in_var.h 128 ia4_acquire(struct in_ifaddr *ia, struct psref *psref)
132 ifa_acquire(&ia->ia_ifa, psref);
136 ia4_release(struct in_ifaddr *ia, struct psref *psref)
141 ifa_release(&ia->ia_ifa, psref);
274 in_get_ia_psref(struct in_addr addr, struct psref *psref)
282 ia4_acquire(ia, psref);
307 in_get_ia_on_iface_psref(struct in_addr addr, struct ifnet *ifp, struct psref *psref
    [all...]
ip_encap.c 80 #include <sys/psref.h>
112 struct psref *);
116 struct psref *);
195 struct psref *match_psref)
228 struct psref elem_psref;
237 psref_acquire(&elem_psref, &ep->psref,
248 psref_release(&elem_psref, &ep->psref,
256 psref_release(match_psref, &match->psref,
265 psref_release(&elem_psref, &ep->psref,
271 struct psref elem_psref
    [all...]
ip_encap.h 39 #include <sys/psref.h>
97 struct psref_target psref; member in struct:encaptab
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);
  /src/sys/net/lagg/
if_laggproto.c 112 struct lagg_proto_port *, struct psref *);
221 struct lagg_proto_port *pport, struct psref *psref)
247 lagg_port_getref(lp, psref);
479 struct psref psref; local in function:lagg_fail_transmit
481 lp = lagg_link_active(psc, NULL, &psref);
490 lagg_port_putref(lp, &psref);
501 struct psref psref; local in function:lagg_fail_input
534 struct psref psref; local in function:lagg_fail_portstat
593 struct psref psref; local in function:lagg_fail_linkspeed_work
698 struct psref psref; local in function:lagg_lb_transmit
    [all...]
if_lagg.c 42 #include <sys/psref.h>
184 lagg_variant_getref(struct lagg_softc *, struct psref *);
185 static void lagg_variant_putref(struct lagg_variant *, struct psref *);
555 struct psref psref; local in function:lagg_config
578 ifp_port = if_get(rp->rp_portname, &psref);
585 if_put(ifp_port, &psref);
593 ifp_port = if_get(rp->rp_portname, &psref);
600 if_put(ifp_port, &psref);
604 ifp_port = if_get(rp->rp_portname, &psref);
1012 struct psref psref; local in function:lagg_tx_common
1094 struct psref psref; local in function:lagg_proto_input
1124 struct psref psref; local in function:lagg_input_ethernet
1441 struct psref psref; local in function:lagg_proto_updown
1487 struct psref psref; local in function:lagg_proto_portctrl
1573 struct psref psref; local in function:lagg_proto_linkstate
1623 struct psref psref; local in function:lagg_proto_ioctl
2599 struct psref psref; local in function:lagg_get_stats
2826 struct psref psref; local in function:lagg_linkstate_changed
    [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);
  /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);

Completed in 23 milliseconds

1 2 3 4