Lines Matching defs:zonelist
225 static enum oom_constraint constrained_alloc(struct zonelist *zonelist,
238 if (!zonelist)
261 for_each_zone_zonelist_nodemask(zone, z, zonelist,
275 static enum oom_constraint constrained_alloc(struct zonelist *zonelist,
546 * Try to acquire the OOM killer lock for the zones in zonelist. Returns zero
548 * the zonelist. Otherwise, locks all zones in the zonelist and returns 1.
550 int try_set_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_mask)
557 for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) {
564 for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) {
566 * Lock each zone in the zonelist under zone_scan_lock so a
579 * Clears the ZONE_OOM_LOCKED flag for all zones in the zonelist so that failed
583 void clear_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_mask)
589 for_each_zone_zonelist(zone, z, zonelist, gfp_zone(gfp_mask)) {
634 * @zonelist: zonelist pointer
644 void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask,
675 constraint = constrained_alloc(zonelist, gfp_mask, nodemask,