Home
last modified time | relevance | path

Searched refs:this_cpu_write (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v4.19/arch/x86/mm/
Dtlb.c59 this_cpu_write(cpu_tlbstate.ctxs[asid].ctx_id, 0); in clear_asid_other()
61 this_cpu_write(cpu_tlbstate.invalidate_other, false); in clear_asid_other()
99 this_cpu_write(cpu_tlbstate.next_asid, 1); in choose_new_asid()
230 this_cpu_write(cpu_tlbstate.is_lazy, false); in switch_mm_irqs_off()
309 this_cpu_write(cpu_tlbstate.loaded_mm, LOADED_MM_SWITCHING); in switch_mm_irqs_off()
313 this_cpu_write(cpu_tlbstate.ctxs[new_asid].ctx_id, next->context.ctx_id); in switch_mm_irqs_off()
314 this_cpu_write(cpu_tlbstate.ctxs[new_asid].tlb_gen, next_tlb_gen); in switch_mm_irqs_off()
340 this_cpu_write(cpu_tlbstate.last_ctx_id, next->context.ctx_id); in switch_mm_irqs_off()
345 this_cpu_write(cpu_tlbstate.loaded_mm, next); in switch_mm_irqs_off()
346 this_cpu_write(cpu_tlbstate.loaded_mm_asid, new_asid); in switch_mm_irqs_off()
[all …]
/Linux-v4.19/kernel/trace/
Dtrace_preemptirq.c27 this_cpu_write(tracing_irq_cpu, 0); in trace_hardirqs_on()
37 this_cpu_write(tracing_irq_cpu, 1); in trace_hardirqs_off()
53 this_cpu_write(tracing_irq_cpu, 0); in trace_hardirqs_on_caller()
63 this_cpu_write(tracing_irq_cpu, 1); in trace_hardirqs_off_caller()
/Linux-v4.19/kernel/
Dwatchdog_hld.c182 this_cpu_write(watchdog_ev, evt); in hardlockup_detector_event_create()
210 this_cpu_write(watchdog_ev, NULL); in hardlockup_detector_perf_disable()
211 this_cpu_write(dead_event, event); in hardlockup_detector_perf_disable()
292 this_cpu_write(watchdog_ev, NULL); in hardlockup_detector_perf_init()
/Linux-v4.19/arch/x86/kernel/
Dnmi.c496 this_cpu_write(nmi_state, NMI_LATCHED); in do_nmi()
499 this_cpu_write(nmi_state, NMI_EXECUTING); in do_nmi()
500 this_cpu_write(nmi_cr2, read_cr2()); in do_nmi()
512 this_cpu_write(update_debug_stack, 1); in do_nmi()
528 this_cpu_write(update_debug_stack, 0); in do_nmi()
Dprocess_32.c290 this_cpu_write(cpu_current_top_of_stack, in __switch_to()
302 this_cpu_write(current_task, next_p); in __switch_to()
Dparavirt.c252 this_cpu_write(paravirt_lazy_mode, mode); in enter_lazy()
259 this_cpu_write(paravirt_lazy_mode, PARAVIRT_LAZY_NONE); in leave_lazy()
Dprocess_64.c486 this_cpu_write(current_task, next_p); in __switch_to()
487 this_cpu_write(cpu_current_top_of_stack, task_top_of_stack(next_p)); in __switch_to()
Dkvmclock.c347 this_cpu_write(hv_clock_per_cpu, &hv_clock_boot[0]); in kvmclock_init()
/Linux-v4.19/arch/x86/include/asm/
Dstackprotector.h82 this_cpu_write(irq_stack_union.stack_canary, canary); in boot_init_stack_canary()
84 this_cpu_write(stack_canary.canary, canary); in boot_init_stack_canary()
Dswitch_to.h84 this_cpu_write(cpu_tss_rw.x86_tss.ss1, thread->sysenter_cs); in refresh_sysenter_cs()
97 this_cpu_write(cpu_tss_rw.x86_tss.sp1, task->thread.sp0); in update_task_stack()
Dtlbflush.h292 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow()
298 this_cpu_write(cpu_tlbstate.cr4, cr4); in __cr4_set()
345 this_cpu_write(cpu_tlbstate.invalidate_other, true); in invalidate_other_asid()
Dirq_regs.h27 this_cpu_write(irq_regs, new_regs); in set_irq_regs()
Ddesc.h302 this_cpu_write(__tss_limit_invalid, false); in force_reload_TR()
334 this_cpu_write(__tss_limit_invalid, true); in invalidate_tss_limit()
/Linux-v4.19/include/linux/
Dtopology.h87 this_cpu_write(numa_node, node); in set_numa_node()
123 this_cpu_write(_numa_mem_, node); in set_numa_mem()
Dbpf-cgroup.h112 this_cpu_write(bpf_cgroup_storage, &buf->data[0]); in bpf_cgroup_storage_set()
/Linux-v4.19/lib/
Dsbitmap.c381 this_cpu_write(*sbq->alloc_hint, hint); in __sbitmap_queue_get()
387 this_cpu_write(*sbq->alloc_hint, 0); in __sbitmap_queue_get()
393 this_cpu_write(*sbq->alloc_hint, hint); in __sbitmap_queue_get()
412 this_cpu_write(*sbq->alloc_hint, hint); in __sbitmap_queue_get_shallow()
418 this_cpu_write(*sbq->alloc_hint, 0); in __sbitmap_queue_get_shallow()
424 this_cpu_write(*sbq->alloc_hint, hint); in __sbitmap_queue_get_shallow()
/Linux-v4.19/arch/x86/xen/
Denlighten_hvm.c114 this_cpu_write(xen_vcpu_id, ebx); in init_hvm_pv_info()
116 this_cpu_write(xen_vcpu_id, smp_processor_id()); in init_hvm_pv_info()
Dsuspend.c61 this_cpu_write(spec_ctrl, tmp); in xen_vcpu_notify_suspend()
Denlighten_pv.c830 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in xen_load_sp0()
854 this_cpu_write(xen_cr0_value, cr0); in xen_read_cr0()
864 this_cpu_write(xen_cr0_value, cr0); in xen_write_cr0()
/Linux-v4.19/arch/x86/kernel/apic/
Dx2apic_cluster.c106 this_cpu_write(x86_cpu_to_logical_apicid, apicid); in init_x2apic_ldr()
122 this_cpu_write(cluster_masks, cmsk); in init_x2apic_ldr()
Dapic_numachip.c175 this_cpu_write(cpu_llc_id, node); in fixup_cpu_id()
/Linux-v4.19/arch/x86/kernel/fpu/
Dcore.c48 this_cpu_write(in_kernel_fpu, true); in kernel_fpu_disable()
54 this_cpu_write(in_kernel_fpu, false); in kernel_fpu_enable()
/Linux-v4.19/arch/x86/platform/uv/
Duv_nmi.c642 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_IN); in uv_nmi_wait()
709 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_DUMP_DONE); in uv_nmi_dump_state_cpu()
952 this_cpu_write(uv_cpu_nmi.state, UV_NMI_STATE_OUT); in uv_handle_nmi()
990 this_cpu_write(uv_cpu_nmi.pinging, 0); in uv_handle_nmi_ping()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_intel.c137 this_cpu_write(cmci_backoff_cnt, INITIAL_CHECK_INTERVAL); in mce_intel_cmci_poll()
238 this_cpu_write(cmci_backoff_cnt, INITIAL_CHECK_INTERVAL); in cmci_storm_detect()
/Linux-v4.19/arch/x86/include/asm/fpu/
Dinternal.h507 this_cpu_write(fpu_fpregs_owner_ctx, NULL); in fpregs_deactivate()
513 this_cpu_write(fpu_fpregs_owner_ctx, fpu); in fpregs_activate()

12