Lines Matching refs:memsw
1096 page_counter_uncharge(&mc.from->memsw, mc.moved_swap); in __mem_cgroup_clear_mc()
2308 unsigned long max, bool memsw) in mem_cgroup_resize_max() argument
2314 struct page_counter *counter = memsw ? &memcg->memsw : &memcg->memory; in mem_cgroup_resize_max()
2327 limits_invariant = memsw ? max >= READ_ONCE(memcg->memory.max) : in mem_cgroup_resize_max()
2328 max <= memcg->memsw.max; in mem_cgroup_resize_max()
2349 memsw ? 0 : MEMCG_RECLAIM_MAY_SWAP, NULL)) { in mem_cgroup_resize_max()
2429 counter = &memcg->memsw; in mem_cgroup_read_u64()
2445 if (counter == &memcg->memsw) in mem_cgroup_read_u64()
2576 counter = &memcg->memsw; in mem_cgroup_reset()
2738 unsigned long memory, memsw; in memcg1_stat_format() local
2763 memory = memsw = PAGE_COUNTER_MAX; in memcg1_stat_format()
2766 memsw = min(memsw, READ_ONCE(mi->memsw.max)); in memcg1_stat_format()
2771 (u64)memsw * PAGE_SIZE); in memcg1_stat_format()