Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/dax/hmem/
A 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()
A Dhmem.c67 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 Ddax.h265 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 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.3-rc2/drivers/acpi/numa/
A 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.3-rc2/mm/
A Dhuge_memory.c1510 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 Dmemory.c4656 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 Dvmscan.c1604 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