Lines Matching refs:gfp_mask
1575 static bool mem_cgroup_out_of_memory(struct mem_cgroup *memcg, gfp_t gfp_mask, in mem_cgroup_out_of_memory() argument
1582 .gfp_mask = gfp_mask, in mem_cgroup_out_of_memory()
1698 gfp_t gfp_mask, in mem_cgroup_soft_reclaim() argument
1737 total += mem_cgroup_shrink_node(victim, gfp_mask, false, in mem_cgroup_soft_reclaim()
2343 gfp_t gfp_mask) in reclaim_high() argument
2349 try_to_free_mem_cgroup_pages(memcg, nr_pages, gfp_mask, true); in reclaim_high()
2502 static int try_charge(struct mem_cgroup *memcg, gfp_t gfp_mask, in try_charge() argument
2543 if (gfp_mask & __GFP_ATOMIC) in try_charge()
2567 if (!gfpflags_allow_blocking(gfp_mask)) in try_charge()
2573 gfp_mask, may_swap); in try_charge()
2584 if (gfp_mask & __GFP_NORETRY) in try_charge()
2607 if (gfp_mask & __GFP_RETRY_MAYFAIL) in try_charge()
2610 if (gfp_mask & __GFP_NOFAIL) in try_charge()
2621 oom_status = mem_cgroup_oom(mem_over_limit, gfp_mask, in try_charge()
2633 if (!(gfp_mask & __GFP_NOFAIL)) in try_charge()
3159 gfp_t gfp_mask, in mem_cgroup_soft_limit_reclaim() argument
3198 gfp_mask, &nr_scanned); in mem_cgroup_soft_limit_reclaim()
6457 gfp_t gfp_mask, struct mem_cgroup **memcgp, in mem_cgroup_try_charge() argument
6494 ret = try_charge(memcg, gfp_mask, nr_pages); in mem_cgroup_try_charge()
6503 gfp_t gfp_mask, struct mem_cgroup **memcgp, in mem_cgroup_try_charge_delay() argument
6509 ret = mem_cgroup_try_charge(page, mm, gfp_mask, memcgp, compound); in mem_cgroup_try_charge_delay()
6511 mem_cgroup_throttle_swaprate(memcg, page_to_nid(page), gfp_mask); in mem_cgroup_try_charge_delay()
6853 gfp_t gfp_mask = GFP_KERNEL; in mem_cgroup_charge_skmem() local
6869 gfp_mask = GFP_NOWAIT; in mem_cgroup_charge_skmem()
6873 if (try_charge(memcg, gfp_mask, nr_pages) == 0) in mem_cgroup_charge_skmem()
6876 try_charge(memcg, gfp_mask|__GFP_NOFAIL, nr_pages); in mem_cgroup_charge_skmem()