Home
last modified time | relevance | path

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

/net/core/
Dsock.c1024 bool charged; in sock_reserve_memory() local
1036 charged = mem_cgroup_charge_skmem(sk->sk_memcg, pages, in sock_reserve_memory()
1038 if (!charged) in sock_reserve_memory()
3061 bool charged = true; in __sk_mem_raise_allocated() local
3067 !(charged = mem_cgroup_charge_skmem(sk->sk_memcg, amt, in __sk_mem_raise_allocated()
3124 if (memcg_charge && !charged) { in __sk_mem_raise_allocated()
3132 if (kind == SK_MEM_SEND || (kind == SK_MEM_RECV && charged)) in __sk_mem_raise_allocated()
3137 if (memcg_charge && charged) in __sk_mem_raise_allocated()