Home
last modified time | relevance | path

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

/mm/
Dmemcontrol.c4197 struct mem_cgroup_per_node *pn; in alloc_mem_cgroup_per_node_info() local
4209 pn = kzalloc_node(sizeof(*pn), GFP_KERNEL, tmp); in alloc_mem_cgroup_per_node_info()
4210 if (!pn) in alloc_mem_cgroup_per_node_info()
4213 pn->lruvec_stat = alloc_percpu(struct lruvec_stat); in alloc_mem_cgroup_per_node_info()
4214 if (!pn->lruvec_stat) { in alloc_mem_cgroup_per_node_info()
4215 kfree(pn); in alloc_mem_cgroup_per_node_info()
4219 lruvec_init(&pn->lruvec); in alloc_mem_cgroup_per_node_info()
4220 pn->usage_in_excess = 0; in alloc_mem_cgroup_per_node_info()
4221 pn->on_tree = false; in alloc_mem_cgroup_per_node_info()
4222 pn->memcg = memcg; in alloc_mem_cgroup_per_node_info()
[all …]
Dmmap.c290 struct rb_node *nd, *pn = NULL; in browse_rb() local
320 pn = nd; in browse_rb()
325 for (nd = pn; nd; nd = rb_prev(nd)) in browse_rb()