Home
last modified time | relevance | path

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

/net/ipv4/
Dip_output.c977 unsigned int wmem_alloc_delta = 0; in __ip_append_data() local
1096 if (refcount_read(&sk->sk_wmem_alloc) + wmem_alloc_delta <= in __ip_append_data()
1161 wmem_alloc_delta += skb->truesize; in __ip_append_data()
1210 wmem_alloc_delta += copy; in __ip_append_data()
1220 if (wmem_alloc_delta) in __ip_append_data()
1221 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip_append_data()
1231 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip_append_data()
/net/ipv6/
Dip6_output.c1337 unsigned int wmem_alloc_delta = 0; in __ip6_append_data() local
1516 if (refcount_read(&sk->sk_wmem_alloc) + wmem_alloc_delta <= in __ip6_append_data()
1582 wmem_alloc_delta += skb->truesize; in __ip6_append_data()
1631 wmem_alloc_delta += copy; in __ip6_append_data()
1641 if (wmem_alloc_delta) in __ip6_append_data()
1642 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip6_append_data()
1652 refcount_add(wmem_alloc_delta, &sk->sk_wmem_alloc); in __ip6_append_data()