Searched refs:cpu_to_node (Results 1 – 16 of 16) sorted by relevance
78 #ifndef cpu_to_node79 static inline int cpu_to_node(int cpu) in cpu_to_node() function105 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()
1012 return cpu_to_node(cpupid_to_cpu(cpupid)); in cpupid_to_nid()
34 #ifndef cpu_to_node35 #define cpu_to_node(cpu) ((void)(cpu),0) macro
54 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()
588 if (cpu_to_node(cpu) == nid) in __register_one_node()
71 return local_memory_node(cpu_to_node(i)); in blk_mq_hw_queue_to_node()
2287 hctx->numa_node = local_memory_node(cpu_to_node(i)); in blk_mq_init_cpu_queues()
186 cpumask_of_node(cpu_to_node(cpu))); in cpu_rmap_update()200 cpumask_of_node(cpu_to_node(cpu)), 3)) in cpu_rmap_update()
504 __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);
224 return cpu_to_node(task_cpu(p)); in task_node()
93 scratch = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()
549 GFP_KERNEL, cpu_to_node(i))) { in xen_acpi_processor_init()
887 decode_dram_ecc(cpu_to_node(m->extcpu), m); in decode_smca_error()
582 GFP_KERNEL, cpu_to_node(i))) { in acpi_cpufreq_early_init()
1336 return local_memory_node(cpu_to_node(cpumask_first(mask))); in pci_irq_get_node()
241 nid = cpu_to_node(cpu); in xpc_create_gru_mq_uv()