Lines Matching refs:zoneref
1204 struct zoneref {
1206 int zone_idx; /* zone_idx(zoneref->zone) */
1217 * a struct zoneref are
1224 struct zoneref _zonerefs[MAX_ZONES_PER_ZONELIST + 1];
1603 static inline struct zone *zonelist_zone(struct zoneref *zoneref)
1605 return zoneref->zone;
1608 static inline int zonelist_zone_idx(struct zoneref *zoneref)
1610 return zoneref->zone_idx;
1613 static inline int zonelist_node_idx(struct zoneref *zoneref)
1615 return zone_to_nid(zoneref->zone);
1618 struct zoneref *__next_zones_zonelist(struct zoneref *z,
1630 * search. The zoneref returned is a cursor that represents the current zone
1637 static __always_inline struct zoneref *next_zones_zonelist(struct zoneref *z,
1653 * within the allowed nodemask. The zoneref returned is a cursor that can be
1657 * When no eligible zone is found, zoneref->zone is NULL (zoneref itself is
1663 static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist,
1711 struct zoneref *z;