/linux-6.1.9/include/linux/ |
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()
|
D | gfp.h | 271 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/ |
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-6.1.9/arch/x86/include/asm/ |
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-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 1796 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/ |
D | topology.c | 68 if (i != numa_node_id()) in topology_init()
|
/linux-6.1.9/drivers/base/test/ |
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-6.1.9/mm/ |
D | mempolicy.c | 169 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/ |
D | ipr.c | 66 res = irq_alloc_desc_at(p->irq, numa_node_id()); in register_ipr_controller()
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | numa.rst | 93 一个典型的分配模式是使用内核的numa_node_id()或CPU_to_node()函数获得“当前CPU”所在节点的
|
D | hmm.rst | 243 memremap_pages(&pagemap, numa_node_id());
|
/linux-6.1.9/arch/sh/boards/mach-se/7724/ |
D | irq.c | 125 SE7724_FPGA_IRQ_NR, numa_node_id()); in init_se7724_IRQ()
|
/linux-6.1.9/arch/mips/mti-malta/ |
D | malta-int.c | 180 16, numa_node_id()) < 0, in arch_init_irq()
|
/linux-6.1.9/drivers/char/ |
D | mspec.c | 146 maddr = uncached_alloc_page(numa_node_id(), 1); in mspec_fault()
|
/linux-6.1.9/arch/arm/mach-imx/ |
D | tzic.c | 175 irq_base = irq_alloc_descs(-1, 0, TZIC_NUM_IRQS, numa_node_id()); in tzic_init_dt()
|
D | avic.c | 200 irq_base = irq_alloc_descs(-1, 0, AVIC_NUM_IRQS, numa_node_id()); in mxc_init_irq()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | uncached.c | 187 starting_nid = numa_node_id(); in uncached_alloc_page()
|
/linux-6.1.9/drivers/md/ |
D | dm-core.h | 65 int numa_node_id; member
|
D | dm-rq.c | 538 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()
|
D | dm.c | 743 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/ |
D | x2apic_uv_x.c | 1770 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/ |
D | irq-clps711x.c | 180 err = irq_alloc_descs(-1, 0, ARRAY_SIZE(clps711x_irqs), numa_node_id()); in _clps711x_intc_init()
|
D | irq-hip04.c | 383 irq_base = irq_alloc_descs(-1, 0, nr_irqs, numa_node_id()); in hip04_of_init()
|
/linux-6.1.9/drivers/sh/intc/ |
D | virq.c | 225 irq = irq_alloc_desc(numa_node_id()); in intc_subgroup_map()
|
/linux-6.1.9/drivers/dma/ipu/ |
D | ipu_irq.c | 318 numa_node_id()); in ipu_irq_attach_irq()
|