/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
H A D | ninet_hashtables.h | 67 const int dif, bool *refcounted) in __ninet_lookup() 71 *refcounted = true; in __ninet_lookup() 74 *refcounted = false; in __ninet_lookup() 83 int iif, bool *refcounted) in __ninet_lookup_skb() 87 *refcounted = true; in __ninet_lookup_skb() 88 sk = skb_steal_sock(skb, refcounted); in __ninet_lookup_skb() 95 iif, refcounted); in __ninet_lookup_skb() 60 __ninet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct nip_addr *saddr, const __be16 sport, const struct nip_addr *daddr, const u16 hnum, const int dif, bool *refcounted) __ninet_lookup() argument 79 __ninet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, int iif, bool *refcounted) __ninet_lookup_skb() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | inet6_hashtables.h | 93 bool *refcounted) in __inet6_lookup() 98 *refcounted = true; in __inet6_lookup() 101 *refcounted = false; in __inet6_lookup() 110 bool *refcounted, inet6_ehashfn_t *ehashfn) in inet6_steal_sock() 115 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet6_steal_sock() 138 /* We've chosen a new reuseport sock which is never refcounted. This in inet6_steal_sock() 139 * implies that sk also isn't refcounted. in inet6_steal_sock() 141 WARN_ON_ONCE(*refcounted); in inet6_steal_sock() 151 bool *refcounted) in __inet6_lookup_skb() 158 refcounted, inet6_ehashf in __inet6_lookup_skb() 85 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument 107 inet6_steal_sock(struct net *net, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, bool *refcounted, inet6_ehashfn_t *ehashfn) inet6_steal_sock() argument 146 __inet6_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, int iif, int sdif, bool *refcounted) __inet6_lookup_skb() argument [all...] |
H A D | inet_hashtables.h | 419 bool *refcounted) in __inet_lookup() 426 *refcounted = true; in __inet_lookup() 429 *refcounted = false; in __inet_lookup() 442 bool refcounted; in inet_lookup() local 445 dport, dif, 0, &refcounted); in inet_lookup() 447 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup() 456 bool *refcounted, inet_ehashfn_t *ehashfn) in inet_steal_sock() 461 sk = skb_steal_sock(skb, refcounted, &prefetched); in inet_steal_sock() 484 /* We've chosen a new reuseport sock which is never refcounted. This in inet_steal_sock() 485 * implies that sk also isn't refcounted in inet_steal_sock() 413 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 453 inet_steal_sock(struct net *net, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, bool *refcounted, inet_ehashfn_t *ehashfn) inet_steal_sock() argument 492 __inet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, const int sdif, bool *refcounted) __inet_lookup_skb() argument [all...] |
H A D | net_namespace.h | 97 * refcounted against netns 329 bool refcounted, in __netns_tracker_alloc() 333 ref_tracker_alloc(refcounted ? &net->refcnt_tracker : in __netns_tracker_alloc() 347 bool refcounted) in __netns_tracker_free() 350 ref_tracker_free(refcounted ? &net->refcnt_tracker : in __netns_tracker_free() 327 __netns_tracker_alloc(struct net *net, netns_tracker *tracker, bool refcounted, gfp_t gfp) __netns_tracker_alloc() argument 345 __netns_tracker_free(struct net *net, netns_tracker *tracker, bool refcounted) __netns_tracker_free() argument
|
H A D | sock.h | 1067 /* dont let skb dst not refcounted, we are going to leave rcu lock */ in __sk_add_backlog() 1997 unsigned int trim_cap, bool refcounted); 2864 * @refcounted: is set to true if the socket is reference-counted 2868 skb_steal_sock(struct sk_buff *skb, bool *refcounted, bool *prefetched) in skb_steal_sock() argument 2873 *refcounted = true; in skb_steal_sock() 2876 *refcounted = sk_is_refcounted(sk); in skb_steal_sock() 2882 *refcounted = false; in skb_steal_sock()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | inet6_hashtables.h | 68 bool *refcounted) in __inet6_lookup() 73 *refcounted = true; in __inet6_lookup() 76 *refcounted = false; in __inet6_lookup() 86 bool *refcounted) in __inet6_lookup_skb() 88 struct sock *sk = skb_steal_sock(skb, refcounted); in __inet6_lookup_skb() 96 iif, sdif, refcounted); in __inet6_lookup_skb() 60 __inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif, bool *refcounted) __inet6_lookup() argument 81 __inet6_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, int iif, int sdif, bool *refcounted) __inet6_lookup_skb() argument
|
H A D | inet_hashtables.h | 332 bool *refcounted) in __inet_lookup() 339 *refcounted = true; in __inet_lookup() 342 *refcounted = false; in __inet_lookup() 355 bool refcounted; in inet_lookup() local 358 dport, dif, 0, &refcounted); in inet_lookup() 360 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet_lookup() 371 bool *refcounted) in __inet_lookup_skb() 373 struct sock *sk = skb_steal_sock(skb, refcounted); in __inet_lookup_skb() 382 refcounted); in __inet_lookup_skb() 326 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) __inet_lookup() argument 365 __inet_lookup_skb(struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be16 sport, const __be16 dport, const int sdif, bool *refcounted) __inet_lookup_skb() argument
|
H A D | sock.h | 996 /* dont let skb dst not refcounted, we are going to leave rcu lock */ in __sk_add_backlog() 1859 unsigned int trim_cap, bool refcounted); 2681 * @refcounted: is set to true if the socket is reference-counted 2684 skb_steal_sock(struct sk_buff *skb, bool *refcounted) in skb_steal_sock() argument 2689 *refcounted = true; in skb_steal_sock() 2691 *refcounted = sk_is_refcounted(sk); in skb_steal_sock() 2696 *refcounted = false; in skb_steal_sock()
|
/kernel/linux/linux-5.10/net/dccp/ |
H A D | ipv4.c | 780 bool refcounted; in dccp_v4_rcv() local 818 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv() 847 refcounted = true; in dccp_v4_rcv() 882 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv() 904 if (refcounted) in dccp_v4_rcv()
|
H A D | ipv6.c | 687 bool refcounted; in dccp_v6_rcv() local 716 inet6_iif(skb), 0, &refcounted); in dccp_v6_rcv() 745 refcounted = true; in dccp_v6_rcv() 778 refcounted) ? -1 : 0; in dccp_v6_rcv() 800 if (refcounted) in dccp_v6_rcv()
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | ipv4.c | 796 bool refcounted; in dccp_v4_rcv() local 834 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv() 863 refcounted = true; in dccp_v4_rcv() 898 return __sk_receive_skb(sk, skb, 1, dh->dccph_doff * 4, refcounted); in dccp_v4_rcv() 920 if (refcounted) in dccp_v4_rcv()
|
H A D | ipv6.c | 698 bool refcounted; in dccp_v6_rcv() local 727 inet6_iif(skb), 0, &refcounted); in dccp_v6_rcv() 756 refcounted = true; in dccp_v6_rcv() 790 refcounted) ? -1 : 0; in dccp_v6_rcv() 812 if (refcounted) in dccp_v6_rcv()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | inet6_hashtables.c | 236 bool refcounted; in inet6_lookup() local 239 ntohs(dport), dif, 0, &refcounted); in inet6_lookup() 240 if (sk && !refcounted && !refcount_inc_not_zero(&sk->sk_refcnt)) in inet6_lookup()
|
H A D | tcp_ipv6.c | 1612 bool refcounted; in tcp_v6_rcv() local 1644 &refcounted); in tcp_v6_rcv() 1672 refcounted = true; in tcp_v6_rcv() 1747 if (refcounted) in tcp_v6_rcv() 1772 if (refcounted) in tcp_v6_rcv() 1806 refcounted = false; in tcp_v6_rcv()
|
H A D | udp.c | 924 bool refcounted; in __udp6_lib_rcv() local 961 sk = skb_steal_sock(skb, &refcounted); in __udp6_lib_rcv() 970 if (refcounted) in __udp6_lib_rcv() 976 if (refcounted) in __udp6_lib_rcv()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | inet6_hashtables.c | 254 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 D | tcp_ipv6.c | 1594 bool refcounted; in tcp_v6_rcv() local 1629 &refcounted); in tcp_v6_rcv() 1671 refcounted = true; in tcp_v6_rcv() 1757 if (refcounted) in tcp_v6_rcv() 1786 if (refcounted) in tcp_v6_rcv() 1821 refcounted = false; in tcp_v6_rcv()
|
H A D | udp.c | 937 bool refcounted; in __udp6_lib_rcv() local 975 &refcounted, udp6_ehashfn); in __udp6_lib_rcv() 987 if (refcounted) in __udp6_lib_rcv() 993 if (refcounted) in __udp6_lib_rcv()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | util.c | 434 bool refcounted, in __ieee80211_wake_queue() 447 if (!refcounted) { in __ieee80211_wake_queue() 486 bool refcounted) in ieee80211_wake_queue_by_reason() 492 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason() 506 bool refcounted) in __ieee80211_stop_queue() 517 if (!refcounted) in __ieee80211_stop_queue() 553 bool refcounted) in ieee80211_stop_queue_by_reason() 559 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason() 629 bool refcounted) in ieee80211_stop_queues_by_reason() 638 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason() 432 __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted, unsigned long *flags) __ieee80211_wake_queue() argument 484 ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) ieee80211_wake_queue_by_reason() argument 504 __ieee80211_stop_queue(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) __ieee80211_stop_queue() argument 551 ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) ieee80211_stop_queue_by_reason() argument 626 ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, unsigned long queues, enum queue_stop_reason reason, bool refcounted) ieee80211_stop_queues_by_reason() argument 668 ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, unsigned long queues, enum queue_stop_reason reason, bool refcounted) ieee80211_wake_queues_by_reason() argument [all...] |
H A D | ieee80211_i.h | 2087 bool refcounted); 2097 bool refcounted); 2100 bool refcounted); 2103 bool refcounted);
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | tcp_nip.c | 1962 bool refcounted; in tcp_nip_rcv() local 1980 th->source, th->dest, dif, &refcounted); in tcp_nip_rcv() 1999 refcounted = true; in tcp_nip_rcv() 2053 if (refcounted) in tcp_nip_rcv() 2068 if (refcounted) in tcp_nip_rcv()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | util.c | 442 bool refcounted, in __ieee80211_wake_queue() 455 if (!refcounted) { in __ieee80211_wake_queue() 488 bool refcounted) in ieee80211_wake_queue_by_reason() 494 __ieee80211_wake_queue(hw, queue, reason, refcounted, &flags); in ieee80211_wake_queue_by_reason() 508 bool refcounted) in __ieee80211_stop_queue() 517 if (!refcounted) in __ieee80211_stop_queue() 527 bool refcounted) in ieee80211_stop_queue_by_reason() 533 __ieee80211_stop_queue(hw, queue, reason, refcounted); in ieee80211_stop_queue_by_reason() 603 bool refcounted) in ieee80211_stop_queues_by_reason() 612 __ieee80211_stop_queue(hw, i, reason, refcounted); in ieee80211_stop_queues_by_reason() 440 __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted, unsigned long *flags) __ieee80211_wake_queue() argument 486 ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) ieee80211_wake_queue_by_reason() argument 506 __ieee80211_stop_queue(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) __ieee80211_stop_queue() argument 525 ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) ieee80211_stop_queue_by_reason() argument 600 ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, unsigned long queues, enum queue_stop_reason reason, bool refcounted) ieee80211_stop_queues_by_reason() argument 642 ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, unsigned long queues, enum queue_stop_reason reason, bool refcounted) ieee80211_wake_queues_by_reason() argument [all...] |
H A D | ieee80211_i.h | 2361 bool refcounted); 2371 bool refcounted); 2374 bool refcounted); 2377 bool refcounted);
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_ipv4.c | 1959 bool refcounted; in tcp_v4_rcv() local 1991 th->dest, sdif, &refcounted); in tcp_v4_rcv() 2023 refcounted = true; in tcp_v4_rcv() 2102 if (refcounted) in tcp_v4_rcv() 2129 if (refcounted) in tcp_v4_rcv() 2158 refcounted = false; in tcp_v4_rcv()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_ipv4.c | 1991 bool refcounted; in tcp_v4_rcv() local 2027 th->dest, sdif, &refcounted); in tcp_v4_rcv() 2072 refcounted = true; in tcp_v4_rcv() 2159 if (refcounted) in tcp_v4_rcv() 2190 if (refcounted) in tcp_v4_rcv() 2220 refcounted = false; in tcp_v4_rcv()
|