Home
last modified time | relevance | path

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

/linux/include/net/
H A Dinet6_hashtables.h90 bool *refcounted) in __inet6_lookup() argument
95 *refcounted = true; in __inet6_lookup()
98 *refcounted = false; in __inet6_lookup()
107 bool *refcounted, inet6_ehashfn_t *ehashfn) in inet6_steal_sock() argument
112 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet6_steal_sock()
138 WARN_ON_ONCE(*refcounted); in inet6_steal_sock()
147 bool *refcounted) in __inet6_lookup_skb() argument
154 refcounted, inet6_ehashfn); in __inet6_lookup_skb()
162 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()
436 bool refcounted; in inet_lookup() local
439 dport, dif, 0, &refcounted); in inet_lookup()
441 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup()
450 bool *refcounted, inet_ehashfn_t *ehashfn) in inet_steal_sock() argument
455 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet_steal_sock()
481 WARN_ON_ONCE(*refcounted); in inet_steal_sock()
491 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.h1131 /* dont let skb dst not refcounted, we are going to leave rcu lock */ in __sk_add_backlog()
2015 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.c255 bool refcounted; in inet6_lookup() local
258 ntohs(dport), dif, 0, &refcounted); in inet6_lookup()
259 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
H A Dtcp_ipv6.c1705 bool refcounted; local
1739 &refcounted);
1780 refcounted = true;
1870 if (refcounted)
1899 if (refcounted)
1935 refcounted = false;
/linux/net/dccp/
H A Dipv4.c
H A Dipv6.c
/linux/net/mac80211/
H A Dutil.c434 bool refcounted, in __ieee80211_wake_queue() argument
445 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
508 if (!refcounted) in __ieee80211_stop_queue()
521 bool refcounted) in ieee80211_stop_queue_by_reason() argument
527 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason()
597 bool refcounted) in ieee80211_stop_queues_by_reason() argument
606 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason()
[all …]
H A Dieee80211_i.h2508 bool refcounted);
2512 bool refcounted);
2515 bool refcounted);
2518 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.c2157 bool refcounted; local
2192 th->dest, sdif, &refcounted);
2236 refcounted = true;
2327 if (refcounted)
2358 if (refcounted)
2389 refcounted = false;
H A Dudp.c2701 bool refcounted; in __udp4_lib_rcv() local
2731 &refcounted, udp_ehashfn); in __udp4_lib_rcv()
2743 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/kernel/bpf/
H A Dbpf_struct_ops.c275 info->refcounted = true; in prepare_arg_info()
H A Dverifier.c24690 aux->ctx_arg_info[i].ref_obj_id = aux->ctx_arg_info[i].refcounted ? in do_check_common()
24900 if (st_ops_desc->arg_info[member_idx].info->refcounted) { in check_struct_ops_btf_id()
/linux/net/core/
H A Dsock.c553 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument
594 if (refcounted) in __sk_receive_skb()
H A Dfilter.c6877 bool refcounted = false; in sk_lookup() local
6888 dif, sdif, &refcounted); in sk_lookup()
6902 dif, sdif, &refcounted); in sk_lookup()
6912 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/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/include/linux/
H A Dbpf.h1616 bool refcounted; member
/linux/lib/
H A DKconfig.debug1798 goes completely against the principles of a refcounted object.