Home
last modified time | relevance | path

Searched refs:target_nid (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/dax/hmem/
Ddevice.c18 void hmem_register_device(int target_nid, struct resource *r) in hmem_register_device() argument
57 pdev->dev.numa_node = numa_map_to_online_node(target_nid); in hmem_register_device()
59 .target_node = target_nid, in hmem_register_device()
/linux-6.1.9/include/linux/
Ddax.h263 void hmem_register_device(int target_nid, struct resource *r);
265 static inline void hmem_register_device(int target_nid, struct resource *r) in hmem_register_device() argument
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c1244 int target_nid, online_nid; in papr_scm_nvdimm_init() local
1294 target_nid = dev_to_node(&p->pdev->dev); in papr_scm_nvdimm_init()
1295 online_nid = numa_map_to_online_node(target_nid); in papr_scm_nvdimm_init()
1297 ndr_desc.target_node = target_nid; in papr_scm_nvdimm_init()
1321 if (target_nid != online_nid) in papr_scm_nvdimm_init()
1323 target_nid, online_nid); in papr_scm_nvdimm_init()
/linux-6.1.9/drivers/acpi/numa/
Dhmat.c719 int target_nid = pxm_to_node(target->memory_pxm); in hmat_register_target_devices() local
721 hmem_register_device(target_nid, res); in hmat_register_target_devices()
/linux-6.1.9/mm/
Dhuge_memory.c1483 int target_nid, last_cpupid = (-1 & LAST_CPUPID_MASK); in do_huge_pmd_numa_page() local
1510 target_nid = numa_migrate_prep(page, vma, haddr, page_nid, in do_huge_pmd_numa_page()
1513 if (target_nid == NUMA_NO_NODE) { in do_huge_pmd_numa_page()
1520 migrated = migrate_misplaced_page(page, vma, target_nid); in do_huge_pmd_numa_page()
1523 page_nid = target_nid; in do_huge_pmd_numa_page()
Dmemory.c4716 int target_nid; in do_numa_page() local
4773 target_nid = numa_migrate_prep(page, vma, vmf->address, page_nid, in do_numa_page()
4775 if (target_nid == NUMA_NO_NODE) { in do_numa_page()
4782 if (migrate_misplaced_page(page, vma, target_nid)) { in do_numa_page()
4783 page_nid = target_nid; in do_numa_page()
Dvmscan.c1573 int target_nid = next_demotion_node(pgdat->node_id); in demote_folio_list() local
1585 .nid = target_nid, in demote_folio_list()
1592 if (target_nid == NUMA_NO_NODE) in demote_folio_list()