Lines Matching refs:nodemask

2822 								ac->nodemask) {  in unreserve_highatomic_pageblock()
4055 ac->nodemask) { in get_page_from_freelist()
4188 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() argument
4204 show_mem(filter, nodemask); in warn_alloc_show_mem()
4207 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() argument
4221 nodemask_pr_args(nodemask)); in warn_alloc()
4227 warn_alloc_show_mem(gfp_mask, nodemask); in warn_alloc()
4256 .nodemask = ac->nodemask, in __alloc_pages_may_oom()
4510 ac->highest_zoneidx, ac->nodemask) { in should_compact_retry()
4595 ac->nodemask); in __perform_reclaim()
4646 ac->nodemask) { in wake_all_kswapds()
4782 ac->highest_zoneidx, ac->nodemask) { in should_reclaim_retry()
4852 if (cpusets_enabled() && ac->nodemask && in check_retry_cpuset()
4853 !cpuset_nodemask_valid_mems_allowed(ac->nodemask)) { in check_retry_cpuset()
4854 ac->nodemask = NULL; in check_retry_cpuset()
4915 ac->highest_zoneidx, ac->nodemask); in __alloc_pages_slowpath()
5000 ac->nodemask = NULL; in __alloc_pages_slowpath()
5002 ac->highest_zoneidx, ac->nodemask); in __alloc_pages_slowpath()
5125 warn_alloc(gfp_mask, ac->nodemask, in __alloc_pages_slowpath()
5132 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() argument
5138 ac->nodemask = nodemask; in prepare_alloc_pages()
5147 if (in_task() && !ac->nodemask) in prepare_alloc_pages()
5148 ac->nodemask = &cpuset_current_mems_allowed; in prepare_alloc_pages()
5172 ac->highest_zoneidx, ac->nodemask); in prepare_alloc_pages()
5198 nodemask_t *nodemask, int nr_pages, in __alloc_pages_bulk() argument
5251 if (!prepare_alloc_pages(gfp, 0, preferred_nid, nodemask, &ac, &alloc_gfp, &alloc_flags)) in __alloc_pages_bulk()
5256 for_each_zone_zonelist_nodemask(zone, z, ac.zonelist, ac.highest_zoneidx, ac.nodemask) { in __alloc_pages_bulk()
5327 page = __alloc_pages(gfp, 0, preferred_nid, nodemask); in __alloc_pages_bulk()
5344 nodemask_t *nodemask) in __alloc_pages() argument
5370 if (!prepare_alloc_pages(gfp, order, preferred_nid, nodemask, &ac, in __alloc_pages()
5392 ac.nodemask = nodemask; in __alloc_pages()
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()
6037 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
9215 int nid, nodemask_t *nodemask) in alloc_contig_pages() argument
9224 gfp_zone(gfp_mask), nodemask) { in alloc_contig_pages()