Home
last modified time | relevance | path

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

/linux/include/net/
H A 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()
H A 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 …]
H A 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()
H A Dnet_namespace.h350 bool refcounted, in __netns_tracker_alloc() argument
354 ref_tracker_alloc(refcounted ? &net->refcnt_tracker : in __netns_tracker_alloc()
368 bool refcounted) in __netns_tracker_free() argument
371 ref_tracker_free(refcounted ? &net->refcnt_tracker : in __netns_tracker_free()
H A Dsock.h1922 unsigned int trim_cap, bool refcounted);
/linux/net/ipv6/
H A 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()
H A Dtcp_ipv6.c1753 bool refcounted; local
1788 &refcounted);
1829 refcounted = true;
1921 if (refcounted)
1950 if (refcounted)
1985 refcounted = false;
H A Dudp.c1078 bool refcounted; in __udp6_lib_rcv() local
1116 &refcounted, udp6_ehashfn); in __udp6_lib_rcv()
1128 if (refcounted) in __udp6_lib_rcv()
1134 if (refcounted) in __udp6_lib_rcv()
/linux/net/dccp/
H A 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/net/mac80211/
H A Dutil.c435 bool refcounted, in __ieee80211_wake_queue() argument
446 if (!refcounted) { in __ieee80211_wake_queue()
482 bool refcounted) in ieee80211_wake_queue_by_reason() argument
488 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
502 bool refcounted) in __ieee80211_stop_queue() argument
509 if (!refcounted) in __ieee80211_stop_queue()
522 bool refcounted) in ieee80211_stop_queue_by_reason() argument
528 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
598 bool refcounted) in ieee80211_stop_queues_by_reason() argument
607 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
H A Dieee80211_i.h2432 bool refcounted);
2436 bool refcounted);
2439 bool refcounted);
2442 bool refcounted);
/linux/Documentation/mm/
H A Dpage_frags.rst7 fragments within that page are individually refcounted, in the page's
/linux/net/ipv4/
H A Dtcp_ipv4.c2188 bool refcounted; local
2224 th->dest, sdif, &refcounted);
2268 refcounted = true;
2361 if (refcounted)
2392 if (refcounted)
2422 refcounted = false;
H A Dudp.c2641 bool refcounted; in __udp4_lib_rcv() local
2671 &refcounted, udp_ehashfn); in __udp4_lib_rcv()
2683 if (refcounted) in __udp4_lib_rcv()
/linux/Documentation/core-api/
H A Dpin_user_pages.rst251 pages: the head page is refcounted once for each tail or head page in the huge
/linux/init/
H A DKconfig860 be refcounted in the [20..39]% bucket and will set the bucket clamp
863 that task will be refcounted in the same bucket of the first task and
866 (20% in the example above) when there are no more tasks refcounted in
/linux/net/core/
H A Dsock.c552 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
586 if (refcounted) in __sk_receive_skb()
H A Dfilter.c6686 bool refcounted = false; in sk_lookup() local
6697 dif, sdif, &refcounted); in sk_lookup()
6711 dif, sdif, &refcounted); in sk_lookup()
6721 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/linux/Documentation/security/
H A Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/linux/Documentation/bpf/
H A Dkfuncs.rst206 refcounted object. The verifier will then ensure that the pointer to the object
H A Dverifier.rst141 Pointer to struct bpf_sock_ops, implicitly refcounted.
/linux/lib/
H A DKconfig.debug1720 goes completely against the principles of a refcounted object.