Home
last modified time | relevance | path

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

/mm/
Dmemcontrol.c5671 void mem_cgroup_sk_alloc(struct sock *sk) in mem_cgroup_sk_alloc() argument
5687 if (sk->sk_memcg) { in mem_cgroup_sk_alloc()
5688 BUG_ON(mem_cgroup_is_root(sk->sk_memcg)); in mem_cgroup_sk_alloc()
5689 css_get(&sk->sk_memcg->css); in mem_cgroup_sk_alloc()
5700 sk->sk_memcg = memcg; in mem_cgroup_sk_alloc()
5705 void mem_cgroup_sk_free(struct sock *sk) in mem_cgroup_sk_free() argument
5707 if (sk->sk_memcg) in mem_cgroup_sk_free()
5708 css_put(&sk->sk_memcg->css); in mem_cgroup_sk_free()