Home
last modified time | relevance | path

Searched refs:zone_to_nid (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/arch/x86/mm/
Dhighmem_32.c26 nid = zone_to_nid(zone); in set_highmem_pages_init()
/Linux-v5.15/include/trace/events/
Dcompaction.h213 __entry->nid = zone_to_nid(zone);
260 __entry->nid = zone_to_nid(zone);
Doom.h56 __entry->node = zone_to_nid(zoneref->zone);
/Linux-v5.15/mm/
Dmemory_hotplug.c397 int nid = zone_to_nid(zone); in shrink_zone_span()
625 int nid = zone_to_nid(zone); in node_states_check_changes_online()
1079 const int nid = zone_to_nid(zone); in online_pages()
1819 arg->status_change_nid_normal = zone_to_nid(zone); in node_states_check_changes_offline()
1832 arg->status_change_nid_high = zone_to_nid(zone); in node_states_check_changes_offline()
1848 arg->status_change_nid = zone_to_nid(zone); in node_states_check_changes_offline()
1921 node = zone_to_nid(zone); in offline_pages()
Dmm_init.c55 pr_cont("%d:%s ", zone_to_nid(zone), zone->name); in mminit_verify_zonelist()
Dpage_alloc.c589 pfn, zone_to_nid(zone), zone->name, in page_outside_zone_boundaries()
1907 int nid = zone_to_nid(zone); in deferred_init_pages()
2528 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in move_freepages()
3587 if (zone_to_nid(z) != numa_node_id()) in zone_statistics()
3590 if (zone_to_nid(z) == zone_to_nid(preferred_zone)) in zone_statistics()
3973 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in zone_allows_reclaim()
4101 local_nid = zone_to_nid(ac->preferred_zoneref->zone); in get_page_from_freelist()
4102 if (zone_to_nid(zone) != local_nid) { in get_page_from_freelist()
5265 zone_to_nid(zone) != zone_to_nid(ac.preferred_zoneref->zone)) { in __alloc_pages_bulk()
5724 printk("Node %d ", zone_to_nid(zone)); in show_node()
[all …]
Dmempolicy.c1856 return z->zone ? zone_to_nid(z->zone) : node; in mempolicy_slab_node()
2432 polnid = zone_to_nid(z->zone); in mpol_misplaced()
Dvmstat.c865 if (zone_to_nid(zone) == numa_node_id()) { in refresh_cpu_vm_stats()
Dmemblock.c1274 int zone_nid = zone_to_nid(zone); in __next_mem_pfn_range_in_zone()
Dhugetlb.c1129 if (zone_to_nid(zone) == node) in dequeue_huge_page_nodemask()
1131 node = zone_to_nid(zone); in dequeue_huge_page_nodemask()
Dvmscan.c578 if (can_reclaim_anon_pages(NULL, zone_to_nid(zone), NULL)) in zone_reclaimable_pages()
Dslab.c3121 nid = zone_to_nid(zone); in fallback_alloc()
Dslub.c2193 n = get_node(s, zone_to_nid(zone)); in get_any_partial()
/Linux-v5.15/include/linux/
Dcpuset.h79 return __cpuset_node_allowed(zone_to_nid(z), gfp_mask); in __cpuset_zone_allowed()
Dmmzone.h1004 static inline int zone_to_nid(struct zone *zone) in zone_to_nid() function
1014 static inline int zone_to_nid(struct zone *zone) in zone_to_nid() function
1131 return zone_to_nid(zoneref->zone); in zonelist_node_idx()