Lines Matching defs:kswapd_highest_zoneidx
6956 if (READ_ONCE(pgdat->kswapd_highest_zoneidx) > ZONE_NORMAL)
6957 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, ZONE_NORMAL);
7632 * The pgdat->kswapd_highest_zoneidx is used to pass the highest zone index to
7638 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat,
7641 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx);
7682 * If woken prematurely then reset kswapd_highest_zoneidx and
7687 WRITE_ONCE(pgdat->kswapd_highest_zoneidx,
7688 kswapd_highest_zoneidx(pgdat,
7770 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES);
7776 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
7785 highest_zoneidx = kswapd_highest_zoneidx(pgdat,
7788 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, MAX_NR_ZONES);
7845 curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx);
7848 WRITE_ONCE(pgdat->kswapd_highest_zoneidx, highest_zoneidx);