Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/dax/hmem/
Ddevice.c36 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()
Dhmem.c61 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/
Ddax.h278 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/
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.6.21/drivers/acpi/numa/
Dhmat.c719 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/
Dhuge_memory.c1496 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()
Dmemory.c4766 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()
Dvmscan.c1652 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()