/linux/include/linux/ |
A D | topology.h | 85 #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()
|
A D | gfp.h | 603 alloc_pages_vma(gfp_mask, order, vma, addr, numa_node_id(), true) 607 return alloc_pages_node(numa_node_id(), gfp_mask, order); in alloc_pages() 611 return __folio_alloc_node(gfp, order, numa_node_id()); in folio_alloc() 620 alloc_pages_vma(gfp_mask, 0, vma, addr, numa_node_id(), false)
|
/linux/arch/s390/include/asm/ |
A D | topology.h | 91 #define numa_node_id numa_node_id macro 92 static inline int numa_node_id(void) in numa_node_id() function
|
/linux/arch/x86/include/asm/ |
A D | topology.h | 85 static inline int numa_node_id(void) in numa_node_id() function 92 #define numa_node_id numa_node_id macro
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_crat.c | 1602 static int kfd_fill_cu_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_cu_for_cpu() argument 1619 cpumask = cpumask_of_node(numa_node_id); in kfd_fill_cu_for_cpu() 1666 pgdat = NODE_DATA(numa_node_id); in kfd_fill_mem_info_for_cpu() 1696 if (nid == numa_node_id) /* node itself */ in kfd_fill_iolink_info_for_cpu() 1711 sub_type_hdr->proximity_domain_from = numa_node_id; in kfd_fill_iolink_info_for_cpu() 1736 int numa_node_id; in kfd_create_vcrat_image_cpu() local 1773 for_each_online_node(numa_node_id) { in kfd_create_vcrat_image_cpu() 1774 if (kfd_numa_node_to_apic_id(numa_node_id) == -1) in kfd_create_vcrat_image_cpu() 1778 ret = kfd_fill_cu_for_cpu(numa_node_id, &avail_size, in kfd_create_vcrat_image_cpu() 1790 ret = kfd_fill_mem_info_for_cpu(numa_node_id, &avail_size, in kfd_create_vcrat_image_cpu() [all …]
|
A D | kfd_topology.c | 1580 int kfd_numa_node_to_apic_id(int numa_node_id) in kfd_numa_node_to_apic_id() argument 1582 if (numa_node_id == -1) { in kfd_numa_node_to_apic_id() 1586 return kfd_cpumask_to_apic_id(cpumask_of_node(numa_node_id)); in kfd_numa_node_to_apic_id()
|
/linux/drivers/base/test/ |
A D | test_async_driver_probe.c | 48 dev_to_node(dev) != numa_node_id()) { in test_probe() 50 dev_to_node(dev), numa_node_id()); in test_probe()
|
/linux/mm/ |
A D | mempolicy.c | 166 node = numa_node_id(); in get_task_policy() 1888 return numa_node_id(); in offset_il_node() 1948 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 1989 init_nodemask_of_node(mask, numa_node_id()); in init_nodemask_of_mempolicy() 2064 page = __alloc_pages(gfp, order, numa_node_id(), NULL); in alloc_pages_preferred_many() 2188 numa_node_id(), pol); in alloc_pages() 2191 policy_node(gfp, pol, numa_node_id()), in alloc_pages() 2257 nr_allocated += __alloc_pages_bulk(gfp, numa_node_id(), NULL, in alloc_pages_bulk_array_preferred_many() 2283 numa_node_id(), pol, nr_pages, page_array); in alloc_pages_bulk_array_mempolicy() 2499 polnid = numa_node_id(); in mpol_misplaced() [all …]
|
/linux/arch/sh/kernel/ |
A D | topology.c | 73 if (i != numa_node_id()) in topology_init()
|
/linux/arch/sh/kernel/cpu/irq/ |
A D | ipr.c | 66 res = irq_alloc_desc_at(p->irq, numa_node_id()); in register_ipr_controller()
|
/linux/arch/sh/boards/mach-se/7724/ |
A D | irq.c | 125 SE7724_FPGA_IRQ_NR, numa_node_id()); in init_se7724_IRQ()
|
/linux/arch/mips/mti-malta/ |
A D | malta-int.c | 180 16, numa_node_id()) < 0, in arch_init_irq()
|
/linux/drivers/md/ |
A D | dm-core.h | 55 int numa_node_id; member
|
A D | dm-rq.c | 543 md->tag_set = kzalloc_node(sizeof(struct blk_mq_tag_set), GFP_KERNEL, md->numa_node_id); in dm_mq_init_request_queue() 549 md->tag_set->numa_node = md->numa_node_id; in dm_mq_init_request_queue()
|
A D | dm.c | 696 td = kmalloc_node(sizeof(*td), GFP_KERNEL, md->numa_node_id); in dm_get_table_device() 1719 int r, numa_node_id = dm_get_numa_node(); in alloc_dev() local 1723 md = kvzalloc_node(sizeof(*md), GFP_KERNEL, numa_node_id); in alloc_dev() 1744 md->numa_node_id = numa_node_id; in alloc_dev() 1764 md->disk = blk_alloc_disk(md->numa_node_id); in alloc_dev() 2804 struct dm_md_mempools *pools = kzalloc_node(sizeof(*pools), GFP_KERNEL, md->numa_node_id); in dm_alloc_md_mempools()
|
/linux/drivers/char/ |
A D | mspec.c | 146 maddr = uncached_alloc_page(numa_node_id(), 1); in mspec_fault()
|
/linux/arch/ia64/kernel/ |
A D | uncached.c | 187 starting_nid = numa_node_id(); in uncached_alloc_page()
|
/linux/arch/arm/mach-imx/ |
A D | tzic.c | 175 irq_base = irq_alloc_descs(-1, 0, TZIC_NUM_IRQS, numa_node_id()); in tzic_init_dt()
|
A D | avic.c | 200 irq_base = irq_alloc_descs(-1, 0, AVIC_NUM_IRQS, numa_node_id()); in mxc_init_irq()
|
/linux/arch/x86/kernel/apic/ |
A D | x2apic_uv_x.c | 1760 int numa_node_id; in uv_system_init_hub() local 1764 numa_node_id = numa_cpu_node(cpu); in uv_system_init_hub() 1773 if (nodeid != numa_node_id && in uv_system_init_hub() 1774 uv_hub_info_list(numa_node_id)->pnode == 0xffff) in uv_system_init_hub() 1775 uv_hub_info_list(numa_node_id)->pnode = pnode; in uv_system_init_hub()
|
/linux/drivers/irqchip/ |
A D | irq-clps711x.c | 180 err = irq_alloc_descs(-1, 0, ARRAY_SIZE(clps711x_irqs), numa_node_id()); in _clps711x_intc_init()
|
A D | irq-hip04.c | 383 irq_base = irq_alloc_descs(-1, 0, nr_irqs, numa_node_id()); in hip04_of_init()
|
/linux/drivers/sh/intc/ |
A D | virq.c | 225 irq = irq_alloc_desc(numa_node_id()); in intc_subgroup_map()
|
/linux/drivers/dma/ipu/ |
A D | ipu_irq.c | 318 numa_node_id()); in ipu_irq_attach_irq()
|
/linux/drivers/gpio/ |
A D | gpio-mxs.c | 301 irq_base = devm_irq_alloc_descs(&pdev->dev, -1, 0, 32, numa_node_id()); in mxs_gpio_probe()
|