| /linux/kernel/trace/ |
| H A D | trace_preemptirq.c | 61 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on_prepare() 72 if (this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_on() 92 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off_finish() 106 if (!this_cpu_read(tracing_irq_cpu)) { in trace_hardirqs_off()
|
| /linux/drivers/irqchip/ |
| H A D | irq-csky-mpintc.c | 56 (this_cpu_read(intcl_reg) + INTCL_CFGR) : (INTCG_base + INTCG_CICFGR))) 75 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_handler() 83 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_unmask() 92 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_mask() 99 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_eoi() 215 void __iomem *reg_base = this_cpu_read(intcl_reg); in csky_mpintc_send_ipi()
|
| /linux/arch/x86/include/asm/ |
| H A D | kvmclock.h | 11 return &this_cpu_read(hv_clock_per_cpu)->pvti; in this_cpu_pvti() 16 return this_cpu_read(hv_clock_per_cpu); in this_cpu_hvclock()
|
| H A D | entry-common.h | 87 this_cpu_read(x86_ibpb_exit_to_user)) { in arch_exit_to_user_mode_prepare()
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | amd.c | 438 if (!this_cpu_read(threshold_banks) && !tr->set_lvt_off) in threshold_restart_block() 483 struct threshold_bank **thr_banks = this_cpu_read(threshold_banks); in threshold_restart_bank() 682 if (c->x86 == 15 && this_cpu_read(mce_num_banks) > 4) { in amd_apply_cpu_quirks() 695 if (c->x86 == 6 && this_cpu_read(mce_num_banks)) in amd_apply_cpu_quirks() 738 for (bank = 0; bank < this_cpu_read(mce_num_banks); ++bank) { in mce_amd_feature_init() 1089 if ((bank >= this_cpu_read(mce_num_banks)) || (block >= NR_BLOCKS)) in allocate_threshold_blocks() 1157 struct device *dev = this_cpu_read(mce_device); in threshold_create_bank() 1215 unsigned int bank, numbanks = this_cpu_read(mce_num_banks); in __threshold_remove_device() 1229 struct threshold_bank **bp = this_cpu_read(threshold_banks); in mce_threshold_remove_device() 1263 bp = this_cpu_read(threshold_bank in mce_threshold_create_device() [all...] |
| H A D | core.c | 805 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in machine_check_poll() 971 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in mce_no_way_out() 1289 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in mce_clear_state() 1340 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in __mc_scan_banks() 1823 u8 n_banks = this_cpu_read(mce_num_banks); in __mcheck_cpu_mce_banks_init() 1890 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in __mcheck_cpu_init_prepare_banks() 2019 if (this_cpu_read(mce_num_banks) > 8) in mce_zhaoxin_feature_init() 2304 if (bank >= this_cpu_read(mce_num_banks)) { 2393 for (i = 0; i < this_cpu_read(mce_num_banks); i++) { in mce_disable_error_reporting() 2749 for (i = 0; i < this_cpu_read(mce_num_bank in mce_reenable_cpu() [all...] |
| /linux/arch/x86/kernel/ |
| H A D | nmi.c | 555 if (this_cpu_read(nmi_state) != NMI_NOT_RUNNING) { in DEFINE_IDTENTRY_RAW() 597 local_db_restore(this_cpu_read(nmi_dr7)); in DEFINE_IDTENTRY_RAW() 601 if (unlikely(this_cpu_read(nmi_cr2) != read_cr2())) in DEFINE_IDTENTRY_RAW() 602 write_cr2(this_cpu_read(nmi_cr2)); in DEFINE_IDTENTRY_RAW() 732 if (unlikely(this_cpu_read(nmi_cr2) != read_cr2())) in DEFINE_FREDENTRY_NMI() 733 write_cr2(this_cpu_read(nmi_cr2)); in DEFINE_FREDENTRY_NMI()
|
| H A D | doublefault_32.c | 16 #define TSS(x) this_cpu_read(cpu_tss_rw.x86_tss.x)
|
| H A D | head64.c | 274 __native_tlb_flush_global(this_cpu_read(cpu_tlbstate.cr4)); in x86_64_start_kernel()
|
| /linux/arch/loongarch/kernel/ |
| H A D | kfpu.c | 45 WARN_ON(this_cpu_read(in_kernel_fpu)); in kernel_fpu_begin() 73 WARN_ON(!this_cpu_read(in_kernel_fpu)); in kernel_fpu_end()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | this_cpu_ops.rst | 46 this_cpu_read(pcp) 75 z = this_cpu_read(x); 232 且更容易与 ``()`` 结合。第二种形式也与 ``this_cpu_read()`` 和大家的使用方式一致。
|
| /linux/arch/x86/coco/sev/ |
| H A D | noinstr.c | 129 data = this_cpu_read(runtime_data); in __sev_get_ghcb() 175 data = this_cpu_read(runtime_data); in __sev_put_ghcb()
|
| /linux/tools/testing/shared/linux/ |
| H A D | percpu.h | 7 #define this_cpu_read(var) var macro
|
| /linux/drivers/accessibility/speakup/ |
| H A D | fakekey.c | 86 return this_cpu_read(reporting_keystroke); in speakup_fake_key_pressed()
|
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | pseudo_lock.c | 167 closid_p = this_cpu_read(pqr_state.cur_closid); in resctrl_arch_pseudo_lock_fn() 168 rmid_p = this_cpu_read(pqr_state.cur_rmid); in resctrl_arch_pseudo_lock_fn()
|
| /linux/arch/powerpc/lib/ |
| H A D | code-patching.c | 132 free_vm_area(this_cpu_read(cpu_patching_context.area)); 192 put_patching_mm(this_cpu_read(cpu_patching_context.mm), 193 this_cpu_read(cpu_patching_context.addr)); in text_area_cpu_down_mm()
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | core.c | 90 if (!this_cpu_read(kernel_fpu_allowed)) in irq_fpu_usable() 480 WARN_ON_FPU(!this_cpu_read(kernel_fpu_allowed)); in kernel_fpu_begin_mask() 502 WARN_ON_FPU(this_cpu_read(kernel_fpu_allowed)); in kernel_fpu_end()
|
| /linux/net/xfrm/ |
| H A D | xfrm_nat_keepalive.c | 64 sk = this_cpu_read(nat_keepalive_sk_ipv4.sock); in nat_keepalive_send_ipv4() 99 sk = this_cpu_read(nat_keepalive_sk_ipv6.sock); in nat_keepalive_send_ipv6()
|
| /linux/arch/x86/platform/uv/ |
| H A D | uv_nmi.c | 826 while (this_cpu_read(uv_cpu_nmi.state) != UV_NMI_STATE_DUMP) in uv_nmi_dump_state() 948 if (!this_cpu_read(uv_cpu_nmi.pinging) && !uv_check_nmi(hub_nmi)) { in uv_handle_nmi() 1019 if (!this_cpu_read(uv_cpu_nmi.pinging)) { in uv_handle_nmi_ping()
|
| /linux/mm/kasan/ |
| H A D | sw_tags.c | 67 u32 state = this_cpu_read(prng_state); in kasan_random_tag()
|
| /linux/arch/powerpc/mm/nohash/ |
| H A D | e500_hugetlbpage.c | 84 index = this_cpu_read(next_tlbcam_idx); in tlb1_next()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | intel_epb.c | 94 u64 val = this_cpu_read(saved_epb); in intel_epb_restore()
|
| /linux/kernel/irq/ |
| H A D | irqdesc.c | 1044 this_cpu_write(desc->kstat_irqs->ref, this_cpu_read(desc->kstat_irqs->cnt)); in kstat_get_irq_since_snapshot() 1054 return this_cpu_read(desc->kstat_irqs->cnt) - this_cpu_read(desc->kstat_irqs->ref);
|
| /linux/arch/x86/kernel/apic/ |
| H A D | x2apic_cluster.c | 93 struct cpumask *cmsk = this_cpu_read(cluster_masks); in init_x2apic_ldr()
|
| /linux/arch/x86/virt/ |
| H A D | hw.c | 323 if (WARN_ON_ONCE(!this_cpu_read(virtualization_nr_users)) || in x86_virt_put_ref()
|