Searched refs:cpu_nr (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/arch/powerpc/kernel/ |
D | irq.c | 565 int i, cpu_nr; in exc_lvl_ctx_init() local 569 cpu_nr = i; in exc_lvl_ctx_init() 572 cpu_nr = get_hard_smp_processor_id(i); in exc_lvl_ctx_init() 574 cpu_nr = 0; in exc_lvl_ctx_init() 578 memset((void *)critirq_ctx[cpu_nr], 0, THREAD_SIZE); in exc_lvl_ctx_init() 579 tp = critirq_ctx[cpu_nr]; in exc_lvl_ctx_init() 580 tp->cpu = cpu_nr; in exc_lvl_ctx_init() 584 memset((void *)dbgirq_ctx[cpu_nr], 0, THREAD_SIZE); in exc_lvl_ctx_init() 585 tp = dbgirq_ctx[cpu_nr]; in exc_lvl_ctx_init() 586 tp->cpu = cpu_nr; in exc_lvl_ctx_init() [all …]
|
/linux-4.1.27/kernel/locking/ |
D | osq_lock.c | 19 static inline int encode_cpu(int cpu_nr) in encode_cpu() argument 21 return cpu_nr + 1; in encode_cpu() 26 int cpu_nr = encoded_cpu_val - 1; in decode_cpu() local 28 return per_cpu_ptr(&osq_node, cpu_nr); in decode_cpu()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | trace.h | 106 __field( __u32, cpu_nr ) 111 __entry->cpu_nr = vcpu->vcpu_id; 116 __entry->cpu_nr, __entry->requests)
|
D | trace_booke.h | 200 __field( __u32, cpu_nr ) 206 __entry->cpu_nr = vcpu->vcpu_id; 212 __entry->cpu_nr,
|
/linux-4.1.27/drivers/macintosh/ |
D | windfarm_ad7417_sensor.c | 239 int cpu_nr; in wf_ad7417_probe() local 252 cpu_nr = 0; in wf_ad7417_probe() 254 cpu_nr = 1; in wf_ad7417_probe() 259 mpu = wf_get_mpu(cpu_nr); in wf_ad7417_probe() 272 pv->cpu = cpu_nr; in wf_ad7417_probe()
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
D | smp.c | 40 static void smp_chrp_setup_cpu(int cpu_nr) in smp_chrp_setup_cpu() argument
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | smp.c | 412 static void __init smp_psurge_setup_cpu(int cpu_nr) in smp_psurge_setup_cpu() argument 414 if (cpu_nr != 0 || !psurge_start) in smp_psurge_setup_cpu() 843 static void smp_core99_setup_cpu(int cpu_nr) in smp_core99_setup_cpu() argument 846 if (cpu_nr != 0) in smp_core99_setup_cpu() 847 core99_init_caches(cpu_nr); in smp_core99_setup_cpu()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | smp.c | 437 static void smp_85xx_basic_setup(int cpu_nr) in smp_85xx_basic_setup() argument 443 static void smp_85xx_setup_cpu(int cpu_nr) in smp_85xx_setup_cpu() argument 446 smp_85xx_basic_setup(cpu_nr); in smp_85xx_setup_cpu()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | smp.h | 16 #define raw_smp_processor_id() (S390_lowcore.cpu_nr)
|
D | lowcore.h | 138 __u32 cpu_nr; /* 0x0370 */ member
|
/linux-4.1.27/arch/powerpc/platforms/86xx/ |
D | mpc86xx_smp.c | 101 smp_86xx_setup_cpu(int cpu_nr) in smp_86xx_setup_cpu() argument
|
/linux-4.1.27/arch/s390/kernel/ |
D | crash_dump.c | 315 static int cpu_nr = 1; in nt_prstatus() local 321 nt_prstatus.pr_pid = cpu_nr; in nt_prstatus() 322 cpu_nr++; in nt_prstatus()
|
D | smp.c | 199 lc->cpu_nr = cpu; in pcpu_alloc_lowcore() 242 lc->cpu_nr = cpu; in pcpu_prepare_secondary() 923 S390_lowcore.cpu_nr = 0; in smp_setup_processor_id()
|