Home
last modified time | relevance | path

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

1234567

/linux/include/linux/
A Dtopology.h93 #ifndef cpu_to_node
94 static inline int cpu_to_node(int cpu) in cpu_to_node() function
120 return cpu_to_node(raw_smp_processor_id()); in numa_node_id()
177 return cpu_to_node(cpu); in cpu_to_mem()
224 return cpumask_of_node(cpu_to_node(cpu)); in cpu_cpu_mask()
/linux/arch/s390/include/asm/
A Dtopology.h74 #define cpu_to_node cpu_to_node macro
75 static inline int cpu_to_node(int cpu) in cpu_to_node() function
/linux/drivers/watchdog/
A Docteon-wdt-main.c134 int node = cpu_to_node(cpu); in octeon_wdt_poke_irq()
309 node = cpu_to_node(cpu); in octeon_wdt_cpu_to_irq()
333 node = cpu_to_node(cpu); in octeon_wdt_cpu_pre_down()
356 node = cpu_to_node(cpu); in octeon_wdt_cpu_online()
416 node = cpu_to_node(cpu); in octeon_wdt_ping()
473 node = cpu_to_node(cpu); in octeon_wdt_set_timeout()
/linux/include/asm-generic/
A Dtopology.h34 #ifndef cpu_to_node
35 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/linux/arch/arm64/kernel/
A Dirq.c47 scs_alloc(cpu_to_node(cpu)); in init_irq_scs()
57 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu)); in init_irq_stacks()
A Dsdei.c78 p = arch_alloc_vmap_stack(SDEI_STACK_SIZE, cpu_to_node(cpu)); in _init_sdei_stack()
134 s = scs_alloc(cpu_to_node(cpu)); in _init_sdei_scs()
/linux/drivers/base/test/
A Dtest_async_driver_probe.c113 nid = cpu_to_node(cpu); in test_async_probe_init()
148 nid = cpu_to_node(cpu); in test_async_probe_init()
177 nid = cpu_to_node(cpu); in test_async_probe_init()
/linux/drivers/base/
A 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()
363 cpu->node_id = cpu_to_node(num); in register_cpu()
384 register_cpu_under_node(num, cpu_to_node(num)); in register_cpu()
/linux/arch/powerpc/kernel/
A Dsmp.c904 zalloc_cpumask_var_node(mask, GFP_KERNEL, cpu_to_node(cpu)); in update_mask_from_threadgroup()
1039 cpu_to_node(cpu)); in init_big_cores()
1076 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus()
1078 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus()
1080 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus()
1083 GFP_KERNEL, cpu_to_node(cpu)); in smp_prepare_cpus()
1526 map_cpu_to_node(cpu, cpu_to_node(cpu)); in add_cpu_to_masks()
1537 ret = alloc_cpumask_var_node(&mask, GFP_ATOMIC, cpu_to_node(cpu)); in add_cpu_to_masks()
/linux/arch/powerpc/perf/
A Dimc-pmu.c373 nid = cpu_to_node(cpu); in ppc_nest_imc_cpu_offline()
414 l_cpumask = cpumask_of_node(cpu_to_node(cpu)); in ppc_nest_imc_cpu_online()
453 node_id = cpu_to_node(event->cpu); in nest_imc_counters_release()
549 node_id = cpu_to_node(event->cpu); in nest_imc_event_init()
596 nid = cpu_to_node(cpu); in core_imc_mem_init()
913 int nid = cpu_to_node(cpu_id); in thread_imc_mem_alloc()
1197 int phys_id = cpu_to_node(cpu_id), rc = 0; in trace_imc_mem_alloc()
1544 nid = cpu_to_node(cpu); in init_nest_pmu_ref()
/linux/lib/
A Dcpu_rmap.c183 cpumask_of_node(cpu_to_node(cpu))); in cpu_rmap_update()
197 cpumask_of_node(cpu_to_node(cpu)), 3)) in cpu_rmap_update()
/linux/arch/mips/include/asm/mach-loongson64/
A Dtopology.h7 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) macro
/linux/arch/sh/include/asm/
A Dtopology.h7 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/linux/arch/mips/include/asm/sn/
A Dagent.h29 REMOTE_HUB_ADDR(cpu_to_node(_cpuid), \
/linux/arch/mips/include/asm/mach-ip27/
A Dtopology.h16 #define cpu_to_node(cpu) (cputonasid(cpu)) macro
/linux/drivers/hv/
A Dhyperv_vmbus.h432 cpumask_set_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_set_alloced_cpu()
439 cpumask_clear_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_clear_alloced_cpu()
/linux/include/trace/events/
A Dsched.h597 __entry->src_nid = cpu_to_node(src_cpu);
599 __entry->dst_nid = cpu_to_node(dst_cpu);
633 __entry->src_nid = cpu_to_node(src_cpu);
638 __entry->dst_nid = dst_cpu >= 0 ? cpu_to_node(dst_cpu) : -1;
/linux/arch/mips/mm/
A Dinit.c519 return node_distance(cpu_to_node(from), cpu_to_node(to)); in pcpu_cpu_distance()
527 cpu_to_node(cpu)); in pcpu_fc_alloc()
/linux/arch/mips/sgi-ip27/
A Dip27-irq.c79 nasid = cpu_to_node(cpu); in setup_hub_mask()
145 info->nasid = cpu_to_node(hd->cpu); in hub_domain_alloc()
/linux/drivers/platform/x86/
A Dintel_scu_wdt.c38 ioapic_set_alloc_attr(&info, cpu_to_node(0), 1, 0); in tangier_probe()
/linux/arch/sparc/include/asm/
A Dtopology_64.h9 static inline int cpu_to_node(int cpu) in cpu_to_node() function
/linux/crypto/
A Dscompress.c93 mem = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()
97 mem = vmalloc_node(SCOMP_SCRATCH_SIZE, cpu_to_node(i)); in crypto_scomp_alloc_scratches()
/linux/kernel/events/
A Dring_buffer.c671 int node = (event->cpu == -1) ? -1 : cpu_to_node(event->cpu); in rb_alloc_aux()
789 node = (cpu == -1) ? cpu : cpu_to_node(cpu); in perf_mmap_alloc_page()
817 node = (cpu == -1) ? cpu : cpu_to_node(cpu); in rb_alloc()
917 node = (cpu == -1) ? cpu : cpu_to_node(cpu); in rb_alloc()
/linux/block/
A Dblk-mq-cpumap.c92 return cpu_to_node(i); in blk_mq_hw_queue_to_node()
/linux/kernel/sched/
A Dtopology.c921 GFP_KERNEL, cpu_to_node(cpu)); in build_group_from_child_sched_domain()
1670 return sched_domains_numa_masks[sched_domains_curr_level][cpu_to_node(cpu)]; in sd_numa_mask()
1967 int node = cpu_to_node(cpu); in sched_domains_numa_masks_set()
2004 int i, j = cpu_to_node(cpu); in sched_numa_find_closest()
2047 GFP_KERNEL, cpu_to_node(j)); in __sdt_alloc()
2054 GFP_KERNEL, cpu_to_node(j)); in __sdt_alloc()
2061 GFP_KERNEL, cpu_to_node(j)); in __sdt_alloc()
2070 GFP_KERNEL, cpu_to_node(j)); in __sdt_alloc()

Completed in 33 milliseconds

1234567