Home
last modified time | relevance | path

Searched refs:get_cpu (Results 1 – 104 of 104) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
Dkvmclock.c64 cpu = get_cpu(); in kvm_get_wallclock()
134 cpu = get_cpu(); in kvm_get_tsc_khz()
279 cpu = get_cpu(); in kvmclock_init()
318 cpu = get_cpu(); in kvm_setup_vsyscall_timeinfo()
Dioport.c57 tss = &per_cpu(cpu_tss, get_cpu()); in sys_ioperm()
Ddumpstack_32.c45 const unsigned cpu = get_cpu(); in dump_trace()
Dprocess_64.c516 cpu = get_cpu(); in do_arch_prctl()
542 cpu = get_cpu(); in do_arch_prctl()
Dtls.c92 cpu = get_cpu(); in set_tls_desc()
Ddumpstack_64.c155 const unsigned cpu = get_cpu(); in dump_trace()
Dprocess.c105 struct tss_struct *tss = &per_cpu(cpu_tss, get_cpu()); in exit_thread()
Dhw_breakpoint.c472 cpu = get_cpu(); in hw_breakpoint_handler()
Dvm86_32.c147 tss = &per_cpu(cpu_tss, get_cpu()); in save_v86_state()
357 tss = &per_cpu(cpu_tss, get_cpu()); in do_sys_vm86()
Dapm_32.c609 cpu = get_cpu(); in __apm_bios_call()
635 if (get_cpu() == 0) { in on_cpu0()
685 cpu = get_cpu(); in __apm_bios_call_simple()
/linux-4.4.14/arch/arm/vfp/
Dvfpmodule.c106 cpu = get_cpu(); in vfp_thread_flush()
125 unsigned int cpu = get_cpu(); in vfp_thread_exit()
531 unsigned int cpu = get_cpu(); in vfp_sync_hwstate()
550 unsigned int cpu = get_cpu(); in vfp_flush_hwstate()
702 cpu = get_cpu(); in kernel_neon_begin()
/linux-4.4.14/net/rds/
Dpage.c119 rem = &per_cpu(rds_page_remainders, get_cpu()); in rds_page_remainder_alloc()
153 rem = &per_cpu(rds_page_remainders, get_cpu()); in rds_page_remainder_alloc()
Drds.h777 per_cpu(which, get_cpu()).member++; \
782 per_cpu(which, get_cpu()).member += count; \
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dtracefile.h276 unsigned int i = get_cpu(); in cfs_trace_get_console_buffer()
292 &(*cfs_trace_data[cfs_trace_buf_idx_get()])[get_cpu()].tcd; in cfs_trace_get_tcd()
/linux-4.4.14/arch/unicore32/include/asm/
Dtlbflush.h79 if (cpumask_test_cpu(get_cpu(), mm_cpumask(mm))) { in local_flush_tlb_mm()
/linux-4.4.14/kernel/
Dsmp.c283 this_cpu = get_cpu(); in smp_call_function_single()
369 cpu = get_cpu(); in smp_call_function_any()
625 int cpu = get_cpu(); in on_each_cpu_mask()
Dprofile.c248 j = per_cpu(cpu_profile_flip, get_cpu()); in profile_flip_buffers()
271 i = per_cpu(cpu_profile_flip, get_cpu()); in profile_discard_flip_buffers()
290 cpu = get_cpu(); in do_profile_hits()
Dpadata.c336 cpu = get_cpu(); in padata_do_serial()
Drelay.c668 curr_cpu = get_cpu(); in relay_late_setup_files()
/linux-4.4.14/arch/blackfin/mach-common/
Dsmp.c382 unsigned int cpu = get_cpu(); in resync_core_icache()
396 unsigned int cpu = get_cpu(); in resync_core_dcache()
/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c194 if (channel->target_cpu != get_cpu()) { in hv_process_channel_removal()
290 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
343 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
902 cur_cpu = hv_context.vp_index[get_cpu()]; in vmbus_get_outgoing_channel()
Dconnection.c87 msg->target_vcpu = hv_context.vp_index[get_cpu()]; in vmbus_negotiate_version()
Dhv.c324 hv_context.post_msg_page[get_cpu()]; in hv_post_message()
Dchannel.c504 if (channel->target_cpu != get_cpu()) { in vmbus_close_internal()
/linux-4.4.14/arch/x86/um/
Dtls_32.c28 cpu = get_cpu(); in do_set_thread_area()
44 cpu = get_cpu(); in do_get_thread_area()
/linux-4.4.14/include/linux/
Dsmp.h185 #define get_cpu() ({ preempt_disable(); smp_processor_id(); }) macro
Drelay.h233 buf = chan->buf[get_cpu()]; in __relay_write()
Dgenhd.h320 #define part_stat_lock() ({ rcu_read_lock(); get_cpu(); })
/linux-4.4.14/arch/arm/mach-mvebu/
Dplatsmp.c57 thiscpu = get_cpu(); in set_secondary_cpu_clock()
/linux-4.4.14/block/
Dblk-mq.h88 return __blk_mq_get_ctx(q, get_cpu()); in blk_mq_get_ctx()
Dblk-mq.c346 cpu = get_cpu(); in blk_mq_ipi_complete_request()
865 int cpu = get_cpu(); in blk_mq_run_hw_queue()
/linux-4.4.14/lib/
Dnmi_backtrace.c56 int i, cpu, this_cpu = get_cpu(); in nmi_trigger_all_cpu_backtrace()
/linux-4.4.14/arch/mn10300/mm/
Dtlb-smp.c64 cpu_id = get_cpu(); in smp_flush_tlb()
/linux-4.4.14/drivers/cpuidle/
Dcoupled.c721 int cpu = get_cpu(); in cpuidle_coupled_prevent_idle()
740 int cpu = get_cpu(); in cpuidle_coupled_allow_idle()
Ddriver.c323 cpu = get_cpu(); in cpuidle_get_driver()
/linux-4.4.14/arch/arm/kernel/
Dsmp_tlb.c132 this_cpu = get_cpu(); in broadcast_tlb_mm_a15_erratum()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dsetup.c186 my_cpu = get_cpu(); in pnv_kexec_wait_secondaries_down()
/linux-4.4.14/arch/blackfin/kernel/
Dcplbinfo.c94 get_cpu(); in cplbinfo_start()
/linux-4.4.14/arch/ia64/kernel/
Dsmp.c99 int this_cpu = get_cpu(); in handle_IPI()
Dsal.c251 cpu = get_cpu(); in check_sal_cache_flush()
Dtraps.c51 int cpu = get_cpu(); in die()
Dpalinfo.c914 if (f->req_cpu == get_cpu()) in proc_palinfo_show()
Dperfmon.c5530 this_cpu = get_cpu(); in pfm_interrupt_handler()
/linux-4.4.14/arch/sparc/kernel/
Dsmp_64.c897 this_cpu = get_cpu(); in smp_flush_dcache_page_impl()
1060 int cpu = get_cpu(); in smp_flush_tlb_mm()
1094 int cpu = get_cpu(); in smp_flush_tlb_pending()
1114 int cpu = get_cpu(); in smp_flush_tlb_page()
Dtraps_64.c2012 cpu = get_cpu(); in sun4v_resum_error()
2064 cpu = get_cpu(); in sun4v_nonresum_error()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce-inject.c162 cpumask_clear_cpu(get_cpu(), mce_inject_cpumask); in raise_mce()
/linux-4.4.14/arch/powerpc/sysdev/xics/
Dicp-native.c151 if (cpumask_test_cpu(cpu, cpu_sibling_mask(get_cpu()))) { in icp_native_cause_ipi()
/linux-4.4.14/arch/arm/xen/
Denlighten.c87 int cpu = get_cpu(); in xen_percpu_init()
/linux-4.4.14/arch/sh/kernel/
Dhw_breakpoint.c304 cpu = get_cpu(); in hw_breakpoint_handler()
/linux-4.4.14/arch/powerpc/kernel/
Dmachine_kexec_64.c204 my_cpu = get_cpu(); in kexec_prepare_cpus_wait()
Dvdso.c699 cpu = get_cpu(); in vdso_getcpu_init()
/linux-4.4.14/drivers/scsi/libfc/
Dfc_fcp.c162 per_cpu_ptr(lport->stats, get_cpu())->FcpPktAllocFails++; in fc_fcp_pkt_alloc()
270 per_cpu_ptr(fsp->lp->stats, get_cpu())->FcpPktAborts++; in fc_fcp_send_abort()
429 per_cpu_ptr(lport->stats, get_cpu())->FcpFrameAllocFails++; in fc_fcp_frame_alloc()
507 stats = per_cpu_ptr(lport->stats, get_cpu()); in fc_fcp_recv_data()
1862 stats = per_cpu_ptr(lport->stats, get_cpu()); in fc_queuecommand()
Dfc_exch.c817 cpu = get_cpu(); in fc_exch_em_alloc()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c1289 unsigned targ_cpu = get_cpu(); in fcoe_percpu_thread_destroy()
1552 per_cpu_ptr(lport->stats, get_cpu())->ErrorFrames++; in fcoe_rcv()
1704 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_xmit()
1769 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_filter_frames()
1817 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_recv_frame()
2061 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_device_notification()
Dfcoe_ctlr.c834 stats = per_cpu_ptr(fip->lp->stats, get_cpu()); in fcoe_ctlr_age_fcfs()
1291 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_ctlr_recv_els()
1404 get_cpu())->VLinkFailureCount++; in fcoe_ctlr_recv_clr_vlink()
1433 per_cpu_ptr(lport->stats, get_cpu())->VLinkFailureCount++; in fcoe_ctlr_recv_clr_vlink()
/linux-4.4.14/arch/x86/lib/
Dmsr-smp.c109 this_cpu = get_cpu(); in __rwmsr_on_cpus()
/linux-4.4.14/drivers/nvdimm/
Dregion_devs.c595 cpu = get_cpu(); in nd_region_acquire_lane()
614 unsigned int cpu = get_cpu(); in nd_region_release_lane()
/linux-4.4.14/drivers/xen/events/
Devents_fifo.c448 int cpu = get_cpu(); in xen_evtchn_fifo_init()
Devents_2l.c88 unsigned int cpu = get_cpu(); in evtchn_2l_unmask()
Devents_base.c1230 int cpu = get_cpu(); in __xen_evtchn_do_upcall()
/linux-4.4.14/drivers/pnp/pnpbios/
Dbioscalls.c97 cpu = get_cpu(); in call_pnp_bios()
/linux-4.4.14/net/xfrm/
Dxfrm_ipcomp.c48 const int cpu = get_cpu(); in ipcomp_decompress()
/linux-4.4.14/arch/tile/mm/
Dhomecache.c162 int cpu = get_cpu(); in homecache_finv_page_va()
/linux-4.4.14/kernel/trace/
Dtrace_functions.c103 tr->trace_buffer.cpu = get_cpu(); in function_trace_init()
/linux-4.4.14/arch/ia64/mm/
Dtlb.c90 cpu = get_cpu(); /* prevent preemption/migration */ in wrap_mmu_context()
/linux-4.4.14/Documentation/
Dthis_cpu_ops.txt101 cpu = get_cpu();
132 get_cpu/put_cpu sequence requires. No processor number is
Dpreempt-locking.txt34 You can also use put_cpu() and get_cpu(), which will disable preemption.
/linux-4.4.14/mm/
Drmap.c617 cpu = get_cpu(); in try_to_unmap_flush()
672 if (cpumask_any_but(mm_cpumask(mm), get_cpu()) < nr_cpu_ids) in should_defer_flush()
Dswap.c859 lru_add_drain_cpu(get_cpu()); in lru_add_drain()
Dcompaction.c1438 cpu = get_cpu(); in compact_zone()
Dmemcontrol.c1962 curcpu = get_cpu(); in drain_all_stock()
/linux-4.4.14/drivers/cpufreq/
Dcpufreq_ondemand.c476 cpu = get_cpu(); in od_init()
Dacpi-cpufreq.c329 this_cpu = get_cpu(); in drv_write()
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
Dgeneric.c586 get_cpu(); in generic_get_mtrr()
/linux-4.4.14/drivers/crypto/
Dn2_core.c538 cpu = get_cpu(); in n2_do_async_digest()
983 qp = cpu_to_cwq[get_cpu()]; in n2_do_ecb()
1038 qp = cpu_to_cwq[get_cpu()]; in n2_do_chaining()
/linux-4.4.14/crypto/
Dmcryptd.c106 cpu = get_cpu(); in mcryptd_enqueue_request()
Dcryptd.c122 cpu = get_cpu(); in cryptd_enqueue_request()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlprocfs_status.h408 unsigned int cpuid = get_cpu(); in lprocfs_stats_lock()
/linux-4.4.14/drivers/perf/
Darm_pmu.c774 int cpu = get_cpu(); in probe_current_pmu()
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c622 } else if (cpu == get_cpu()) { in sn_hwperf_op_cpu()
/linux-4.4.14/arch/s390/oprofile/
Dhwsampler.c497 cpu = get_cpu(); in hws_oom_callback()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c205 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, get_cpu()); in ixgbe_fcoe_ddp_setup()
Dixgbe_main.c1316 int cpu = get_cpu(); in ixgbe_update_dca()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_io.c462 int index = get_cpu(); in bnx2fc_cmd_alloc()
1964 stats = per_cpu_ptr(lport->stats, get_cpu()); in bnx2fc_post_io_req()
Dbnx2fc_fcoe.c381 stats = per_cpu_ptr(lport->stats, get_cpu()); in bnx2fc_xmit()
909 get_cpu())->LinkFailureCount++; in bnx2fc_indicate_netevent()
/linux-4.4.14/arch/x86/kvm/
Dcpuid.c358 get_cpu(); in __do_cpuid_ent()
Dvmx.c8732 cpu = get_cpu(); in vmx_load_vmcs01()
8790 cpu = get_cpu(); in vmx_create_vcpu()
9952 cpu = get_cpu(); in nested_vmx_run()
Dx86.c4669 int cpu = get_cpu(); in kvm_emulate_wbinvd_noskip()
5630 cpu = get_cpu(); in kvm_timer_init()
/linux-4.4.14/virt/kvm/
Dkvm_main.c139 cpu = get_cpu(); in vcpu_load()
168 me = get_cpu(); in kvm_make_all_cpus_request()
2080 me = get_cpu(); in kvm_vcpu_kick()
/linux-4.4.14/arch/x86/kernel/cpu/
Dcommon.c995 cpu = get_cpu(); in enable_sep_cpu()
Dperf_event_p4.c803 int cpu = get_cpu(); in p4_hw_config()
/linux-4.4.14/arch/sparc/mm/
Dinit_64.c293 int this_cpu = get_cpu(); in flush_dcache()
375 this_cpu = get_cpu(); in flush_dcache_page()
/linux-4.4.14/net/sunrpc/
Dsvc_xprt.c343 cpu = get_cpu(); in svc_xprt_do_enqueue()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c859 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, get_cpu()); in i40e_fcoe_ddp_setup()
/linux-4.4.14/fs/
Deventpoll.c508 int this_cpu = get_cpu(); in ep_poll_safewake()
/linux-4.4.14/arch/x86/platform/uv/
Dtlb_uv.c1598 cpu = get_cpu(); in tunables_write()
/linux-4.4.14/arch/x86/xen/
Dmmu.c1082 get_cpu(); /* make sure we don't move around */ in xen_exit_mmap()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem.c1164 *cpu = get_cpu(); in local_clock_us()
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1195 int cpu = get_cpu(); in myri10ge_update_dca()
/linux-4.4.14/kernel/sched/
Dcore.c2190 int cpu = get_cpu(); in sched_fork()
/linux-4.4.14/net/core/
Ddev.c3560 ret = enqueue_to_backlog(skb, get_cpu(), &qtail); in netif_rx_internal()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c5582 int cpu = get_cpu(); in igb_update_dca()
/linux-4.4.14/drivers/md/
Draid5.c1923 cpu = get_cpu(); in raid_run_ops()
/linux-4.4.14/drivers/scsi/
Dhpsa.c2664 cpu = get_cpu(); in lockup_detected()