Lines Matching refs:gfp_mask

199 				gfp_t gfp_mask, nodemask_t *nodemask,  in constrained_alloc()  argument
204 enum zone_type high_zoneidx = gfp_zone(gfp_mask); in constrained_alloc()
218 if (gfp_mask & __GFP_THISNODE) in constrained_alloc()
236 if (!cpuset_zone_allowed(zone, gfp_mask)) in constrained_alloc()
249 gfp_t gfp_mask, nodemask_t *nodemask, in constrained_alloc() argument
382 static void dump_header(struct task_struct *p, gfp_t gfp_mask, int order, in dump_header() argument
388 current->comm, gfp_mask, order, in dump_header()
501 void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, in oom_kill_process() argument
528 dump_header(p, gfp_mask, order, memcg, nodemask); in oom_kill_process()
614 void check_panic_on_oom(enum oom_constraint constraint, gfp_t gfp_mask, in check_panic_on_oom() argument
629 dump_header(NULL, gfp_mask, order, memcg, nodemask); in check_panic_on_oom()
653 bool oom_zonelist_trylock(struct zonelist *zonelist, gfp_t gfp_mask) in oom_zonelist_trylock() argument
660 for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) in oom_zonelist_trylock()
670 for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) in oom_zonelist_trylock()
683 void oom_zonelist_unlock(struct zonelist *zonelist, gfp_t gfp_mask) in oom_zonelist_unlock() argument
689 for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) in oom_zonelist_unlock()
707 static void __out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, in __out_of_memory() argument
741 constraint = constrained_alloc(zonelist, gfp_mask, nodemask, in __out_of_memory()
744 check_panic_on_oom(constraint, gfp_mask, order, mpol_mask, NULL); in __out_of_memory()
750 oom_kill_process(current, gfp_mask, order, 0, totalpages, NULL, in __out_of_memory()
759 dump_header(NULL, gfp_mask, order, NULL, mpol_mask); in __out_of_memory()
763 oom_kill_process(p, gfp_mask, order, points, totalpages, NULL, in __out_of_memory()
787 bool out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, in out_of_memory() argument
794 __out_of_memory(zonelist, gfp_mask, order, nodemask, force_kill); in out_of_memory()