/linux/kernel/trace/ |
H A D | trace_preemptirq.c | 64 this_cpu_write(tracing_irq_cpu, 0); in trace_hardirqs_on_prepare() 75 this_cpu_write(tracing_irq_cpu, 0); in trace_hardirqs_on() 93 this_cpu_write(tracing_irq_cpu, 1); in trace_hardirqs_off_finish() 107 this_cpu_write(tracing_irq_cpu, 1); in trace_hardirqs_off()
|
/linux/arch/powerpc/lib/ |
H A D | code-patching.c | 126 this_cpu_write(cpu_patching_context.area, area); in text_area_cpu_up() 127 this_cpu_write(cpu_patching_context.addr, addr); in text_area_cpu_up() 128 this_cpu_write(cpu_patching_context.pte, virt_to_kpte(addr)); in text_area_cpu_up() 136 this_cpu_write(cpu_patching_context.area, NULL); in text_area_cpu_down() 137 this_cpu_write(cpu_patching_context.addr, 0); in text_area_cpu_down() 138 this_cpu_write(cpu_patching_context.pte, NULL); in text_area_cpu_down() 182 this_cpu_write(cpu_patching_context.mm, mm); in text_area_cpu_up_mm() 183 this_cpu_write(cpu_patching_context.addr, addr); in text_area_cpu_up_mm() 198 this_cpu_write(cpu_patching_context.mm, NULL); in text_area_cpu_down_mm() 199 this_cpu_write(cpu_patching_context.addr, 0); in text_area_cpu_down_mm()
|
H A D | qspinlock.c | 69 this_cpu_write(sleepy_lock_seen_clock, 0); in recently_sleepy() 239 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_owner() 248 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_lock() 255 this_cpu_write(sleepy_lock_seen_clock, sched_clock()); in seen_sleepy_node()
|
/linux/kernel/ |
H A D | watchdog_perf.c | 149 this_cpu_write(watchdog_ev, evt); in hardlockup_detector_event_create() 184 this_cpu_write(watchdog_ev, NULL); in watchdog_hardlockup_disable() 185 this_cpu_write(dead_event, event); in watchdog_hardlockup_disable() 276 this_cpu_write(watchdog_ev, NULL); in watchdog_hardlockup_probe()
|
/linux/arch/x86/include/asm/ |
H A D | stackprotector.h | 60 this_cpu_write(fixed_percpu_data.stack_canary, canary); in boot_init_stack_canary() 62 this_cpu_write(__stack_chk_guard, canary); in boot_init_stack_canary()
|
H A D | switch_to.h | 61 this_cpu_write(cpu_tss_rw.x86_tss.ss1, thread->sysenter_cs); in refresh_sysenter_cs() 71 this_cpu_write(cpu_tss_rw.x86_tss.sp1, task->thread.sp0); in update_task_stack()
|
H A D | io_bitmap.h | 33 this_cpu_write(cpu_tss_rw.x86_tss.io_bitmap_base, in native_tss_invalidate_io_bitmap()
|
H A D | desc.h | 319 this_cpu_write(__tss_limit_invalid, false); in force_reload_TR() 351 this_cpu_write(__tss_limit_invalid, true); in invalidate_tss_limit()
|
/linux/arch/x86/include/asm/xen/ |
H A D | hypervisor.h | 88 this_cpu_write(xen_lazy_mode, mode); in enter_lazy() 96 this_cpu_write(xen_lazy_mode, XEN_LAZY_NONE); in leave_lazy()
|
/linux/arch/x86/kernel/cpu/microcode/ |
H A D | core.c | 378 this_cpu_write(ucode_ctrl.result, ret); in load_secondary() 379 this_cpu_write(ucode_ctrl.ctrl, SCTRL_DONE); in load_secondary() 392 this_cpu_write(ucode_ctrl.result, UCODE_TIMEOUT); in __load_primary() 398 this_cpu_write(ucode_ctrl.result, ret); in __load_primary() 399 this_cpu_write(ucode_ctrl.ctrl, SCTRL_DONE); in __load_primary() 523 this_cpu_write(ucode_ctrl.nmi_enabled, true); in load_cpus_stopped()
|
/linux/arch/loongarch/kernel/ |
H A D | kfpu.c | 29 this_cpu_write(in_kernel_fpu, true); in kernel_fpu_begin() 74 this_cpu_write(in_kernel_fpu, false); in kernel_fpu_end()
|
/linux/arch/x86/kernel/ |
H A D | nmi.c | 513 this_cpu_write(nmi_state, NMI_LATCHED); in DEFINE_IDTENTRY_RAW() 516 this_cpu_write(nmi_state, NMI_EXECUTING); in DEFINE_IDTENTRY_RAW() 517 this_cpu_write(nmi_cr2, read_cr2()); in DEFINE_IDTENTRY_RAW() 532 this_cpu_write(nmi_dr7, local_db_save()); in DEFINE_IDTENTRY_RAW() 683 this_cpu_write(nmi_cr2, read_cr2()); in DEFINE_FREDENTRY_NMI()
|
H A D | doublefault_32.c | 124 this_cpu_write(doublefault_stack.tss.sp, in doublefault_init_cpu_tss()
|
H A D | irq.c | 367 this_cpu_write(posted_msi_pi_desc.nv, POSTED_MSI_NOTIFICATION_VECTOR); in intel_posted_msi_init() 375 this_cpu_write(posted_msi_pi_desc.ndst, destination); in intel_posted_msi_init()
|
H A D | process_32.c | 199 this_cpu_write(pcpu_hot.top_of_stack, in __switch_to()
|
/linux/arch/arm64/kernel/ |
H A D | topology.c | 97 this_cpu_write(arch_core_cycles_prev, read_corecnt()); in update_freq_counters_refs() 98 this_cpu_write(arch_const_cycles_prev, read_constcnt()); in update_freq_counters_refs() 184 this_cpu_write(arch_freq_scale, (unsigned long)scale); in amu_scale_freq_tick()
|
/linux/include/linux/ |
H A D | topology.h | 103 this_cpu_write(numa_node, node); in set_numa_node() 138 this_cpu_write(_numa_mem_, node); in set_numa_mem()
|
/linux/kernel/sched/ |
H A D | membarrier.c | 209 this_cpu_write(runqueues.membarrier_state, in ipi_sync_rq_state() 233 this_cpu_write(runqueues.membarrier_state, 0); in membarrier_exec_mmap() 443 this_cpu_write(runqueues.membarrier_state, membarrier_state); in sync_runqueues_membarrier_state()
|
/linux/arch/x86/kernel/cpu/ |
H A D | aperfmperf.c | 46 this_cpu_write(cpu_samples.aperf, aperf); in init_counter_refs() 47 this_cpu_write(cpu_samples.mperf, mperf); in init_counter_refs() 457 this_cpu_write(arch_freq_scale, freq_scale); in scale_freq_tick()
|
H A D | intel_epb.c | 87 this_cpu_write(saved_epb, (epb & EPB_MASK) | EPB_SAVED); in intel_epb_save()
|
/linux/arch/x86/xen/ |
H A D | enlighten_hvm.c | 116 this_cpu_write(xen_vcpu_id, ebx); in init_hvm_pv_info() 118 this_cpu_write(xen_vcpu_id, smp_processor_id()); in init_hvm_pv_info()
|
H A D | suspend.c | 59 this_cpu_write(spec_ctrl, tmp); in xen_vcpu_notify_suspend()
|
/linux/arch/x86/platform/uv/ |
H A D | uv_nmi.c | 674 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_IN); in uv_nmi_wait() 741 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_DUMP_DONE); in uv_nmi_dump_state_cpu() 988 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_OUT); in uv_handle_nmi() 1026 this_cpu_write(uv_cpu_nmi.pinging, 0); in uv_handle_nmi_ping()
|
/linux/mm/kasan/ |
H A D | sw_tags.c | 53 * If a preemption happens between this_cpu_read and this_cpu_write, the only 69 this_cpu_write(prng_state, state); in kasan_random_tag()
|
/linux/lib/ |
H A D | sbitmap.c | 37 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_before_get() 50 this_cpu_write(*sb->alloc_hint, 0); in update_alloc_hint_after_get() 56 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_after_get()
|