Home
last modified time | relevance | path

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

/linux-6.1.9/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.h398 bool *refcounted) in __inet_lookup() argument
405 *refcounted = true; in __inet_lookup()
408 *refcounted = false; in __inet_lookup()
421 bool refcounted; in inet_lookup() local
424 dport, dif, 0, &refcounted); in inet_lookup()
426 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
437 bool *refcounted) in __inet_lookup_skb() argument
439 struct sock *sk = skb_steal_sock(skb, refcounted); in __inet_lookup_skb()
448 refcounted); in __inet_lookup_skb()
Dsock.h1995 unsigned int trim_cap, bool refcounted);
2819 skb_steal_sock(struct sk_buff *skb, bool *refcounted) in skb_steal_sock() argument
2824 *refcounted = true; in skb_steal_sock()
2826 *refcounted = sk_is_refcounted(sk); in skb_steal_sock()
2831 *refcounted = false; in skb_steal_sock()
/linux-6.1.9/net/ipv6/
Dinet6_hashtables.c233 bool refcounted; in inet6_lookup() local
236 ntohs(dport), dif, 0, &refcounted); in inet6_lookup()
237 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
Dtcp_ipv6.c1600 bool refcounted; in tcp_v6_rcv() local
1635 &refcounted); in tcp_v6_rcv()
1674 refcounted = true; in tcp_v6_rcv()
1756 if (refcounted) in tcp_v6_rcv()
1785 if (refcounted) in tcp_v6_rcv()
1820 refcounted = false; in tcp_v6_rcv()
Dudp.c948 bool refcounted; in __udp6_lib_rcv() local
985 sk = skb_steal_sock(skb, &refcounted); in __udp6_lib_rcv()
994 if (refcounted) in __udp6_lib_rcv()
1000 if (refcounted) in __udp6_lib_rcv()
/linux-6.1.9/net/dccp/
Dipv4.c795 bool refcounted; in dccp_v4_rcv() local
833 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
862 refcounted = true; in dccp_v4_rcv()
897 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
919 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-6.1.9/Documentation/mm/
Dpage_frags.rst9 fragments within that page are individually refcounted, in the page's
/linux-6.1.9/net/mac80211/
Dutil.c436 bool refcounted, in __ieee80211_wake_queue() argument
449 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
519 if (!refcounted) in __ieee80211_stop_queue()
549 bool refcounted) in ieee80211_stop_queue_by_reason() argument
555 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
625 bool refcounted) in ieee80211_stop_queues_by_reason() argument
634 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
Dieee80211_i.h2275 bool refcounted);
2285 bool refcounted);
2288 bool refcounted);
2291 bool refcounted);
/linux-6.1.9/Documentation/bpf/
Dkfuncs.rst104 refcounted object. The verifier will then ensure that the pointer to the object
144 It can be used to enforce that a pointer to a refcounted object acquired from a
Dverifier.rst141 Pointer to struct bpf_sock_ops, implicitly refcounted.
/linux-6.1.9/net/ipv4/
Dtcp_ipv4.c1932 bool refcounted; in tcp_v4_rcv() local
1968 th->dest, sdif, &refcounted); in tcp_v4_rcv()
2013 refcounted = true; in tcp_v4_rcv()
2099 if (refcounted) in tcp_v4_rcv()
2130 if (refcounted) in tcp_v4_rcv()
2160 refcounted = false; in tcp_v4_rcv()
Dudp.c2417 bool refcounted; in __udp4_lib_rcv() local
2446 sk = skb_steal_sock(skb, &refcounted); in __udp4_lib_rcv()
2455 if (refcounted) in __udp4_lib_rcv()
/linux-6.1.9/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-6.1.9/Documentation/core-api/
Dpin_user_pages.rst244 pages: the head page is refcounted once for each tail or head page in the huge
/linux-6.1.9/net/core/
Dsock.c542 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
576 if (refcounted) in __sk_receive_skb()
Dfilter.c6429 bool refcounted = false; in sk_lookup() local
6440 dif, sdif, &refcounted); in sk_lookup()
6454 dif, sdif, &refcounted); in sk_lookup()
6464 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/linux-6.1.9/init/
DKconfig850 be refcounted in the [20..39]% bucket and will set the bucket clamp
853 that task will be refcounted in the same bucket of the first task and
856 (20% in the example above) when there are no more tasks refcounted in
/linux-6.1.9/Documentation/security/
Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/linux-6.1.9/lib/
DKconfig.debug1591 goes completely against the principles of a refcounted object.