Home
last modified time | relevance | path

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

/linux-6.12.1/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.h414 bool *refcounted) in __inet_lookup() argument
421 *refcounted = true; in __inet_lookup()
424 *refcounted = false; in __inet_lookup()
437 bool refcounted; in inet_lookup() local
440 dport, dif, 0, &refcounted); in inet_lookup()
442 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
451 bool *refcounted, inet_ehashfn_t *ehashfn) in inet_steal_sock() argument
456 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet_steal_sock()
482 WARN_ON_ONCE(*refcounted); in inet_steal_sock()
493 bool *refcounted) in __inet_lookup_skb() argument
[all …]
Drequest_sock.h99 bool *refcounted, bool *prefetched) in skb_steal_sock() argument
105 *refcounted = false; in skb_steal_sock()
115 *refcounted = false; in skb_steal_sock()
121 *refcounted = sk_is_refcounted(sk); in skb_steal_sock()
123 *refcounted = true; in skb_steal_sock()
Dnet_namespace.h327 bool refcounted, in __netns_tracker_alloc() argument
331 ref_tracker_alloc(refcounted ? &net->refcnt_tracker : in __netns_tracker_alloc()
345 bool refcounted) in __netns_tracker_free() argument
348 ref_tracker_free(refcounted ? &net->refcnt_tracker : in __netns_tracker_free()
Dsock.h1896 unsigned int trim_cap, bool refcounted);
/linux-6.12.1/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.c1750 bool refcounted; local
1785 &refcounted);
1826 refcounted = true;
1918 if (refcounted)
1947 if (refcounted)
1982 refcounted = false;
Dudp.c944 bool refcounted; in __udp6_lib_rcv() local
982 &refcounted, udp6_ehashfn); in __udp6_lib_rcv()
994 if (refcounted) in __udp6_lib_rcv()
1000 if (refcounted) in __udp6_lib_rcv()
/linux-6.12.1/net/dccp/
Dipv4.c801 bool refcounted; in dccp_v4_rcv() local
839 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
868 refcounted = true; in dccp_v4_rcv()
903 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv()
925 if (refcounted) in dccp_v4_rcv()
Dipv6.c703 bool refcounted; in dccp_v6_rcv() local
732 inet6_iif(skb), 0, &refcounted); in dccp_v6_rcv()
761 refcounted = true; in dccp_v6_rcv()
795 refcounted) ? -1 : 0; in dccp_v6_rcv()
817 if (refcounted) in dccp_v6_rcv()
/linux-6.12.1/net/mac80211/
Dutil.c435 bool refcounted, in __ieee80211_wake_queue() argument
448 if (!refcounted) { in __ieee80211_wake_queue()
481 bool refcounted) in ieee80211_wake_queue_by_reason() argument
487 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
501 bool refcounted) in __ieee80211_stop_queue() argument
510 if (!refcounted) in __ieee80211_stop_queue()
520 bool refcounted) in ieee80211_stop_queue_by_reason() argument
526 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
596 bool refcounted) in ieee80211_stop_queues_by_reason() argument
605 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
Dieee80211_i.h2418 bool refcounted);
2428 bool refcounted);
2431 bool refcounted);
2434 bool refcounted);
/linux-6.12.1/Documentation/mm/
Dpage_frags.rst7 fragments within that page are individually refcounted, in the page's
/linux-6.12.1/net/ipv4/
Dtcp_ipv4.c2185 bool refcounted; local
2221 th->dest, sdif, &refcounted);
2265 refcounted = true;
2358 if (refcounted)
2389 if (refcounted)
2419 refcounted = false;
Dudp.c2396 bool refcounted; in __udp4_lib_rcv() local
2426 &refcounted, udp_ehashfn); in __udp4_lib_rcv()
2438 if (refcounted) in __udp4_lib_rcv()
/linux-6.12.1/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-6.12.1/Documentation/core-api/
Dpin_user_pages.rst251 pages: the head page is refcounted once for each tail or head page in the huge
/linux-6.12.1/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-6.12.1/net/core/
Dsock.c547 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
581 if (refcounted) in __sk_receive_skb()
Dfilter.c6670 bool refcounted = false; in sk_lookup() local
6681 dif, sdif, &refcounted); in sk_lookup()
6695 dif, sdif, &refcounted); in sk_lookup()
6705 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/linux-6.12.1/Documentation/security/
Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/linux-6.12.1/Documentation/bpf/
Dkfuncs.rst206 refcounted object. The verifier will then ensure that the pointer to the object
Dverifier.rst141 Pointer to struct bpf_sock_ops, implicitly refcounted.
/linux-6.12.1/lib/
DKconfig.debug1740 goes completely against the principles of a refcounted object.