Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dshow_mem.c29 printk("Node %d ", zone_to_nid(zone)); in show_node()
199 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
300 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
363 if (show_mem_node_skip(filter, zone_to_nid(zone), nodemask)) in show_free_areas()
Dmemory_hotplug.c463 int nid = zone_to_nid(zone); in shrink_zone_span()
684 int nid = zone_to_nid(zone); in node_states_check_changes_online()
1142 const int nid = zone_to_nid(zone); in online_pages()
1833 arg->status_change_nid_normal = zone_to_nid(zone); in node_states_check_changes_offline()
1847 arg->status_change_nid = zone_to_nid(zone); in node_states_check_changes_offline()
1876 const int node = zone_to_nid(zone); in offline_pages()
Dpage_alloc.c457 pfn, zone_to_nid(zone), zone->name, in page_outside_zone_boundaries()
1644 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in move_freepages()
2620 if (zone_to_nid(z) != numa_node_id()) in zone_statistics()
2623 if (zone_to_nid(z) == zone_to_nid(preferred_zone)) in zone_statistics()
2982 return node_distance(zone_to_nid(local_zone), zone_to_nid(zone)) <= in zone_allows_reclaim()
3111 local_nid = zone_to_nid(ac->preferred_zoneref->zone); in get_page_from_freelist()
3112 if (zone_to_nid(zone) != local_nid) { in get_page_from_freelist()
4306 zone_to_nid(zone) != zone_to_nid(ac.preferred_zoneref->zone)) { in __alloc_pages_bulk()
5015 return zone_to_nid(z->zone); in local_memory_node()
5289 nr_split_cpus = cpumask_weight(cpumask_of_node(zone_to_nid(zone))) + cpu_online; in zone_highsize()
[all …]
Dmm_init.c72 pr_cont("%d:%s ", zone_to_nid(zone), zone->name); in mminit_verify_zonelist()
916 int nid = zone_to_nid(zone), zone_id = zone_idx(zone); in memmap_init_zone_range()
1448 zone_to_nid(zone)); in setup_usemap()
1451 usemapsize, zone->name, zone_to_nid(zone)); in setup_usemap()
2054 int nid = zone_to_nid(zone); in deferred_init_pages()
Dmempolicy.c1956 return z->zone ? zone_to_nid(z->zone) : node; in mempolicy_slab_node()
2639 polnid = zone_to_nid(z->zone); in mpol_misplaced()
Dvmstat.c853 if (zone_to_nid(zone) == numa_node_id()) { in refresh_cpu_vm_stats()
Dmemblock.c1322 int zone_nid = zone_to_nid(zone); in __next_mem_pfn_range_in_zone()
Dhugetlb.c1377 if (zone_to_nid(zone) == node) in dequeue_hugetlb_folio_nodemask()
1379 node = zone_to_nid(zone); in dequeue_hugetlb_folio_nodemask()
Dslab.c3074 nid = zone_to_nid(zone); in fallback_alloc()
Dslub.c2371 n = get_node(s, zone_to_nid(zone)); in get_any_partial()
Dvmscan.c641 if (can_reclaim_anon_pages(NULL, zone_to_nid(zone), NULL)) in zone_reclaimable_pages()
/linux-6.6.21/arch/x86/mm/
Dhighmem_32.c27 nid = zone_to_nid(zone); in set_highmem_pages_init()
/linux-6.6.21/include/trace/events/
Dcompaction.h208 __entry->nid = zone_to_nid(zone);
255 __entry->nid = zone_to_nid(zone);
Doom.h56 __entry->node = zone_to_nid(zoneref->zone);
/linux-6.6.21/include/linux/
Dcpuset.h89 return cpuset_node_allowed(zone_to_nid(z), gfp_mask); in __cpuset_zone_allowed()
Dmmzone.h1495 static inline int zone_to_nid(struct zone *zone) in zone_to_nid() function
1505 static inline int zone_to_nid(struct zone *zone) in zone_to_nid() function
1605 return zone_to_nid(zoneref->zone); in zonelist_node_idx()