/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_access_variable_array.c | 11 int BPF_PROG(fentry_fentry, int this_cpu, struct rq *this_rq, argument
|
/linux-master/net/netfilter/ |
H A D | nft_counter.c | 34 struct nft_counter *this_cpu; local 38 this_cpu = this_cpu_ptr(priv->counter); 43 this_cpu->bytes += pkt->skb->len; 44 this_cpu->packets++; 63 struct nft_counter *this_cpu; local 70 this_cpu = this_cpu_ptr(cpu_stats); 72 this_cpu->packets = 76 this_cpu->bytes = 109 struct nft_counter *this_cpu; local 112 this_cpu 121 struct nft_counter *this_cpu; local 234 struct nft_counter *this_cpu; local 265 struct nft_counter *this_cpu; local [all...] |
/linux-master/lib/ |
H A D | smp_processor_id.c | 14 int this_cpu = raw_smp_processor_id(); local 55 return this_cpu;
|
H A D | nmi_backtrace.c | 40 int i, this_cpu = get_cpu(); local 61 if (cpumask_test_cpu(this_cpu, to_cpumask(backtrace_mask))) 66 this_cpu, nr_cpumask_bits, to_cpumask(backtrace_mask));
|
/linux-master/kernel/trace/ |
H A D | trace_clock.c | 97 int this_cpu; local 102 this_cpu = raw_smp_processor_id(); 116 now = sched_clock_cpu(this_cpu);
|
/linux-master/arch/parisc/kernel/ |
H A D | smp.c | 122 int this_cpu = smp_processor_id(); local 123 struct cpuinfo_parisc *p = &per_cpu(cpu_data, this_cpu); 128 spinlock_t *lock = &per_cpu(ipi_lock, this_cpu); 146 smp_debug(100, KERN_DEBUG "CPU%d IPI_NOP\n", this_cpu); 150 smp_debug(100, KERN_DEBUG "CPU%d IPI_RESCHEDULE\n", this_cpu); 156 smp_debug(100, KERN_DEBUG "CPU%d IPI_CALL_FUNC\n", this_cpu); 162 smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_START\n", this_cpu); 166 smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_STOP\n", this_cpu); 171 smp_debug(100, KERN_DEBUG "CPU%d is alive!\n", this_cpu); 175 smp_debug(100, KERN_DEBUG "CPU%d ENTER_KGDB\n", this_cpu); [all...] |
/linux-master/include/linux/sched/ |
H A D | topology.h | 179 bool cpus_equal_capacity(int this_cpu, int that_cpu); 180 bool cpus_share_cache(int this_cpu, int that_cpu); 181 bool cpus_share_resources(int this_cpu, int that_cpu); 230 static inline bool cpus_equal_capacity(int this_cpu, int that_cpu) argument 235 static inline bool cpus_share_cache(int this_cpu, int that_cpu) argument 240 static inline bool cpus_share_resources(int this_cpu, int that_cpu) argument
|
/linux-master/arch/x86/kernel/ |
H A D | smp.c | 151 unsigned int old_cpu, this_cpu; local 159 this_cpu = smp_processor_id(); 160 if (!atomic_try_cmpxchg(&stopping_cpu, &old_cpu, this_cpu)) 191 cpumask_clear_cpu(this_cpu, &cpus_stop_mask);
|
/linux-master/drivers/cpuidle/ |
H A D | cpuidle-ux500.c | 26 int this_cpu = smp_processor_id(); local 49 if (!prcmu_is_cpu_in_wfi(this_cpu ? 0 : 1))
|
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 145 int this_cpu; local 147 this_cpu = sched_getcpu(); 150 cpuidle_sysfs_monitor.hw_states_num = cpuidle_state_count(this_cpu); 156 tmp = cpuidle_state_name(this_cpu, num); 165 tmp = cpuidle_state_desc(this_cpu, num);
|
/linux-master/arch/x86/kernel/apic/ |
H A D | x2apic_phys.c | 57 unsigned long this_cpu; local 65 this_cpu = smp_processor_id(); 67 if (apic_dest == APIC_DEST_ALLBUT && this_cpu == query_cpu)
|
H A D | ipi.c | 214 unsigned int cpu, this_cpu = smp_processor_id(); local 219 if (cpu == this_cpu) 265 unsigned int cpu, this_cpu = smp_processor_id(); local 270 if (cpu == this_cpu)
|
H A D | apic_numachip.c | 104 unsigned int this_cpu = smp_processor_id(); local 108 if (cpu != this_cpu) 115 unsigned int this_cpu = smp_processor_id(); local 119 if (cpu != this_cpu)
|
/linux-master/init/ |
H A D | calibrate.c | 279 int this_cpu = smp_processor_id(); local 281 if (per_cpu(cpu_loops_per_jiffy, this_cpu)) { 282 lpj = per_cpu(cpu_loops_per_jiffy, this_cpu); 306 per_cpu(cpu_loops_per_jiffy, this_cpu) = lpj;
|
/linux-master/arch/alpha/kernel/ |
H A D | smp.c | 512 int this_cpu = smp_processor_id(); local 513 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; 518 this_cpu, *pending_ipis, regs->pc)); 545 this_cpu, which); 553 cpu_data[this_cpu].ipi_count++; 641 int cpu, this_cpu = smp_processor_id(); local 643 if (!cpu_online(cpu) || cpu == this_cpu) 688 int cpu, this_cpu = smp_processor_id(); local 690 if (!cpu_online(cpu) || cpu == this_cpu) 742 int cpu, this_cpu local [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | dbell.h | 146 int this_cpu = get_cpu(); local 149 if (cpumask_test_cpu(cpu, cpu_sibling_mask(this_cpu))) {
|
/linux-master/arch/sparc/kernel/ |
H A D | process_64.c | 192 int this_cpu) 198 rp = &global_cpu_snapshot[this_cpu].reg; 244 int this_cpu, cpu; local 251 this_cpu = raw_smp_processor_id(); 255 if (cpumask_test_cpu(this_cpu, mask) && this_cpu != exclude_cpu) 256 __global_reg_self(tp, regs, this_cpu); 272 (cpu == this_cpu ? '*' : ' '), cpu, 309 static void __global_pmu_self(int this_cpu) argument 317 pp = &global_cpu_snapshot[this_cpu] 191 __global_reg_self(struct thread_info *tp, struct pt_regs *regs, int this_cpu) argument 343 int this_cpu, cpu; local [all...] |
H A D | smp_64.c | 647 int this_cpu, tot_cpus, prev_sent, i, rem; local 657 this_cpu = smp_processor_id(); 764 this_cpu, ecpuerror_id - 1); 767 this_cpu, enocpu_id - 1); 774 this_cpu, tot_cpus, tb->cpu_list_pa, tb->cpu_mondo_block_pa); 780 this_cpu, first_cpu, (tot_retries + retries), tot_cpus); 789 int this_cpu, i, cnt; local 806 this_cpu = smp_processor_id(); 807 tb = &trap_block[this_cpu]; 820 if (i == this_cpu || !cpu_onlin 945 int this_cpu; local 1511 int this_cpu = smp_processor_id(); local [all...] |
/linux-master/arch/arm/kernel/ |
H A D | smp_tlb.c | 166 int this_cpu; local 172 this_cpu = get_cpu(); 173 a15_erratum_get_cpumask(this_cpu, mm, &mask);
|
/linux-master/arch/s390/mm/ |
H A D | maccess.c | 156 int this_cpu, cpu; local 159 this_cpu = get_cpu(); 174 } else if (cpu == this_cpu) {
|
/linux-master/arch/s390/kernel/ |
H A D | machine_kexec.c | 82 int this_cpu, cpu; local 86 this_cpu = smp_find_processor_id(stap()); 88 if (cpu == this_cpu)
|
H A D | processor.c | 69 int cpu, this_cpu; local 71 this_cpu = smp_processor_id(); 74 cpu = cpumask_next_wrap(this_cpu, cpumask, this_cpu, false);
|
/linux-master/arch/arm/include/asm/ |
H A D | mmu_context.h | 49 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, 52 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, argument
|
/linux-master/kernel/ |
H A D | panic.c | 196 int old_cpu, this_cpu; local 199 this_cpu = raw_smp_processor_id(); 202 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) 204 else if (old_cpu != this_cpu) 287 int old_cpu, this_cpu; local 321 * `old_cpu == this_cpu' means we came from nmi_panic() which sets 325 this_cpu = raw_smp_processor_id(); 328 if (atomic_try_cmpxchg(&panic_cpu, &old_cpu, this_cpu)) { 330 } else if (old_cpu != this_cpu)
|
/linux-master/arch/arm/common/ |
H A D | bL_switcher.c | 149 unsigned int mpidr, this_cpu, that_cpu; local 155 this_cpu = smp_processor_id(); 159 BUG_ON(cpu_logical_map(this_cpu) != ob_mpidr); 164 that_cpu = bL_switcher_cpu_pairing[this_cpu]; 170 this_cpu, ob_mpidr, ib_mpidr); 172 this_cpu = smp_processor_id(); 180 ipi_nr = register_ipi_completion(&inbound_alive, this_cpu); 227 cpu_logical_map(this_cpu) = ib_mpidr; 237 pr_debug("after switch: CPU %d MPIDR %#x\n", this_cpu, mpidr);
|