| /linux/arch/s390/include/asm/ |
| H A D | smp.h | 20 BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu)); in raw_smp_processor_id() 21 lc_cpu_nr = offsetof(struct lowcore, cpu_nr); in raw_smp_processor_id() 29 "m" (((struct lowcore *)0)->cpu_nr)); in raw_smp_processor_id()
|
| H A D | entry-percpu.h | 14 regs->cpu = lc->cpu_nr; in percpu_entry() 29 if (regs->cpu == lc->cpu_nr) in percpu_exit()
|
| H A D | lowcore.h | 161 __u32 cpu_nr; /* 0x03a0 */ member
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_ad7417_sensor.c | 237 int cpu_nr; in wf_ad7417_probe() local 250 cpu_nr = 0; in wf_ad7417_probe() 252 cpu_nr = 1; in wf_ad7417_probe() 257 mpu = wf_get_mpu(cpu_nr); in wf_ad7417_probe() 270 pv->cpu = cpu_nr; in wf_ad7417_probe()
|
| /linux/arch/powerpc/kvm/ |
| H A D | trace.h | 105 __field( __u32, cpu_nr ) 110 __entry->cpu_nr = vcpu->vcpu_id; 115 __entry->cpu_nr, __entry->requests)
|
| H A D | trace_booke.h | 184 __field( __u32, cpu_nr ) 190 __entry->cpu_nr = vcpu->vcpu_id; 196 __entry->cpu_nr,
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | smp.c | 400 static void __init smp_psurge_setup_cpu(int cpu_nr) in smp_psurge_setup_cpu() argument 405 if (cpu_nr != 0 || !psurge_start) in smp_psurge_setup_cpu() 838 static void smp_core99_setup_cpu(int cpu_nr) in smp_core99_setup_cpu() argument 841 if (cpu_nr != 0) in smp_core99_setup_cpu() 842 core99_init_caches(cpu_nr); in smp_core99_setup_cpu()
|
| /linux/arch/powerpc/platforms/chrp/ |
| H A D | smp.c | 40 static void smp_chrp_setup_cpu(int cpu_nr) in smp_chrp_setup_cpu() argument
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | hwctrset.h | 37 __u32 cpu_nr; /* CPU number */ member
|
| /linux/tools/perf/util/ |
| H A D | bpf_off_cpu.c | 95 int cpu_nr = pcpu.cpu; in off_cpu_start() 97 err = bpf_map__update_elem(skel->maps.offcpu_output, &cpu_nr, sizeof(int), in off_cpu_start() 98 xyarray__entry(evsel->core.fd, cpu_nr, 0), in off_cpu_start() 93 int cpu_nr = pcpu.cpu; off_cpu_start() local
|
| H A D | header.c | 2114 int cpu_nr = ph->env.nr_cpus_avail; in read_event_desc() 2146 for (i = 0; i < cpu_nr; i++) in read_event_desc() 2157 for (i = 0; i < cpu_nr; i++) in read_event_desc() 3230 int cpu_nr = env->nr_cpus_avail; 3233 if (cpu_nr == 0) { in process_clockid() 3238 env->cpu = calloc(cpu_nr, sizeof(*env->cpu)); in process_clockid() 3245 if (nr > (u32)cpu_nr) { in process_clock_data() 3247 nr, cpu_nr); in process_clock_data() 3272 if (nr > (u32)cpu_nr) { in process_clock_data() 3274 nr, cpu_nr); in process_clock_data() 1857 int cpu_nr = ph->env.nr_cpus_avail; print_cpu_topology() local 2794 int cpu_nr = env->nr_cpus_avail; process_cpu_topology() local [all...] |
| /linux/drivers/thermal/ |
| H A D | armada_thermal.c | 106 unsigned int cpu_nr; member 317 if (channel < 0 || channel > priv->data->cpu_nr) in armada_select_channel() 626 .cpu_nr = 4, 650 .cpu_nr = 4, 912 for (sensor_id = 0; sensor_id <= priv->data->cpu_nr; sensor_id++) { in armada_thermal_probe()
|
| /linux/fs/xfs/ |
| H A D | xfs_log_cil.c | 645 unsigned int cpu_nr; in xlog_cil_insert_items() local 669 cpu_nr = get_cpu(); in xlog_cil_insert_items() 673 if (!cpumask_test_cpu(cpu_nr, &ctx->cil_pcpmask)) in xlog_cil_insert_items() 674 cpumask_test_and_set_cpu(cpu_nr, &ctx->cil_pcpmask); in xlog_cil_insert_items()
|
| H A D | xfs_icache.c | 2181 unsigned int cpu_nr; in xfs_inodegc_queue() local 2189 cpu_nr = get_cpu(); in xfs_inodegc_queue() 2202 if (!cpumask_test_cpu(cpu_nr, &mp->m_inodegc_cpumask)) in xfs_inodegc_queue() 2203 cpumask_test_and_set_cpu(cpu_nr, &mp->m_inodegc_cpumask); in xfs_inodegc_queue()
|
| /linux/arch/s390/kernel/ |
| H A D | smp.c | 198 lc->cpu_nr = cpu; in pcpu_alloc_lowcore() 248 lc->cpu_nr = cpu; in pcpu_prepare_secondary() 967 lc->cpu_nr = 0; in smp_setup_processor_id()
|
| H A D | perf_cpum_cf.c | 1541 (bytes + sizeof(((struct s390_ctrset_cpudata *)0)->cpu_nr) + in cfset_needspace() 1559 rc = put_user(cpu, &ctrset_cpudata->cpu_nr); in cfset_all_copy()
|
| /linux/Documentation/networking/ |
| H A D | netconsole.rst | 306 `cpu_nr` under the `userdata` directory. This file is used to enable or disable 312 echo 1 > /sys/kernel/config/netconsole/target1/userdata/cpu_nr
|
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 1819 const u32 *cpu_nr = &get_lowcore()->cpu_nr; in bpf_jit_insn() 1821 /* llgf %b0, cpu_nr */ in bpf_jit_insn() 1823 (unsigned long)cpu_nr); in bpf_jit_insn() 1797 const u32 *cpu_nr = &get_lowcore()->cpu_nr; bpf_jit_insn() local
|