Searched refs:target_nid (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/dax/hmem/ |
A D | device.c | 36 static void __hmem_register_resource(int target_nid, struct resource *res) in __hmem_register_resource() argument 49 new->desc = target_nid; in __hmem_register_resource() 67 void hmem_register_resource(int target_nid, struct resource *res) in hmem_register_resource() argument 73 __hmem_register_resource(target_nid, res); in hmem_register_resource()
|
A D | hmem.c | 67 static int hmem_register_device(struct device *host, int target_nid, in hmem_register_device() argument 102 pdev->dev.numa_node = numa_map_to_online_node(target_nid); in hmem_register_device() 104 .target_node = target_nid, in hmem_register_device()
|
/linux-6.3-rc2/include/linux/ |
A D | dax.h | 265 void hmem_register_resource(int target_nid, struct resource *r); 267 static inline void hmem_register_resource(int target_nid, struct resource *r) in hmem_register_resource() argument 272 typedef int (*walk_hmem_fn)(struct device *dev, int target_nid,
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | papr_scm.c | 1244 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.3-rc2/drivers/acpi/numa/ |
A D | hmat.c | 719 int target_nid = pxm_to_node(target->memory_pxm); in hmat_register_target_devices() local 721 hmem_register_resource(target_nid, res); in hmat_register_target_devices()
|
/linux-6.3-rc2/mm/ |
A D | huge_memory.c | 1510 int target_nid, last_cpupid = (-1 & LAST_CPUPID_MASK); in do_huge_pmd_numa_page() local 1546 target_nid = numa_migrate_prep(page, vma, haddr, page_nid, in do_huge_pmd_numa_page() 1549 if (target_nid == NUMA_NO_NODE) { in do_huge_pmd_numa_page() 1557 migrated = migrate_misplaced_page(page, vma, target_nid); in do_huge_pmd_numa_page() 1560 page_nid = target_nid; in do_huge_pmd_numa_page()
|
A D | memory.c | 4656 int target_nid; in do_numa_page() local 4721 target_nid = numa_migrate_prep(page, vma, vmf->address, page_nid, in do_numa_page() 4723 if (target_nid == NUMA_NO_NODE) { in do_numa_page() 4731 if (migrate_misplaced_page(page, vma, target_nid)) { in do_numa_page() 4732 page_nid = target_nid; in do_numa_page()
|
A D | vmscan.c | 1604 int target_nid = next_demotion_node(pgdat->node_id); in demote_folio_list() local 1616 .nid = target_nid, in demote_folio_list() 1623 if (target_nid == NUMA_NO_NODE) in demote_folio_list()
|
Completed in 40 milliseconds