Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/
Dinet6_hashtables.h68 bool *refcounted) in __inet6_lookup() argument
73 *refcounted = true; in __inet6_lookup()
76 *refcounted = false; in __inet6_lookup()
86 bool *refcounted) in __inet6_lookup_skb() argument
88 struct sock *sk = skb_steal_sock(skb, refcounted); in __inet6_lookup_skb()
96 iif, sdif, refcounted); in __inet6_lookup_skb()
Dinet_hashtables.h354 bool *refcounted) in __inet_lookup() argument
361 *refcounted = true; in __inet_lookup()
364 *refcounted = false; in __inet_lookup()
377 bool refcounted; in inet_lookup() local
380 dport, dif, 0, &refcounted); in inet_lookup()
382 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
393 bool *refcounted) in __inet_lookup_skb() argument
395 struct sock *sk = skb_steal_sock(skb, refcounted); in __inet_lookup_skb()
404 refcounted); in __inet_lookup_skb()
Dsock.h1856 unsigned int trim_cap, bool refcounted);
2675 skb_steal_sock(struct sk_buff *skb, bool *refcounted) in skb_steal_sock() argument
2680 *refcounted = true; in skb_steal_sock()
2682 *refcounted = sk_is_refcounted(sk); in skb_steal_sock()
2687 *refcounted = false; in skb_steal_sock()
/Linux-v5.15/net/ipv6/
Dinet6_hashtables.c236 bool refcounted; in inet6_lookup() local
239 ntohs(dport), dif, 0, &refcounted); in inet6_lookup()
240 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
Dtcp_ipv6.c1629 bool refcounted; in tcp_v6_rcv() local
1661 &refcounted); in tcp_v6_rcv()
1697 refcounted = true; in tcp_v6_rcv()
1772 if (refcounted) in tcp_v6_rcv()
1798 if (refcounted) in tcp_v6_rcv()
1832 refcounted = false; in tcp_v6_rcv()
Dudp.c917 bool refcounted; in __udp6_lib_rcv() local
954 sk = skb_steal_sock(skb, &refcounted); in __udp6_lib_rcv()
963 if (refcounted) in __udp6_lib_rcv()
969 if (refcounted) in __udp6_lib_rcv()
/Linux-v5.15/net/dccp/
Dipv4.c788 bool refcounted; in dccp_v4_rcv() local
826 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
855 refcounted = true; in dccp_v4_rcv()
890 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
912 if (refcounted) in dccp_v4_rcv()
Dipv6.c700 bool refcounted; in dccp_v6_rcv() local
729 inet6_iif(skb), 0, &refcounted); in dccp_v6_rcv()
758 refcounted = true; in dccp_v6_rcv()
791 refcounted) ? -1 : 0; in dccp_v6_rcv()
813 if (refcounted) in dccp_v6_rcv()
/Linux-v5.15/Documentation/vm/
Dpage_frags.rst9 fragments within that page are individually refcounted, in the page's
/Linux-v5.15/net/mac80211/
Dutil.c435 bool refcounted, in __ieee80211_wake_queue() argument
448 if (!refcounted) { in __ieee80211_wake_queue()
487 bool refcounted) in ieee80211_wake_queue_by_reason() argument
493 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
507 bool refcounted) in __ieee80211_stop_queue() argument
518 if (!refcounted) in __ieee80211_stop_queue()
554 bool refcounted) in ieee80211_stop_queue_by_reason() argument
560 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
630 bool refcounted) in ieee80211_stop_queues_by_reason() argument
639 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
Dieee80211_i.h2233 bool refcounted);
2243 bool refcounted);
2246 bool refcounted);
2249 bool refcounted);
/Linux-v5.15/net/ipv4/
Dtcp_ipv4.c1968 bool refcounted; in tcp_v4_rcv() local
2000 th->dest, sdif, &refcounted); in tcp_v4_rcv()
2039 refcounted = true; in tcp_v4_rcv()
2117 if (refcounted) in tcp_v4_rcv()
2145 if (refcounted) in tcp_v4_rcv()
2174 refcounted = false; in tcp_v4_rcv()
Dudp.c2402 bool refcounted; in __udp4_lib_rcv() local
2428 sk = skb_steal_sock(skb, &refcounted); in __udp4_lib_rcv()
2437 if (refcounted) in __udp4_lib_rcv()
/Linux-v5.15/Documentation/filesystems/
Dmount_api.rst192 structure is not refcounted.
468 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-v5.15/Documentation/core-api/
Dpin_user_pages.rst244 pages: the head page is refcounted once for each tail or head page in the huge
/Linux-v5.15/net/core/
Dsock.c505 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
539 if (refcounted) in __sk_receive_skb()
Dfilter.c6110 bool refcounted = false; in sk_lookup() local
6121 dif, sdif, &refcounted); in sk_lookup()
6135 dif, sdif, &refcounted); in sk_lookup()
6145 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/Linux-v5.15/Documentation/security/
Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/Linux-v5.15/init/
DKconfig848 be refcounted in the [20..39]% bucket and will set the bucket clamp
851 that task will be refcounted in the same bucket of the first task and
854 (20% in the example above) when there are no more tasks refcounted in
/Linux-v5.15/Documentation/networking/
Dfilter.rst1245 Pointer to struct bpf_sock_ops, implicitly refcounted.
/Linux-v5.15/lib/
DKconfig.debug1590 goes completely against the principles of a refcounted object.