Home
last modified time | relevance | path

Searched refs:numa_node_id (Results 1 – 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
Dtopology.h85 #ifndef numa_node_id
87 static inline int numa_node_id(void) in numa_node_id() function
117 #ifndef numa_node_id
118 static inline int numa_node_id(void) in numa_node_id() function
170 return numa_node_id(); in numa_mem_id()
Dgfp.h564 alloc_pages_vma(gfp_mask, order, vma, addr, numa_node_id(), true)
568 return alloc_pages_node(numa_node_id(), gfp_mask, order); in alloc_pages()
577 alloc_pages_vma(gfp_mask, 0, vma, addr, numa_node_id(), false)
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dtopology.h91 #define numa_node_id numa_node_id macro
92 static inline int numa_node_id(void) in numa_node_id() function
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dtopology.h85 static inline int numa_node_id(void) in numa_node_id() function
92 #define numa_node_id numa_node_id macro
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c834 static int kfd_fill_cu_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_cu_for_cpu() argument
851 cpumask = cpumask_of_node(numa_node_id); in kfd_fill_cu_for_cpu()
856 sub_type_hdr->processor_id_low = kfd_numa_node_to_apic_id(numa_node_id); in kfd_fill_cu_for_cpu()
873 static int kfd_fill_mem_info_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_mem_info_for_cpu() argument
898 pgdat = NODE_DATA(numa_node_id); in kfd_fill_mem_info_for_cpu()
911 static int kfd_fill_iolink_info_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_iolink_info_for_cpu() argument
928 if (nid == numa_node_id) /* node itself */ in kfd_fill_iolink_info_for_cpu()
943 sub_type_hdr->proximity_domain_from = numa_node_id; in kfd_fill_iolink_info_for_cpu()
968 int numa_node_id; in kfd_create_vcrat_image_cpu() local
1005 for_each_online_node(numa_node_id) { in kfd_create_vcrat_image_cpu()
[all …]
Dkfd_topology.c1507 int kfd_numa_node_to_apic_id(int numa_node_id) in kfd_numa_node_to_apic_id() argument
1509 if (numa_node_id == -1) { in kfd_numa_node_to_apic_id()
1513 return kfd_cpumask_to_apic_id(cpumask_of_node(numa_node_id)); in kfd_numa_node_to_apic_id()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dtopology.c73 if (i != numa_node_id()) in topology_init()
/kernel/linux/linux-5.10/drivers/base/test/
Dtest_async_driver_probe.c48 dev_to_node(dev) != numa_node_id()) { in test_probe()
50 dev_to_node(dev), numa_node_id()); in test_probe()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/irq/
Dipr.c66 res = irq_alloc_desc_at(p->irq, numa_node_id()); in register_ipr_controller()
/kernel/linux/linux-5.10/drivers/md/
Ddm-core.h55 int numa_node_id; member
Ddm-rq.c542 md->tag_set = kzalloc_node(sizeof(struct blk_mq_tag_set), GFP_KERNEL, md->numa_node_id); in dm_mq_init_request_queue()
548 md->tag_set->numa_node = md->numa_node_id; in dm_mq_init_request_queue()
Ddm.c809 td = kmalloc_node(sizeof(*td), GFP_KERNEL, md->numa_node_id); in dm_get_table_device()
1825 int r, numa_node_id = dm_get_numa_node(); in alloc_dev() local
1829 md = kvzalloc_node(sizeof(*md), GFP_KERNEL, numa_node_id); in alloc_dev()
1850 md->numa_node_id = numa_node_id; in alloc_dev()
1870 md->queue = blk_alloc_queue(numa_node_id); in alloc_dev()
1874 md->disk = alloc_disk_node(1, md->numa_node_id); in alloc_dev()
2917 struct dm_md_mempools *pools = kzalloc_node(sizeof(*pools), GFP_KERNEL, md->numa_node_id); in dm_alloc_md_mempools()
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7724/
Dirq.c125 SE7724_FPGA_IRQ_NR, numa_node_id()); in init_se7724_IRQ()
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-int.c180 16, numa_node_id()) < 0, in arch_init_irq()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Duncached.c189 starting_nid = numa_node_id(); in uncached_alloc_page()
/kernel/linux/linux-5.10/arch/arm/mach-imx/
Davic.c199 irq_base = irq_alloc_descs(-1, 0, AVIC_NUM_IRQS, numa_node_id()); in mxc_init_irq()
Dtzic.c175 irq_base = irq_alloc_descs(-1, 0, TZIC_NUM_IRQS, numa_node_id()); in tzic_init_dt()
/kernel/linux/linux-5.10/drivers/char/
Dmspec.c146 maddr = uncached_alloc_page(numa_node_id(), 1); in mspec_fault()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-clps711x.c180 err = irq_alloc_descs(-1, 0, ARRAY_SIZE(clps711x_irqs), numa_node_id()); in _clps711x_intc_init()
Dirq-hip04.c387 irq_base = irq_alloc_descs(-1, 0, nr_irqs, numa_node_id()); in hip04_of_init()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dx2apic_uv_x.c1751 int numa_node_id; in uv_system_init_hub() local
1755 numa_node_id = numa_cpu_node(cpu); in uv_system_init_hub()
1764 if (nodeid != numa_node_id && in uv_system_init_hub()
1765 uv_hub_info_list(numa_node_id)->pnode == 0xffff) in uv_system_init_hub()
1766 uv_hub_info_list(numa_node_id)->pnode = pnode; in uv_system_init_hub()
/kernel/linux/linux-5.10/mm/
Dmempolicy.c164 node = numa_node_id(); in get_task_policy()
1967 return numa_node_id(); in offset_il_node()
2025 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
2061 nid = numa_node_id(); in init_nodemask_of_mempolicy()
2267 policy_node(gfp, pol, numa_node_id()), in alloc_pages_current()
2482 polnid = numa_node_id(); in mpol_misplaced()
2498 node_zonelist(numa_node_id(), GFP_HIGHUSER), in mpol_misplaced()
/kernel/linux/linux-5.10/drivers/sh/intc/
Dvirq.c225 irq = irq_alloc_desc(numa_node_id()); in intc_subgroup_map()
/kernel/linux/linux-5.10/drivers/dma/ipu/
Dipu_irq.c318 numa_node_id()); in ipu_irq_attach_irq()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-mxs.c319 irq_base = devm_irq_alloc_descs(&pdev->dev, -1, 0, 32, numa_node_id()); in mxs_gpio_probe()

123