Searched refs:primary (Results 1 – 1 of 1) sorted by relevance
216 struct mem_cgroup_threshold_ary *primary; member4505 t = rcu_dereference(memcg->thresholds.primary); in __mem_cgroup_threshold()4507 t = rcu_dereference(memcg->memsw_thresholds.primary); in __mem_cgroup_threshold()4618 if (thresholds->primary) in __mem_cgroup_usage_register_event()4621 size = thresholds->primary ? thresholds->primary->size + 1 : 1; in __mem_cgroup_usage_register_event()4633 if (thresholds->primary) { in __mem_cgroup_usage_register_event()4634 memcpy(new->entries, thresholds->primary->entries, (size - 1) * in __mem_cgroup_usage_register_event()4662 thresholds->spare = thresholds->primary; in __mem_cgroup_usage_register_event()4664 rcu_assign_pointer(thresholds->primary, new); in __mem_cgroup_usage_register_event()4706 if (!thresholds->primary) in __mem_cgroup_usage_unregister_event()[all …]