Searched refs:sk_memcg (Results 1 – 6 of 6) sorted by relevance
1929 newsk->sk_memcg = NULL; in sk_clone_lock()2605 if (mem_cgroup_sockets_enabled && sk->sk_memcg && in __sk_mem_raise_allocated()2606 !(charged = mem_cgroup_charge_skmem(sk->sk_memcg, amt))) in __sk_mem_raise_allocated()2669 if (mem_cgroup_sockets_enabled && sk->sk_memcg) in __sk_mem_raise_allocated()2670 mem_cgroup_uncharge_skmem(sk->sk_memcg, amt); in __sk_mem_raise_allocated()2709 if (mem_cgroup_sockets_enabled && sk->sk_memcg) in __sk_mem_reduce_allocated()2710 mem_cgroup_uncharge_skmem(sk->sk_memcg, amount); in __sk_mem_reduce_allocated()
533 if (newsk->sk_memcg && amt) in inet_csk_accept()534 mem_cgroup_charge_skmem(newsk->sk_memcg, amt); in inet_csk_accept()
3389 if (mem_cgroup_sockets_enabled && sk->sk_memcg) in sk_forced_mem_schedule()3390 mem_cgroup_charge_skmem(sk->sk_memcg, amt); in sk_forced_mem_schedule()
512 struct mem_cgroup *sk_memcg; member1348 if (mem_cgroup_sockets_enabled && sk->sk_memcg && in sk_under_memory_pressure()1349 mem_cgroup_under_socket_pressure(sk->sk_memcg)) in sk_under_memory_pressure()
264 if (mem_cgroup_sockets_enabled && sk->sk_memcg && in tcp_under_memory_pressure()265 mem_cgroup_under_socket_pressure(sk->sk_memcg)) in tcp_under_memory_pressure()
7141 sk->sk_memcg = memcg; in mem_cgroup_sk_alloc()7148 if (sk->sk_memcg) in mem_cgroup_sk_free()7149 css_put(&sk->sk_memcg->css); in mem_cgroup_sk_free()