Lines Matching refs:nodemask
2294 ac->nodemask) { in unreserve_highatomic_pageblock()
3262 ac->nodemask) { in get_page_from_freelist()
3383 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem() argument
3403 show_mem(filter, nodemask); in warn_alloc_show_mem()
3406 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc() argument
3421 nodemask_pr_args(nodemask)); in warn_alloc()
3427 warn_alloc_show_mem(gfp_mask, nodemask); in warn_alloc()
3456 .nodemask = ac->nodemask, in __alloc_pages_may_oom()
3691 ac->nodemask) { in should_compact_retry()
3770 ac->nodemask); in __perform_reclaim()
3821 ac->nodemask) { in wake_all_kswapds()
3952 ac->nodemask) { in should_reclaim_retry()
4023 if (cpusets_enabled() && ac->nodemask && in check_retry_cpuset()
4024 !cpuset_nodemask_valid_mems_allowed(ac->nodemask)) { in check_retry_cpuset()
4025 ac->nodemask = NULL; in check_retry_cpuset()
4097 ac->high_zoneidx, ac->nodemask); in __alloc_pages_slowpath()
4172 ac->nodemask = NULL; in __alloc_pages_slowpath()
4174 ac->high_zoneidx, ac->nodemask); in __alloc_pages_slowpath()
4297 warn_alloc(gfp_mask, ac->nodemask, in __alloc_pages_slowpath()
4304 int preferred_nid, nodemask_t *nodemask, in prepare_alloc_pages() argument
4310 ac->nodemask = nodemask; in prepare_alloc_pages()
4315 if (!ac->nodemask) in prepare_alloc_pages()
4316 ac->nodemask = &cpuset_current_mems_allowed; in prepare_alloc_pages()
4347 ac->high_zoneidx, ac->nodemask); in finalise_ac()
4355 nodemask_t *nodemask) in __alloc_pages_nodemask() argument
4364 if (!prepare_alloc_pages(gfp_mask, order, preferred_nid, nodemask, &ac, &alloc_mask, &alloc_flags)) in __alloc_pages_nodemask()
4387 if (unlikely(ac.nodemask != nodemask)) in __alloc_pages_nodemask()
4388 ac.nodemask = nodemask; in __alloc_pages_nodemask()
4799 static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask) in show_mem_node_skip() argument
4809 if (!nodemask) in show_mem_node_skip()
4810 nodemask = &cpuset_current_mems_allowed; in show_mem_node_skip()
4812 return !node_isset(nid, *nodemask); in show_mem_node_skip()
4853 void show_free_areas(unsigned int filter, nodemask_t *nodemask) in show_free_areas() argument
4861 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
4895 if (show_mem_node_skip(filter, pgdat->node_id, nodemask)) in show_free_areas()
4946 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
5007 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()