Searched refs:this_cpu_read (Results 1 - 43 of 43) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
H A Dirq_regs.h18 return this_cpu_read(irq_regs); get_irq_regs()
H A Dhardirq.h47 #define local_softirq_pending() this_cpu_read(irq_stat.__softirq_pending)
H A Dtlbflush.h43 cr4 = this_cpu_read(cpu_tlbstate.cr4); cr4_set_bits()
56 cr4 = this_cpu_read(cpu_tlbstate.cr4); cr4_clear_bits()
67 return this_cpu_read(cpu_tlbstate.cr4); cr4_read_shadow()
96 cr4 = this_cpu_read(cpu_tlbstate.cr4); __native_flush_tlb_global_irq_disabled()
H A Dsmp.h191 #define raw_smp_processor_id() (this_cpu_read(cpu_number))
195 #define raw_smp_processor_id() (this_cpu_read(cpu_number))
H A Dmmu_context.h90 if (this_cpu_read(cpu_tlbstate.state) == TLBSTATE_OK) enter_lazy_tlb()
163 BUG_ON(this_cpu_read(cpu_tlbstate.active_mm) != next); switch_mm()
H A Dpercpu.h49 #define __my_cpu_offset this_cpu_read(this_cpu_off)
383 * this_cpu_read() makes gcc load the percpu variable every time it is
H A Ddesc.h442 if (this_cpu_read(debug_idt_ctr)) is_debug_idt_enabled()
/linux-4.1.27/arch/x86/xen/
H A Dirq.c31 vcpu = this_cpu_read(xen_vcpu); xen_save_fl()
53 vcpu = this_cpu_read(xen_vcpu); xen_restore_fl()
72 this_cpu_read(xen_vcpu)->evtchn_upcall_mask = 1; xen_irq_disable()
88 vcpu = this_cpu_read(xen_vcpu); xen_irq_enable()
H A Dmulticalls.h50 local_irq_restore(this_cpu_read(xen_mc_irq_flags)); xen_mc_issue()
H A Dmmu.c1008 active_mm = this_cpu_read(cpu_tlbstate.active_mm); drop_other_mm_ref()
1010 if (active_mm == mm && this_cpu_read(cpu_tlbstate.state) != TLBSTATE_OK) drop_other_mm_ref()
1015 if (this_cpu_read(xen_current_cr3) == __pa(mm->pgd)) drop_other_mm_ref()
1198 this_cpu_read(xen_vcpu)->arch.cr2 = cr2; xen_write_cr2()
1203 return this_cpu_read(xen_vcpu)->arch.cr2; xen_read_cr2()
1208 return this_cpu_read(xen_vcpu_info.arch.cr2); xen_read_cr2_direct()
1310 return this_cpu_read(xen_cr3); xen_read_cr3()
H A Denlighten.c990 unsigned long cr0 = this_cpu_read(xen_cr0_value); xen_read_cr0()
/linux-4.1.27/arch/parisc/include/asm/
H A Dhardirq.h36 #define local_softirq_pending() this_cpu_read(irq_stat.__softirq_pending)
/linux-4.1.27/arch/x86/mm/
H A Dtlb.c43 struct mm_struct *active_mm = this_cpu_read(cpu_tlbstate.active_mm); leave_mm()
44 if (this_cpu_read(cpu_tlbstate.state) == TLBSTATE_OK) leave_mm()
107 if (f->flush_mm != this_cpu_read(cpu_tlbstate.active_mm)) flush_tlb_func()
113 if (this_cpu_read(cpu_tlbstate.state) == TLBSTATE_OK) { flush_tlb_func()
269 if (this_cpu_read(cpu_tlbstate.state) == TLBSTATE_LAZY) do_flush_tlb_all()
/linux-4.1.27/drivers/staging/speakup/
H A Dfakekey.c99 return this_cpu_read(reporting_keystroke); speakup_fake_key_pressed()
/linux-4.1.27/arch/x86/kernel/
H A Dparavirt.c248 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); enter_lazy()
255 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); leave_lazy()
286 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { paravirt_start_context_switch()
308 return this_cpu_read(paravirt_lazy_mode); paravirt_get_lazy_mode()
H A Dnmi.c484 if (this_cpu_read(nmi_state) != NMI_NOT_RUNNING) { do_nmi()
515 if (unlikely(this_cpu_read(update_debug_stack))) { do_nmi()
521 if (unlikely(this_cpu_read(nmi_cr2) != read_cr2())) do_nmi()
522 write_cr2(this_cpu_read(nmi_cr2)); do_nmi()
H A Di387.c27 WARN_ON(this_cpu_read(in_kernel_fpu)); kernel_fpu_disable()
50 if (this_cpu_read(in_kernel_fpu)) interrupted_kernel_fpu_idle()
H A Despfix_64.c149 if (likely(this_cpu_read(espfix_stack))) init_espfix_ap()
H A Dprocess_32.c285 task_thread_info(prev_p)->saved_preempt_count = this_cpu_read(__preempt_count); __switch_to()
H A Dtsc.c83 head = this_cpu_read(cyc2ns.head); cyc2ns_read_begin()
214 data = this_cpu_read(cyc2ns.head); cycles_2_ns()
215 tail = this_cpu_read(cyc2ns.tail); cycles_2_ns()
H A Dprocess_64.c407 task_thread_info(prev_p)->saved_preempt_count = this_cpu_read(__preempt_count); __switch_to()
/linux-4.1.27/arch/x86/lib/
H A Ddelay.c123 (this_cpu_read(cpu_info.loops_per_jiffy) * (HZ/4))); __const_udelay()
/linux-4.1.27/include/linux/
H A Dcontext_tracking.h39 prev_ctx = this_cpu_read(context_tracking.state); exception_enter()
H A Dcpumask.h648 * of this_cpu_ptr() or this_cpu_read() will lead to failures when the
654 #define this_cpu_cpumask_var_ptr(x) this_cpu_read(x)
H A Dpercpu-defs.h496 #define this_cpu_read(pcp) __pcpu_size_call_return(this_cpu_read_, pcp) macro
H A Dinterrupt.h461 return this_cpu_read(ksoftirqd); this_cpu_ksoftirqd()
H A Dnetdevice.h2198 return this_cpu_read(xmit_recursion); dev_recursion_level()
/linux-4.1.27/arch/powerpc/mm/
H A Dhugetlbpage-book3e.c36 index = this_cpu_read(next_tlbcam_idx); tlb1_next()
/linux-4.1.27/arch/x86/kernel/apic/
H A Dhw_nmi.c160 printk_func_t printk_func_save = this_cpu_read(printk_func); arch_trigger_all_cpu_backtrace_handler()
/linux-4.1.27/arch/x86/platform/uv/
H A Duv_nmi.c480 while (this_cpu_read(uv_cpu_nmi.state) != UV_NMI_STATE_DUMP)
607 if (!this_cpu_read(uv_cpu_nmi.pinging) && !uv_check_nmi(hub_nmi)) { uv_handle_nmi()
659 if (!this_cpu_read(uv_cpu_nmi.pinging)) { uv_handle_nmi_ping()
/linux-4.1.27/kernel/sched/
H A Dcputime.c87 latest_ns = this_cpu_read(cpu_hardirq_time); irqtime_account_hi_update()
102 latest_ns = this_cpu_read(cpu_softirq_time); irqtime_account_si_update()
H A Dfair.c4544 int factor = this_cpu_read(sd_llc_size); wake_wide()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
H A Dmce_intel.c142 if ((this_cpu_read(cmci_backoff_cnt) > 0) && cmci_intel_adjust_timer()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dcommon.c1264 if (WARN_ON(!this_cpu_read(debug_idt_ctr))) debug_stack_reset()
1373 if (this_cpu_read(numa_node) == 0 && cpu_init()
H A Dperf_event_intel_ds.c782 u8 *buf = this_cpu_read(insn_buffer); intel_pmu_pebs_fixup_ip()
/linux-4.1.27/drivers/acpi/
H A Dprocessor_throttling.c723 if ((this_cpu_read(cpu_info.x86_vendor) != X86_VENDOR_INTEL) || acpi_throttling_rdmsr()
744 if ((this_cpu_read(cpu_info.x86_vendor) != X86_VENDOR_INTEL) || acpi_throttling_wrmsr()
/linux-4.1.27/mm/
H A Dvmstat.c341 t = this_cpu_read(pcp->stat_threshold); mod_state()
343 o = this_cpu_read(*p); mod_state()
H A Dslub.c2047 oldpage = this_cpu_read(s->cpu_slab->partial); put_cpu_partial()
2448 tid = this_cpu_read(s->cpu_slab->tid); slab_alloc_node()
2718 tid = this_cpu_read(s->cpu_slab->tid); slab_free()
H A Dpage_alloc.c3388 K(this_cpu_read(zone->pageset->pcp.count)), for_each_populated_zone()
/linux-4.1.27/drivers/input/gameport/
H A Dgameport.c161 return (this_cpu_read(cpu_info.loops_per_jiffy) * old_gameport_measure_speed()
/linux-4.1.27/drivers/dma/
H A Ddmaengine.c350 return this_cpu_read(channel_table[tx_type]->chan); dma_find_channel()
/linux-4.1.27/net/openvswitch/
H A Dactions.c968 int level = this_cpu_read(exec_actions_level); ovs_execute_actions()
/linux-4.1.27/kernel/printk/
H A Dprintk.c1864 vprintk_func = this_cpu_read(printk_func); printk()

Completed in 1409 milliseconds