Home
last modified time | relevance | path

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

/Linux-v5.10/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.h348 bool *refcounted) in __inet_lookup() argument
355 *refcounted = true; in __inet_lookup()
358 *refcounted = false; in __inet_lookup()
371 bool refcounted; in inet_lookup() local
374 dport, dif, 0, &refcounted); in inet_lookup()
376 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
387 bool *refcounted) in __inet_lookup_skb() argument
389 struct sock *sk = skb_steal_sock(skb, refcounted); in __inet_lookup_skb()
398 refcounted); in __inet_lookup_skb()
Dsock.h1787 unsigned int trim_cap, bool refcounted);
2563 skb_steal_sock(struct sk_buff *skb, bool *refcounted) in skb_steal_sock() argument
2568 *refcounted = true; in skb_steal_sock()
2570 *refcounted = sk_is_refcounted(sk); in skb_steal_sock()
2575 *refcounted = false; in skb_steal_sock()
/Linux-v5.10/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.c1585 bool refcounted; in tcp_v6_rcv() local
1617 &refcounted); in tcp_v6_rcv()
1645 refcounted = true; in tcp_v6_rcv()
1720 if (refcounted) in tcp_v6_rcv()
1745 if (refcounted) in tcp_v6_rcv()
1779 refcounted = false; in tcp_v6_rcv()
Dudp.c901 bool refcounted; in __udp6_lib_rcv() local
938 sk = skb_steal_sock(skb, &refcounted); in __udp6_lib_rcv()
947 if (refcounted) in __udp6_lib_rcv()
953 if (refcounted) in __udp6_lib_rcv()
/Linux-v5.10/net/dccp/
Dipv4.c778 bool refcounted; in dccp_v4_rcv() local
816 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
845 refcounted = true; in dccp_v4_rcv()
880 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
902 if (refcounted) in dccp_v4_rcv()
Dipv6.c685 bool refcounted; in dccp_v6_rcv() local
714 inet6_iif(skb), 0, &refcounted); in dccp_v6_rcv()
743 refcounted = true; in dccp_v6_rcv()
776 refcounted) ? -1 : 0; in dccp_v6_rcv()
798 if (refcounted) in dccp_v6_rcv()
/Linux-v5.10/Documentation/vm/
Dpage_frags.rst9 fragments within that page are individually refcounted, in the page's
/Linux-v5.10/net/mac80211/
Dutil.c434 bool refcounted, in __ieee80211_wake_queue() argument
447 if (!refcounted) { in __ieee80211_wake_queue()
486 bool refcounted) in ieee80211_wake_queue_by_reason() argument
492 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
506 bool refcounted) in __ieee80211_stop_queue() argument
517 if (!refcounted) in __ieee80211_stop_queue()
553 bool refcounted) in ieee80211_stop_queue_by_reason() argument
559 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
629 bool refcounted) in ieee80211_stop_queues_by_reason() argument
638 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
Dieee80211_i.h2072 bool refcounted);
2082 bool refcounted);
2085 bool refcounted);
2088 bool refcounted);
/Linux-v5.10/net/ipv4/
Dtcp_ipv4.c1923 bool refcounted; in tcp_v4_rcv() local
1955 th->dest, sdif, &refcounted); in tcp_v4_rcv()
1986 refcounted = true; in tcp_v4_rcv()
2064 if (refcounted) in tcp_v4_rcv()
2091 if (refcounted) in tcp_v4_rcv()
2120 refcounted = false; in tcp_v4_rcv()
Dudp.c2348 bool refcounted; in __udp4_lib_rcv() local
2374 sk = skb_steal_sock(skb, &refcounted); in __udp4_lib_rcv()
2383 if (refcounted) in __udp4_lib_rcv()
/Linux-v5.10/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.10/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.10/net/core/
Dsock.c486 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
520 if (refcounted) in __sk_receive_skb()
Dfilter.c5883 bool refcounted = false; in sk_lookup() local
5894 dif, sdif, &refcounted); in sk_lookup()
5908 dif, sdif, &refcounted); in sk_lookup()
5918 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/Linux-v5.10/Documentation/security/
Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/Linux-v5.10/init/
DKconfig809 be refcounted in the [20..39]% bucket and will set the bucket clamp
812 that task will be refcounted in the same bucket of the first task and
815 (20% in the example above) when there are no more tasks refcounted in
/Linux-v5.10/Documentation/networking/
Dfilter.rst1195 Pointer to struct bpf_sock_ops, implicitly refcounted.
/Linux-v5.10/lib/
DKconfig.debug1460 goes completely against the principles of a refcounted object.