• Home
  • Raw
  • Download

Lines Matching refs:stat

696 	x = val + __this_cpu_read(memcg->vmstats_percpu->stat[idx]);  in __mod_memcg_state()
704 __this_cpu_add(memcg->vmstats_local->stat[idx], x); in __mod_memcg_state()
709 __this_cpu_write(memcg->vmstats_percpu->stat[idx], x); in __mod_memcg_state()
2308 x = this_cpu_xchg(memcg->vmstats_percpu->stat[i], 0); in memcg_hotplug_cpu_dead()
3409 unsigned long stat[MEMCG_NR_STAT] = {0}; in memcg_flush_percpu_vmstats() local
3415 stat[i] += per_cpu(memcg->vmstats_percpu->stat[i], cpu); in memcg_flush_percpu_vmstats()
3419 atomic_long_add(stat[i], &mi->vmstats[i]); in memcg_flush_percpu_vmstats()
3426 stat[i] = 0; in memcg_flush_percpu_vmstats()
3430 stat[i] += per_cpu( in memcg_flush_percpu_vmstats()
3435 atomic_long_add(stat[i], &pi->lruvec_stat[i]); in memcg_flush_percpu_vmstats()
3775 const struct numa_stat *stat; in memcg_numa_stat_show() local
3780 for (stat = stats; stat < stats + ARRAY_SIZE(stats); stat++) { in memcg_numa_stat_show()
3781 nr = mem_cgroup_nr_lru_pages(memcg, stat->lru_mask); in memcg_numa_stat_show()
3782 seq_printf(m, "%s=%lu", stat->name, nr); in memcg_numa_stat_show()
3785 stat->lru_mask); in memcg_numa_stat_show()
3791 for (stat = stats; stat < stats + ARRAY_SIZE(stats); stat++) { in memcg_numa_stat_show()
3796 nr += mem_cgroup_nr_lru_pages(iter, stat->lru_mask); in memcg_numa_stat_show()
3797 seq_printf(m, "hierarchical_%s=%lu", stat->name, nr); in memcg_numa_stat_show()
3802 iter, nid, stat->lru_mask); in memcg_numa_stat_show()
4342 x += per_cpu_ptr(memcg->vmstats_percpu, cpu)->stat[idx]; in memcg_exact_page_state()