memsw             219 include/linux/memcontrol.h 	struct page_counter memsw;
memsw            1337 mm/memcontrol.c 		count = page_counter_read(&memcg->memsw);
memsw            1338 mm/memcontrol.c 		limit = READ_ONCE(memcg->memsw.max);
memsw            1546 mm/memcontrol.c 			K((u64)page_counter_read(&memcg->memsw)),
memsw            1547 mm/memcontrol.c 			K((u64)memcg->memsw.max), memcg->memsw.failcnt);
memsw            1575 mm/memcontrol.c 		memsw_max = memcg->memsw.max;
memsw            2215 mm/memcontrol.c 			page_counter_uncharge(&old->memsw, stock->nr_pages);
memsw            2560 mm/memcontrol.c 	    page_counter_try_charge(&memcg->memsw, batch, &counter)) {
memsw            2564 mm/memcontrol.c 			page_counter_uncharge(&memcg->memsw, batch);
memsw            2567 mm/memcontrol.c 		mem_over_limit = mem_cgroup_from_counter(counter, memsw);
memsw            2682 mm/memcontrol.c 		page_counter_charge(&memcg->memsw, nr_pages);
memsw            2724 mm/memcontrol.c 		page_counter_uncharge(&memcg->memsw, nr_pages);
memsw            3083 mm/memcontrol.c 		page_counter_uncharge(&memcg->memsw, nr_pages);
memsw            3171 mm/memcontrol.c 				 unsigned long max, bool memsw)
memsw            3177 mm/memcontrol.c 	struct page_counter *counter = memsw ? &memcg->memsw : &memcg->memory;
memsw            3190 mm/memcontrol.c 		limits_invariant = memsw ? max >= memcg->memory.max :
memsw            3191 mm/memcontrol.c 					   max <= memcg->memsw.max;
memsw            3212 mm/memcontrol.c 					GFP_KERNEL, !memsw)) {
memsw            3417 mm/memcontrol.c 			val = page_counter_read(&memcg->memsw);
memsw            3441 mm/memcontrol.c 		counter = &memcg->memsw;
memsw            3457 mm/memcontrol.c 		if (counter == &memcg->memsw)
memsw            3733 mm/memcontrol.c 		counter = &memcg->memsw;
memsw            3918 mm/memcontrol.c 	unsigned long memory, memsw;
memsw            3943 mm/memcontrol.c 	memory = memsw = PAGE_COUNTER_MAX;
memsw            3946 mm/memcontrol.c 		memsw = min(memsw, mi->memsw.max);
memsw            3952 mm/memcontrol.c 			   (u64)memsw * PAGE_SIZE);
memsw            5188 mm/memcontrol.c 		page_counter_init(&memcg->memsw, &parent->memsw);
memsw            5194 mm/memcontrol.c 		page_counter_init(&memcg->memsw, NULL);
memsw            5326 mm/memcontrol.c 	page_counter_set_max(&memcg->memsw, PAGE_COUNTER_MAX);
memsw            5760 mm/memcontrol.c 			page_counter_uncharge(&mc.from->memsw, mc.moved_swap);
memsw            6675 mm/memcontrol.c 			page_counter_uncharge(&ug->memcg->memsw, nr_pages);
memsw            6847 mm/memcontrol.c 		page_counter_charge(&memcg->memsw, nr_pages);
memsw            7072 mm/memcontrol.c 			page_counter_charge(&swap_memcg->memsw, nr_entries);
memsw            7073 mm/memcontrol.c 		page_counter_uncharge(&memcg->memsw, nr_entries);
memsw            7162 mm/memcontrol.c 				page_counter_uncharge(&memcg->memsw, nr_pages);