Home
last modified time | relevance | path

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

/Linux-v6.6/include/net/
Dinet6_hashtables.h93 bool *refcounted) in __inet6_lookup() argument
98 *refcounted = true; in __inet6_lookup()
101 *refcounted = false; in __inet6_lookup()
110 bool *refcounted, inet6_ehashfn_t *ehashfn) in inet6_steal_sock() argument
115 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet6_steal_sock()
141 WARN_ON_ONCE(*refcounted); in inet6_steal_sock()
151 bool *refcounted) in __inet6_lookup_skb() argument
158 refcounted, inet6_ehashfn); in __inet6_lookup_skb()
167 iif, sdif, refcounted); in __inet6_lookup_skb()
Dinet_hashtables.h419 bool *refcounted) in __inet_lookup() argument
426 *refcounted = true; in __inet_lookup()
429 *refcounted = false; in __inet_lookup()
442 bool refcounted; in inet_lookup() local
445 dport, dif, 0, &refcounted); in inet_lookup()
447 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
456 bool *refcounted, inet_ehashfn_t *ehashfn) in inet_steal_sock() argument
461 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet_steal_sock()
487 WARN_ON_ONCE(*refcounted); in inet_steal_sock()
498 bool *refcounted) in __inet_lookup_skb() argument
[all …]
Dnet_namespace.h329 bool refcounted, in __netns_tracker_alloc() argument
333 ref_tracker_alloc(refcounted ? &net->refcnt_tracker : in __netns_tracker_alloc()
347 bool refcounted) in __netns_tracker_free() argument
350 ref_tracker_free(refcounted ? &net->refcnt_tracker : in __netns_tracker_free()
Dsock.h1997 unsigned int trim_cap, bool refcounted);
2835 skb_steal_sock(struct sk_buff *skb, bool *refcounted, bool *prefetched) in skb_steal_sock() argument
2840 *refcounted = true; in skb_steal_sock()
2843 *refcounted = sk_is_refcounted(sk); in skb_steal_sock()
2849 *refcounted = false; in skb_steal_sock()
/Linux-v6.6/net/ipv6/
Dinet6_hashtables.c254 bool refcounted; in inet6_lookup() local
257 ntohs(dport), dif, 0, &refcounted); in inet6_lookup()
258 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
Dtcp_ipv6.c1594 bool refcounted; in tcp_v6_rcv() local
1629 &refcounted); in tcp_v6_rcv()
1671 refcounted = true; in tcp_v6_rcv()
1757 if (refcounted) in tcp_v6_rcv()
1786 if (refcounted) in tcp_v6_rcv()
1821 refcounted = false; in tcp_v6_rcv()
Dudp.c934 bool refcounted; in __udp6_lib_rcv() local
972 &refcounted, udp6_ehashfn); in __udp6_lib_rcv()
984 if (refcounted) in __udp6_lib_rcv()
990 if (refcounted) in __udp6_lib_rcv()
/Linux-v6.6/net/dccp/
Dipv4.c796 bool refcounted; in dccp_v4_rcv() local
834 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
863 refcounted = true; in dccp_v4_rcv()
898 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
920 if (refcounted) in dccp_v4_rcv()
Dipv6.c698 bool refcounted; in dccp_v6_rcv() local
727 inet6_iif(skb), 0, &refcounted); in dccp_v6_rcv()
756 refcounted = true; in dccp_v6_rcv()
790 refcounted) ? -1 : 0; in dccp_v6_rcv()
812 if (refcounted) in dccp_v6_rcv()
/Linux-v6.6/Documentation/mm/
Dpage_frags.rst7 fragments within that page are individually refcounted, in the page's
/Linux-v6.6/net/mac80211/
Dutil.c442 bool refcounted, in __ieee80211_wake_queue() argument
455 if (!refcounted) { in __ieee80211_wake_queue()
488 bool refcounted) in ieee80211_wake_queue_by_reason() argument
494 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
508 bool refcounted) in __ieee80211_stop_queue() argument
517 if (!refcounted) in __ieee80211_stop_queue()
527 bool refcounted) in ieee80211_stop_queue_by_reason() argument
533 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
603 bool refcounted) in ieee80211_stop_queues_by_reason() argument
612 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
Dieee80211_i.h2360 bool refcounted);
2370 bool refcounted);
2373 bool refcounted);
2376 bool refcounted);
/Linux-v6.6/net/ipv4/
Dtcp_ipv4.c1991 bool refcounted; in tcp_v4_rcv() local
2027 th->dest, sdif, &refcounted); in tcp_v4_rcv()
2072 refcounted = true; in tcp_v4_rcv()
2159 if (refcounted) in tcp_v4_rcv()
2190 if (refcounted) in tcp_v4_rcv()
2220 refcounted = false; in tcp_v4_rcv()
Dudp.c2367 bool refcounted; in __udp4_lib_rcv() local
2397 &refcounted, udp_ehashfn); in __udp4_lib_rcv()
2409 if (refcounted) in __udp4_lib_rcv()
/Linux-v6.6/Documentation/filesystems/
Dmount_api.rst191 structure is not refcounted.
467 filesystem contexts are not refcounted, so this causes unconditional
Dpath-lookup.txt225 Where ref-walk uses a stable, refcounted ``parent'' to walk the remaining
/Linux-v6.6/Documentation/core-api/
Dpin_user_pages.rst249 pages: the head page is refcounted once for each tail or head page in the huge
/Linux-v6.6/init/
DKconfig825 be refcounted in the [20..39]% bucket and will set the bucket clamp
828 that task will be refcounted in the same bucket of the first task and
831 (20% in the example above) when there are no more tasks refcounted in
/Linux-v6.6/net/core/
Dsock.c548 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
582 if (refcounted) in __sk_receive_skb()
Dfilter.c6512 bool refcounted = false; in sk_lookup() local
6523 dif, sdif, &refcounted); in sk_lookup()
6537 dif, sdif, &refcounted); in sk_lookup()
6547 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/Linux-v6.6/Documentation/security/
Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/Linux-v6.6/Documentation/bpf/
Dkfuncs.rst184 refcounted object. The verifier will then ensure that the pointer to the object
Dverifier.rst141 Pointer to struct bpf_sock_ops, implicitly refcounted.
/Linux-v6.6/lib/
DKconfig.debug1668 goes completely against the principles of a refcounted object.