Home
last modified time | relevance | path

Searched refs:wmem_alloc_delta (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dip_output.c991 unsigned int wmem_alloc_delta = 0; in __ip_append_data() local
1114 if (refcount_read(&sk->sk_wmem_alloc) + wmem_alloc_delta <= in __ip_append_data()
1179 wmem_alloc_delta += skb->truesize; in __ip_append_data()
1228 wmem_alloc_delta += copy; in __ip_append_data()
1238 if (wmem_alloc_delta) in __ip_append_data()
1239 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip_append_data()
1249 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip_append_data()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_output.c1479 unsigned int wmem_alloc_delta = 0; in __ip6_append_data() local
1665 if (refcount_read(&sk->sk_wmem_alloc) + wmem_alloc_delta <= in __ip6_append_data()
1731 wmem_alloc_delta += skb->truesize; in __ip6_append_data()
1780 wmem_alloc_delta += copy; in __ip6_append_data()
1790 if (wmem_alloc_delta) in __ip6_append_data()
1791 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip6_append_data()
1801 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip6_append_data()