Lines Matching refs:pgdat
692 pg_data_t *pgdat; in try_to_free_pages() local
700 for_each_pgdat(pgdat) { in try_to_free_pages()
701 zonelist = pgdat->node_zonelists + (gfp_mask & GFP_ZONEMASK); in try_to_free_pages()
725 static int kswapd_balance_pgdat(pg_data_t * pgdat) in kswapd_balance_pgdat() argument
730 for (i = pgdat->nr_zones-1; i >= 0; i--) { in kswapd_balance_pgdat()
731 zone = pgdat->node_zones + i; in kswapd_balance_pgdat()
754 pg_data_t * pgdat; in kswapd_balance() local
759 for_each_pgdat(pgdat) in kswapd_balance()
760 need_more_balance |= kswapd_balance_pgdat(pgdat); in kswapd_balance()
764 static int kswapd_can_sleep_pgdat(pg_data_t * pgdat) in kswapd_can_sleep_pgdat() argument
769 for (i = pgdat->nr_zones-1; i >= 0; i--) { in kswapd_can_sleep_pgdat()
770 zone = pgdat->node_zones + i; in kswapd_can_sleep_pgdat()
781 pg_data_t * pgdat; in kswapd_can_sleep() local
783 for_each_pgdat(pgdat) { in kswapd_can_sleep()
784 if (!kswapd_can_sleep_pgdat(pgdat)) in kswapd_can_sleep()