Home
last modified time | relevance | path

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

/mm/
Dmemcontrol.c522 struct mem_cgroup_tree_per_node *mctz, in __mem_cgroup_insert_exceeded() argument
525 struct rb_node **p = &mctz->rb_root.rb_node; in __mem_cgroup_insert_exceeded()
554 mctz->rb_rightmost = &mz->tree_node; in __mem_cgroup_insert_exceeded()
557 rb_insert_color(&mz->tree_node, &mctz->rb_root); in __mem_cgroup_insert_exceeded()
562 struct mem_cgroup_tree_per_node *mctz) in __mem_cgroup_remove_exceeded() argument
567 if (&mz->tree_node == mctz->rb_rightmost) in __mem_cgroup_remove_exceeded()
568 mctz->rb_rightmost = rb_prev(&mz->tree_node); in __mem_cgroup_remove_exceeded()
570 rb_erase(&mz->tree_node, &mctz->rb_root); in __mem_cgroup_remove_exceeded()
575 struct mem_cgroup_tree_per_node *mctz) in mem_cgroup_remove_exceeded() argument
579 spin_lock_irqsave(&mctz->lock, flags); in mem_cgroup_remove_exceeded()
[all …]