Searched refs:target_nid (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/dax/hmem/ |
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()
|
D | hmem.c | 61 static int hmem_register_device(struct device *host, int target_nid, in hmem_register_device() argument 96 pdev->dev.numa_node = numa_map_to_online_node(target_nid); in hmem_register_device() 98 .target_node = target_nid, in hmem_register_device()
|
/linux-6.6.21/include/linux/ |
D | dax.h | 278 void hmem_register_resource(int target_nid, struct resource *r); 280 static inline void hmem_register_resource(int target_nid, struct resource *r) in hmem_register_resource() argument 285 typedef int (*walk_hmem_fn)(struct device *dev, int target_nid,
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
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.6.21/drivers/acpi/numa/ |
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.6.21/mm/ |
D | huge_memory.c | 1496 int target_nid, last_cpupid = (-1 & LAST_CPUPID_MASK); in do_huge_pmd_numa_page() local 1532 target_nid = numa_migrate_prep(page, vma, haddr, page_nid, in do_huge_pmd_numa_page() 1535 if (target_nid == NUMA_NO_NODE) { in do_huge_pmd_numa_page() 1543 migrated = migrate_misplaced_page(page, vma, target_nid); in do_huge_pmd_numa_page() 1546 page_nid = target_nid; in do_huge_pmd_numa_page()
|
D | memory.c | 4766 int target_nid; in do_numa_page() local 4830 target_nid = numa_migrate_prep(page, vma, vmf->address, page_nid, in do_numa_page() 4832 if (target_nid == NUMA_NO_NODE) { in do_numa_page() 4840 if (migrate_misplaced_page(page, vma, target_nid)) { in do_numa_page() 4841 page_nid = target_nid; in do_numa_page()
|
D | vmscan.c | 1652 int target_nid = next_demotion_node(pgdat->node_id); in demote_folio_list() local 1664 .nid = target_nid, in demote_folio_list() 1671 if (target_nid == NUMA_NO_NODE) in demote_folio_list()
|