Lines Matching refs:nodemask

2814 								ac->nodemask) {  in unreserve_highatomic_pageblock()
4049 ac->nodemask) { in get_page_from_freelist()
4182 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() argument
4198 show_mem(filter, nodemask); in warn_alloc_show_mem()
4201 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() argument
4215 nodemask_pr_args(nodemask)); in warn_alloc()
4221 warn_alloc_show_mem(gfp_mask, nodemask); in warn_alloc()
4250 .nodemask = ac->nodemask, in __alloc_pages_may_oom()
4504 ac->highest_zoneidx, ac->nodemask) { in should_compact_retry()
4589 ac->nodemask); in __perform_reclaim()
4640 ac->nodemask) { in wake_all_kswapds()
4776 ac->highest_zoneidx, ac->nodemask) { in should_reclaim_retry()
4827 if (cpusets_enabled() && ac->nodemask && in check_retry_cpuset()
4828 !cpuset_nodemask_valid_mems_allowed(ac->nodemask)) { in check_retry_cpuset()
4829 ac->nodemask = NULL; in check_retry_cpuset()
4890 ac->highest_zoneidx, ac->nodemask); in __alloc_pages_slowpath()
4988 ac->nodemask = NULL; in __alloc_pages_slowpath()
4990 ac->highest_zoneidx, ac->nodemask); in __alloc_pages_slowpath()
5113 warn_alloc(gfp_mask, ac->nodemask, in __alloc_pages_slowpath()
5120 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() argument
5126 ac->nodemask = nodemask; in prepare_alloc_pages()
5135 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
5136 ac->nodemask = &cpuset_current_mems_allowed; in prepare_alloc_pages()
5160 ac->highest_zoneidx, ac->nodemask); in prepare_alloc_pages()
5186 nodemask_t *nodemask, int nr_pages, in __alloc_pages_bulk() argument
5239 if (!prepare_alloc_pages(gfp, 0, preferred_nid, nodemask, &ac, &alloc_gfp, &alloc_flags)) in __alloc_pages_bulk()
5244 for_each_zone_zonelist_nodemask(zone, z, ac.zonelist, ac.highest_zoneidx, ac.nodemask) { in __alloc_pages_bulk()
5315 page = __alloc_pages(gfp, 0, preferred_nid, nodemask); in __alloc_pages_bulk()
5332 nodemask_t *nodemask) in __alloc_pages() argument
5358 if (!prepare_alloc_pages(gfp, order, preferred_nid, nodemask, &ac, in __alloc_pages()
5380 ac.nodemask = nodemask; in __alloc_pages()
5398 nodemask_t *nodemask) in __folio_alloc() argument
5401 preferred_nid, nodemask); in __folio_alloc()
5823 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) in show_mem_node_skip() argument
5833 if (!nodemask) in show_mem_node_skip()
5834 nodemask = &cpuset_current_mems_allowed; in show_mem_node_skip()
5836 return !node_isset(nid, *nodemask); in show_mem_node_skip()
5877 void show_free_areas(unsigned int filter, nodemask_t *nodemask) in show_free_areas() argument
5885 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
5920 if (show_mem_node_skip(filter, pgdat->node_id, nodemask)) in show_free_areas()
5978 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
6039 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
9226 int nid, nodemask_t *nodemask) in alloc_contig_pages() argument
9235 gfp_zone(gfp_mask), nodemask) { in alloc_contig_pages()