Lines Matching defs:nr_pages
267 unsigned int nr_pages; in obj_cgroup_release() local
470 unsigned long nr_pages = page_counter_read(&memcg->memory); in soft_limit_excess() local
939 int nr_pages) in mem_cgroup_charge_statistics()
1385 int zid, int nr_pages) in mem_cgroup_update_lru_size()
2182 unsigned int nr_pages; member
2217 static void memcg_account_kmem(struct mem_cgroup *memcg, int nr_pages) in memcg_account_kmem()
2233 static bool consume_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in consume_stock()
2303 static void __refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in __refill_stock()
2319 static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages) in refill_stock()
2384 unsigned int nr_pages, in reclaim_high()
2523 unsigned int nr_pages, in calculate_high_delay()
2563 unsigned int nr_pages = current->memcg_nr_pages_over_high; in mem_cgroup_handle_over_high() local
2638 unsigned int nr_pages) in try_charge_memcg()
2828 unsigned int nr_pages) in try_charge()
2836 static inline void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages) in cancel_charge()
3060 static void memcg_account_kmem(struct mem_cgroup *memcg, int nr_pages) in memcg_account_kmem()
3078 unsigned int nr_pages) in obj_cgroup_uncharge_pages()
3099 unsigned int nr_pages) in obj_cgroup_charge_pages()
3152 unsigned int nr_pages = 1 << order; in __memcg_kmem_uncharge_page() local
3256 unsigned int nr_pages = stock->nr_bytes >> PAGE_SHIFT; in drain_obj_stock() local
3332 unsigned int nr_pages = 0; in refill_obj_stock() local
3362 unsigned int nr_pages, nr_bytes; in obj_cgroup_charge() local
3850 unsigned long nr_pages; in mem_cgroup_write() local
5792 unsigned int nr_pages = compound ? folio_nr_pages(folio) : 1; in mem_cgroup_move_account() local
6521 unsigned long nr_pages = page_counter_read(&memcg->memory); in memory_high_write() local
6570 unsigned long nr_pages = page_counter_read(&memcg->memory); in memory_max_write() local
7015 long nr_pages = folio_nr_pages(folio); in charge_memcg() local
7151 long nr_pages; in uncharge_folio() local
7253 long nr_pages = folio_nr_pages(new); in mem_cgroup_migrate() local
7330 bool mem_cgroup_charge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages, in mem_cgroup_charge_skmem()
7361 void mem_cgroup_uncharge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages) in mem_cgroup_uncharge_skmem()
7531 unsigned int nr_pages = folio_nr_pages(folio); in __mem_cgroup_try_charge_swap() local
7575 void __mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages) in __mem_cgroup_uncharge_swap()