Home
last modified time | relevance | path

Searched refs:cpu_to_node (Results 1 – 16 of 16) sorted by relevance

/linux-4.19.296/include/linux/
Dtopology.h78 #ifndef cpu_to_node
79 static inline int cpu_to_node(int cpu) in cpu_to_node() function
105 return cpu_to_node(raw_smp_processor_id()); in numa_node_id()
155 _node_numa_mem_[cpu_to_node(cpu)] = node; in set_cpu_numa_mem()
179 return cpu_to_node(cpu); in cpu_to_mem()
207 return cpumask_of_node(cpu_to_node(cpu)); in cpu_cpu_mask()
Dmm.h1012 return cpu_to_node(cpupid_to_cpu(cpupid)); in cpupid_to_nid()
/linux-4.19.296/include/asm-generic/
Dtopology.h34 #ifndef cpu_to_node
35 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/linux-4.19.296/drivers/base/
Dcpu.c54 from_nid = cpu_to_node(cpuid); in cpu_subsys_online()
63 to_nid = cpu_to_node(cpuid); in cpu_subsys_online()
79 unregister_cpu_under_node(logical_cpu, cpu_to_node(logical_cpu)); in unregister_cpu()
370 cpu->node_id = cpu_to_node(num); in register_cpu()
391 register_cpu_under_node(num, cpu_to_node(num)); in register_cpu()
Dnode.c588 if (cpu_to_node(cpu) == nid) in __register_one_node()
/linux-4.19.296/block/
Dblk-mq-cpumap.c71 return local_memory_node(cpu_to_node(i)); in blk_mq_hw_queue_to_node()
Dblk-mq.c2287 hctx->numa_node = local_memory_node(cpu_to_node(i)); in blk_mq_init_cpu_queues()
/linux-4.19.296/lib/
Dcpu_rmap.c186 cpumask_of_node(cpu_to_node(cpu))); in cpu_rmap_update()
200 cpumask_of_node(cpu_to_node(cpu)), 3)) in cpu_rmap_update()
/linux-4.19.296/include/trace/events/
Dsched.h504 __entry->src_nid = cpu_to_node(src_cpu);
506 __entry->dst_nid = cpu_to_node(dst_cpu);
556 __entry->src_nid = cpu_to_node(src_cpu);
561 __entry->dst_nid = cpu_to_node(dst_cpu);
/linux-4.19.296/include/linux/sched/
Dtopology.h224 return cpu_to_node(task_cpu(p)); in task_node()
/linux-4.19.296/crypto/
Dscompress.c93 scratch = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()
/linux-4.19.296/drivers/xen/
Dxen-acpi-processor.c549 GFP_KERNEL, cpu_to_node(i))) { in xen_acpi_processor_init()
/linux-4.19.296/drivers/edac/
Dmce_amd.c887 decode_dram_ecc(cpu_to_node(m->extcpu), m); in decode_smca_error()
/linux-4.19.296/drivers/cpufreq/
Dacpi-cpufreq.c582 GFP_KERNEL, cpu_to_node(i))) { in acpi_cpufreq_early_init()
/linux-4.19.296/drivers/pci/
Dmsi.c1336 return local_memory_node(cpu_to_node(cpumask_first(mask))); in pci_irq_get_node()
/linux-4.19.296/drivers/misc/sgi-xp/
Dxpc_uv.c241 nid = cpu_to_node(cpu); in xpc_create_gru_mq_uv()