Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.h271 return alloc_pages_node(numa_node_id(), gfp_mask, order); in alloc_pages()
275 return __folio_alloc_node(gfp, order, numa_node_id()); in folio_alloc()
/linux-6.1.9/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
/linux-6.1.9/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
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1796 static int kfd_fill_cu_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_cu_for_cpu() argument
1813 cpumask = cpumask_of_node(numa_node_id); in kfd_fill_cu_for_cpu()
1818 sub_type_hdr->processor_id_low = kfd_numa_node_to_apic_id(numa_node_id); in kfd_fill_cu_for_cpu()
1835 static int kfd_fill_mem_info_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_mem_info_for_cpu() argument
1860 pgdat = NODE_DATA(numa_node_id); in kfd_fill_mem_info_for_cpu()
1873 static int kfd_fill_iolink_info_for_cpu(int numa_node_id, int *avail_size, in kfd_fill_iolink_info_for_cpu() argument
1890 if (nid == numa_node_id) /* node itself */ in kfd_fill_iolink_info_for_cpu()
1905 sub_type_hdr->proximity_domain_from = numa_node_id; in kfd_fill_iolink_info_for_cpu()
1930 int numa_node_id; in kfd_create_vcrat_image_cpu() local
1967 for_each_online_node(numa_node_id) { in kfd_create_vcrat_image_cpu()
[all …]
/linux-6.1.9/arch/sh/kernel/
Dtopology.c68 if (i != numa_node_id()) in topology_init()
/linux-6.1.9/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()
/linux-6.1.9/mm/
Dmempolicy.c169 node = numa_node_id(); in get_task_policy()
1971 return numa_node_id(); in offset_il_node()
2031 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
2072 init_nodemask_of_node(mask, numa_node_id()); in init_nodemask_of_mempolicy()
2171 int node = numa_node_id(); in vma_alloc_folio()
2284 policy_node(gfp, pol, numa_node_id()), pol); in alloc_pages()
2287 policy_node(gfp, pol, numa_node_id()), in alloc_pages()
2353 nr_allocated += __alloc_pages_bulk(gfp, numa_node_id(), NULL, in alloc_pages_bulk_array_preferred_many()
2379 numa_node_id(), pol, nr_pages, page_array); in alloc_pages_bulk_array_mempolicy()
2381 return __alloc_pages_bulk(gfp, policy_node(gfp, pol, numa_node_id()), in alloc_pages_bulk_array_mempolicy()
[all …]
/linux-6.1.9/arch/sh/kernel/cpu/irq/
Dipr.c66 res = irq_alloc_desc_at(p->irq, numa_node_id()); in register_ipr_controller()
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dnuma.rst93 一个典型的分配模式是使用内核的numa_node_id()或CPU_to_node()函数获得“当前CPU”所在节点的
Dhmm.rst243 memremap_pages(&pagemap, numa_node_id());
/linux-6.1.9/arch/sh/boards/mach-se/7724/
Dirq.c125 SE7724_FPGA_IRQ_NR, numa_node_id()); in init_se7724_IRQ()
/linux-6.1.9/arch/mips/mti-malta/
Dmalta-int.c180 16, numa_node_id()) < 0, in arch_init_irq()
/linux-6.1.9/drivers/char/
Dmspec.c146 maddr = uncached_alloc_page(numa_node_id(), 1); in mspec_fault()
/linux-6.1.9/arch/arm/mach-imx/
Dtzic.c175 irq_base = irq_alloc_descs(-1, 0, TZIC_NUM_IRQS, numa_node_id()); in tzic_init_dt()
Davic.c200 irq_base = irq_alloc_descs(-1, 0, AVIC_NUM_IRQS, numa_node_id()); in mxc_init_irq()
/linux-6.1.9/arch/ia64/kernel/
Duncached.c187 starting_nid = numa_node_id(); in uncached_alloc_page()
/linux-6.1.9/drivers/md/
Ddm-core.h65 int numa_node_id; member
Ddm-rq.c538 md->tag_set = kzalloc_node(sizeof(struct blk_mq_tag_set), GFP_KERNEL, md->numa_node_id); in dm_mq_init_request_queue()
544 md->tag_set->numa_node = md->numa_node_id; in dm_mq_init_request_queue()
Ddm.c743 td = kmalloc_node(sizeof(*td), GFP_KERNEL, md->numa_node_id); in open_table_device()
2017 int r, numa_node_id = dm_get_numa_node(); in alloc_dev() local
2021 md = kvzalloc_node(sizeof(*md), GFP_KERNEL, numa_node_id); in alloc_dev()
2042 md->numa_node_id = numa_node_id; in alloc_dev()
2062 md->disk = blk_alloc_disk(md->numa_node_id); in alloc_dev()
/linux-6.1.9/arch/x86/kernel/apic/
Dx2apic_uv_x.c1770 int numa_node_id; in uv_system_init_hub() local
1774 numa_node_id = numa_cpu_node(cpu); in uv_system_init_hub()
1783 if (nodeid != numa_node_id && in uv_system_init_hub()
1784 uv_hub_info_list(numa_node_id)->pnode == 0xffff) in uv_system_init_hub()
1785 uv_hub_info_list(numa_node_id)->pnode = pnode; in uv_system_init_hub()
/linux-6.1.9/drivers/irqchip/
Dirq-clps711x.c180 err = irq_alloc_descs(-1, 0, ARRAY_SIZE(clps711x_irqs), numa_node_id()); in _clps711x_intc_init()
Dirq-hip04.c383 irq_base = irq_alloc_descs(-1, 0, nr_irqs, numa_node_id()); in hip04_of_init()
/linux-6.1.9/drivers/sh/intc/
Dvirq.c225 irq = irq_alloc_desc(numa_node_id()); in intc_subgroup_map()
/linux-6.1.9/drivers/dma/ipu/
Dipu_irq.c318 numa_node_id()); in ipu_irq_attach_irq()

123