| /linux/include/net/ |
| H A D | inet6_hashtables.h | 92 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 D | inet_hashtables.h | 413 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 D | net_namespace.h | 366 bool refcounted, in __netns_tracker_alloc() argument 370 ref_tracker_alloc(refcounted ? &net->refcnt_tracker : in __netns_tracker_alloc() 384 bool refcounted) in __netns_tracker_free() argument 387 ref_tracker_free(refcounted ? &net->refcnt_tracker : in __netns_tracker_free()
|
| H A D | sock.h | 2028 unsigned int trim_cap, bool refcounted);
|
| /linux/net/netfilter/ |
| H A D | nf_conncount.c | 136 bool *refcounted) in get_ct_or_tuple_from_skb() argument 163 *refcounted = true; in get_ct_or_tuple_from_skb() 181 bool refcounted = false; in __nf_conncount_add() local 184 if (!get_ct_or_tuple_from_skb(net, skb, l3num, &ct, &tuple, &zone, &refcounted)) in __nf_conncount_add() 274 if (refcounted) in __nf_conncount_add() 414 bool do_gc = true, refcounted = false; in insert_tree() local 463 if (get_ct_or_tuple_from_skb(net, skb, l3num, &ct, &tuple, &zone, &refcounted)) { in insert_tree() 492 if (refcounted) in insert_tree()
|
| /linux/net/ipv6/ |
| H A D | inet6_hashtables.c | 290 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 D | tcp_ipv6.c | 1741 bool refcounted; local 1775 &refcounted); 1816 refcounted = true; 1913 if (refcounted) 1942 if (refcounted) 1978 refcounted = false;
|
| H A D | udp.c | 1089 bool refcounted; in udpv6_rcv() local 1124 &refcounted, udp6_ehashfn); in udpv6_rcv() 1136 if (refcounted) in udpv6_rcv() 1142 if (refcounted) in udpv6_rcv()
|
| /linux/net/dccp/ |
| H A D | ipv4.c | |
| H A D | ipv6.c | |
| /linux/Documentation/mm/ |
| H A D | page_frags.rst | 7 fragments within that page are individually refcounted, in the page's
|
| /linux/net/mac80211/ |
| H A D | util.c | 449 bool refcounted, in __ieee80211_wake_queue() argument 460 if (!refcounted) { in __ieee80211_wake_queue() 496 bool refcounted) in ieee80211_wake_queue_by_reason() argument 502 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason() 516 bool refcounted) in __ieee80211_stop_queue() argument 523 if (!refcounted) in __ieee80211_stop_queue() 536 bool refcounted) in ieee80211_stop_queue_by_reason() argument 542 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason() 612 bool refcounted) in ieee80211_stop_queues_by_reason() argument 621 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason() [all …]
|
| H A D | ieee80211_i.h | 2576 bool refcounted); 2580 bool refcounted); 2583 bool refcounted); 2586 bool refcounted);
|
| /linux/net/ipv4/ |
| H A D | tcp_ipv4.c | 2080 bool refcounted; local 2115 th->dest, sdif, &refcounted); 2159 refcounted = true; 2257 if (refcounted) 2288 if (refcounted) 2319 refcounted = false;
|
| H A D | udp.c | 2642 bool refcounted; in udp_rcv() local 2675 &refcounted, udp_ehashfn); in udp_rcv() 2687 if (refcounted) in udp_rcv()
|
| /linux/Documentation/core-api/ |
| H A D | pin_user_pages.rst | 251 pages: the head page is refcounted once for each tail or head page in the huge
|
| /linux/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 302 info->refcounted = true; in prepare_arg_info()
|
| H A D | verifier.c | 13068 verbose(env, "%s can only take non-owning or refcounted bpf_rb_node pointer\n", func_name); in check_kfunc_args() 13271 "the kfunc expects a pointer to a BPF-managed refcounted object, but %s is %s", in check_kfunc_args() 14001 /* In case of release function, we get register number of refcounted in check_kfunc_call() 19628 ret = aux->ctx_arg_info[i].refcounted ? acquire_reference(env, 0, 0) : 0; in do_check_common() 19870 if (info->refcounted) in check_struct_ops_btf_id() 19886 /* Tail call is not allowed for programs with refcounted arguments since we in check_struct_ops_btf_id() 19887 * cannot guarantee that valid refcounted kptrs will be passed to the callee. in check_struct_ops_btf_id()
|
| /linux/net/core/ |
| H A D | sock.c | 546 const int nested, unsigned int trim_cap, bool refcounted) in __sk_receive_skb() argument 588 if (refcounted) in __sk_receive_skb()
|
| H A D | filter.c | 7170 bool refcounted = false; in sk_lookup() local 7181 dif, sdif, &refcounted); in sk_lookup() 7195 dif, sdif, &refcounted); in sk_lookup() 7203 if (unlikely(sk && !refcounted && !sock_flag(sk, SOCK_RCU_FREE))) { in sk_lookup()
|
| /linux/Documentation/bpf/ |
| H A D | kfuncs.rst | 368 refcounted object. The verifier will then ensure that the pointer to the object
|
| /linux/include/linux/ |
| H A D | bpf.h | 1724 bool refcounted; 1688 bool refcounted; global() member
|
| /linux/lib/ |
| H A D | Kconfig.debug | 1755 goes completely against the principles of a refcounted object.
|