Home
last modified time | relevance | path

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

/linux/include/net/
H A Dinet6_hashtables.h92 bool *refcounted) in __inet6_lookup() argument
97 *refcounted = true; in __inet6_lookup()
100 *refcounted = false; in __inet6_lookup()
109 bool *refcounted, inet6_ehashfn_t *ehashfn) in inet6_steal_sock() argument
114 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet6_steal_sock()
140 WARN_ON_ONCE(*refcounted); in inet6_steal_sock()
149 bool *refcounted) in __inet6_lookup_skb() argument
156 refcounted, inet6_ehashfn); in __inet6_lookup_skb()
164 iif, sdif, refcounted); in __inet6_lookup_skb()
H A Dinet_hashtables.h413 bool *refcounted) in __inet_lookup() argument
420 *refcounted = true; in __inet_lookup()
423 *refcounted = false; in __inet_lookup()
435 bool refcounted; in inet_lookup() local
438 dport, dif, 0, &refcounted); in inet_lookup()
440 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
449 bool *refcounted, inet_ehashfn_t *ehashfn) in inet_steal_sock() argument
454 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet_steal_sock()
480 WARN_ON_ONCE(*refcounted); in inet_steal_sock()
490 bool *refcounted) in __inet_lookup_skb() argument
[all …]
H A Dnet_namespace.h363 bool refcounted, in __netns_tracker_alloc() argument
367 ref_tracker_alloc(refcounted ? &net->refcnt_tracker : in __netns_tracker_alloc()
381 bool refcounted) in __netns_tracker_free() argument
384 ref_tracker_free(refcounted ? &net->refcnt_tracker : in __netns_tracker_free()
H A Dsock.h2018 unsigned int trim_cap, bool refcounted);
/linux/net/netfilter/
H A Dnf_conncount.c132 bool *refcounted) in get_ct_or_tuple_from_skb() argument
157 *refcounted = true; in get_ct_or_tuple_from_skb()
175 bool refcounted = false; in __nf_conncount_add() local
178 if (!get_ct_or_tuple_from_skb(net, skb, l3num, &ct, &tuple, &zone, &refcounted)) in __nf_conncount_add()
268 if (refcounted) in __nf_conncount_add()
405 bool do_gc = true, refcounted = false; in insert_tree() local
454 if (get_ct_or_tuple_from_skb(net, skb, l3num, &ct, &tuple, &zone, &refcounted)) { in insert_tree()
481 if (refcounted) in insert_tree()
/linux/net/ipv6/
H A Dinet6_hashtables.c290 bool refcounted; in inet6_lookup() local
293 ntohs(dport), dif, 0, &refcounted); in inet6_lookup()
294 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
H A Dtcp_ipv6.c1723 bool refcounted; local
1757 &refcounted);
1798 refcounted = true;
1895 if (refcounted)
1924 if (refcounted)
1960 refcounted = false;
/linux/net/dccp/
H A Dipv4.c
H A Dipv6.c
/linux/Documentation/mm/
H A Dpage_frags.rst7 fragments within that page are individually refcounted, in the page's
/linux/net/mac80211/
H A Dutil.c446 bool refcounted, in __ieee80211_wake_queue() argument
457 if (!refcounted) { in __ieee80211_wake_queue()
493 bool refcounted) in ieee80211_wake_queue_by_reason() argument
499 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason()
513 bool refcounted) in __ieee80211_stop_queue() argument
520 if (!refcounted) in __ieee80211_stop_queue()
533 bool refcounted) in ieee80211_stop_queue_by_reason() argument
539 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
609 bool refcounted) in ieee80211_stop_queues_by_reason() argument
618 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
/linux/net/ipv4/
H A Dtcp_ipv4.c2078 bool refcounted; local
2113 th->dest, sdif, &refcounted);
2157 refcounted = true;
2255 if (refcounted)
2286 if (refcounted)
2317 refcounted = false;
H A Dudp.c2588 bool refcounted; in udp_rcv() local
2621 &refcounted, udp_ehashfn); in udp_rcv()
2633 if (refcounted) in udp_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/Documentation/security/
H A Dcredentials.rst251 (groups, keys, LSM security) a refcounted structure of type 'struct cred'.
/linux/init/
H A DKconfig915 be refcounted in the [20..39]% bucket and will set the bucket clamp
918 that task will be refcounted in the same bucket of the first task and
921 (20% in the example above) when there are no more tasks refcounted in
/linux/net/core/
H A Dfilter.c6911 bool refcounted = false; in sk_lookup() local
6922 dif, sdif, &refcounted); in sk_lookup()
6936 dif, sdif, &refcounted); in sk_lookup()
6944 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
/linux/include/linux/
H A Dbpf.h1618 bool refcounted; member
/linux/kernel/bpf/
H A Dverifier.c18815 aux->ctx_arg_info[i].ref_obj_id = aux->ctx_arg_info[i].refcounted ? in do_check_common()
19025 if (st_ops_desc->arg_info[member_idx].info[i].refcounted) { in check_struct_ops_btf_id()
/linux/lib/
H A DKconfig.debug1798 goes completely against the principles of a refcounted object.