Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dkvmclock.c62 cpu = get_cpu(); in kvm_get_wallclock()
109 cpu = get_cpu(); in kvm_get_tsc_khz()
284 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()
Dtls.c92 cpu = get_cpu(); in set_tls_desc()
Dprocess_64.c580 cpu = get_cpu(); in do_arch_prctl()
606 cpu = get_cpu(); in do_arch_prctl()
Ddumpstack_64.c155 const unsigned cpu = get_cpu(); in dump_trace()
Dprocess.c132 struct tss_struct *tss = &per_cpu(cpu_tss, get_cpu()); in exit_thread()
Dvm86_32.c153 tss = &per_cpu(cpu_tss, get_cpu()); in save_v86_state()
321 tss = &per_cpu(cpu_tss, get_cpu()); in do_sys_vm86()
Dhw_breakpoint.c443 cpu = get_cpu(); in hw_breakpoint_handler()
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.1.27/arch/arm/vfp/
Dvfpmodule.c106 cpu = get_cpu(); in vfp_thread_flush()
125 unsigned int cpu = get_cpu(); in vfp_thread_exit()
518 unsigned int cpu = get_cpu(); in vfp_sync_hwstate()
537 unsigned int cpu = get_cpu(); in vfp_flush_hwstate()
689 cpu = get_cpu(); in kernel_neon_begin()
/linux-4.1.27/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.h759 per_cpu(which, get_cpu()).member++; \
764 per_cpu(which, get_cpu()).member += count; \
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dtracefile.h279 unsigned int i = get_cpu(); in cfs_trace_get_console_buffer()
295 &(*cfs_trace_data[cfs_trace_buf_idx_get()])[get_cpu()].tcd; in cfs_trace_get_tcd()
/linux-4.1.27/drivers/hv/
Dchannel_mgmt.c191 if (channel->target_cpu != get_cpu()) { in hv_process_channel_removal()
256 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
279 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
337 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer()
803 cur_cpu = hv_context.vp_index[get_cpu()]; in vmbus_get_outgoing_channel()
Dconnection.c84 msg->target_vcpu = hv_context.vp_index[get_cpu()]; in vmbus_negotiate_version()
Dhv.c238 hv_context.post_msg_page[get_cpu()]; in hv_post_message()
Dchannel.c495 if (channel->target_cpu != get_cpu()) { in vmbus_close_internal()
/linux-4.1.27/arch/unicore32/include/asm/
Dtlbflush.h79 if (cpumask_test_cpu(get_cpu(), mm_cpumask(mm))) { in local_flush_tlb_mm()
/linux-4.1.27/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.c671 curr_cpu = get_cpu(); in relay_late_setup_files()
/linux-4.1.27/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.1.27/arch/x86/um/
Dtls_32.c27 cpu = get_cpu(); in do_set_thread_area()
43 cpu = get_cpu(); in do_get_thread_area()
/linux-4.1.27/include/linux/
Dsmp.h185 #define get_cpu() ({ preempt_disable(); smp_processor_id(); }) macro
Drelay.h233 buf = chan->buf[get_cpu()]; in __relay_write()
Dgenhd.h307 #define part_stat_lock() ({ rcu_read_lock(); get_cpu(); })
/linux-4.1.27/arch/arm/mach-mvebu/
Dplatsmp.c57 thiscpu = get_cpu(); in set_secondary_cpu_clock()
/linux-4.1.27/block/
Dblk-mq.h90 return __blk_mq_get_ctx(q, get_cpu()); in blk_mq_get_ctx()
Dblk-mq.c367 cpu = get_cpu(); in blk_mq_ipi_complete_request()
908 int cpu = get_cpu(); in blk_mq_run_hw_queue()
/linux-4.1.27/arch/mn10300/mm/
Dtlb-smp.c64 cpu_id = get_cpu(); in smp_flush_tlb()
/linux-4.1.27/drivers/cpuidle/
Dcoupled.c699 int cpu = get_cpu(); in cpuidle_coupled_prevent_idle()
718 int cpu = get_cpu(); in cpuidle_coupled_allow_idle()
Ddriver.c319 cpu = get_cpu(); in cpuidle_get_driver()
/linux-4.1.27/arch/x86/kernel/apic/
Dhw_nmi.c61 int this_cpu = get_cpu(); in arch_trigger_all_cpu_backtrace()
/linux-4.1.27/fs/ocfs2/cluster/
Dmasklog.h172 unsigned long _cpu = get_cpu(); \
/linux-4.1.27/arch/arm/kernel/
Dsmp_tlb.c132 this_cpu = get_cpu(); in broadcast_tlb_mm_a15_erratum()
Dperf_event_cpu.c286 int cpu = get_cpu(); in probe_current_pmu()
/linux-4.1.27/arch/blackfin/kernel/
Dcplbinfo.c94 get_cpu(); in cplbinfo_start()
/linux-4.1.27/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.1.27/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.1.27/arch/x86/kernel/cpu/mcheck/
Dmce-inject.c162 cpumask_clear_cpu(get_cpu(), mce_inject_cpumask); in raise_mce()
Dmce.c489 get_cpu(); in mce_ring_get()
/linux-4.1.27/arch/powerpc/kernel/
Dmachine_kexec_64.c188 my_cpu = get_cpu(); in kexec_prepare_cpus_wait()
Dvdso.c720 cpu = get_cpu(); in vdso_getcpu_init()
/linux-4.1.27/arch/arm/xen/
Denlighten.c91 int cpu = get_cpu(); in xen_percpu_init()
/linux-4.1.27/arch/sh/kernel/
Dhw_breakpoint.c304 cpu = get_cpu(); in hw_breakpoint_handler()
/linux-4.1.27/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.1.27/drivers/scsi/fcoe/
Dfcoe.c1290 unsigned targ_cpu = get_cpu(); in fcoe_percpu_thread_destroy()
1553 per_cpu_ptr(lport->stats, get_cpu())->ErrorFrames++; in fcoe_rcv()
1705 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_xmit()
1770 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_filter_frames()
1818 stats = per_cpu_ptr(lport->stats, get_cpu()); in fcoe_recv_frame()
2063 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.1.27/arch/x86/lib/
Dmsr-smp.c109 this_cpu = get_cpu(); in __rwmsr_on_cpus()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dsetup.c205 my_cpu = get_cpu(); in pnv_kexec_wait_secondaries_down()
/linux-4.1.27/drivers/xen/events/
Devents_fifo.c435 int cpu = get_cpu(); in xen_evtchn_fifo_init()
Devents_2l.c88 unsigned int cpu = get_cpu(); in evtchn_2l_unmask()
Devents_base.c1229 int cpu = get_cpu(); in __xen_evtchn_do_upcall()
/linux-4.1.27/drivers/pnp/pnpbios/
Dbioscalls.c97 cpu = get_cpu(); in call_pnp_bios()
/linux-4.1.27/arch/tile/mm/
Dhomecache.c162 int cpu = get_cpu(); in homecache_finv_page_va()
/linux-4.1.27/net/xfrm/
Dxfrm_ipcomp.c48 const int cpu = get_cpu(); in ipcomp_decompress()
/linux-4.1.27/kernel/trace/
Dtrace_functions.c103 tr->trace_buffer.cpu = get_cpu(); in function_trace_init()
/linux-4.1.27/arch/ia64/mm/
Dtlb.c90 cpu = get_cpu(); /* prevent preemption/migration */ in wrap_mmu_context()
/linux-4.1.27/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.1.27/drivers/cpufreq/
Dcpufreq_ondemand.c490 cpu = get_cpu(); in od_init()
Dacpi-cpufreq.c323 this_cpu = get_cpu(); in drv_write()
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
Dgeneric.c521 get_cpu(); in generic_get_mtrr()
/linux-4.1.27/drivers/block/
Dnull_blk.c254 struct completion_queue *cq = &per_cpu(completion_queues, get_cpu()); in null_cmd_end_timer()
/linux-4.1.27/mm/
Dzswap.c117 tfm = *per_cpu_ptr(zswap_comp_pcpu_tfms, get_cpu()); in zswap_comp_op()
Dswap.c857 lru_add_drain_cpu(get_cpu()); in lru_add_drain()
Dcompaction.c1401 cpu = get_cpu(); in compact_zone()
Dmemcontrol.c2150 curcpu = get_cpu(); in drain_all_stock()
/linux-4.1.27/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.1.27/crypto/
Dmcryptd.c106 cpu = get_cpu(); in mcryptd_enqueue_request()
Dcryptd.c122 cpu = get_cpu(); in cryptd_enqueue_request()
/linux-4.1.27/arch/s390/oprofile/
Dhwsampler.c497 cpu = get_cpu(); in hws_oom_callback()
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c622 } else if (cpu == get_cpu()) { in sn_hwperf_op_cpu()
/linux-4.1.27/virt/kvm/
Dkvm_main.c131 cpu = get_cpu(); in vcpu_load()
160 me = get_cpu(); in kvm_make_all_cpus_request()
1837 me = get_cpu(); in kvm_vcpu_kick()
/linux-4.1.27/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.c1296 int cpu = get_cpu(); in ixgbe_update_dca()
/linux-4.1.27/arch/x86/kvm/
Dcpuid.c356 get_cpu(); in __do_cpuid_ent()
Dvmx.c8372 cpu = get_cpu(); in vmx_load_vmcs01()
8430 cpu = get_cpu(); in vmx_create_vcpu()
9540 cpu = get_cpu(); in nested_vmx_run()
Dx86.c4751 int cpu = get_cpu(); in kvm_emulate_wbinvd_noskip()
5652 cpu = get_cpu(); in kvm_timer_init()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlprocfs_status.h406 unsigned int cpuid = get_cpu(); in lprocfs_stats_lock()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_io.c507 int index = get_cpu(); in bnx2fc_cmd_alloc()
2022 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()
910 get_cpu())->LinkFailureCount++; in bnx2fc_indicate_netevent()
/linux-4.1.27/arch/x86/kernel/cpu/
Dcommon.c1010 cpu = get_cpu(); in enable_sep_cpu()
Dperf_event_p4.c803 int cpu = get_cpu(); in p4_hw_config()
/linux-4.1.27/arch/sparc/mm/
Dinit_64.c291 int this_cpu = get_cpu(); in flush_dcache()
385 this_cpu = get_cpu(); in flush_dcache_page()
/linux-4.1.27/net/sunrpc/
Dsvc_xprt.c344 cpu = get_cpu(); in svc_xprt_do_enqueue()
/linux-4.1.27/fs/
Deventpoll.c508 int this_cpu = get_cpu(); in ep_poll_safewake()
/linux-4.1.27/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.1.27/arch/x86/platform/uv/
Dtlb_uv.c1598 cpu = get_cpu(); in tunables_write()
/linux-4.1.27/arch/x86/xen/
Dmmu.c1081 get_cpu(); /* make sure we don't move around */ in xen_exit_mmap()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1195 int cpu = get_cpu(); in myri10ge_update_dca()
/linux-4.1.27/net/core/
Ddev.c3406 ret = enqueue_to_backlog(skb, get_cpu(), &qtail); in netif_rx_internal()
/linux-4.1.27/kernel/sched/
Dcore.c1895 int cpu = get_cpu(); in sched_fork()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c5590 int cpu = get_cpu(); in igb_update_dca()
/linux-4.1.27/drivers/scsi/
Dhpsa.c2016 cpu = get_cpu(); in lockup_detected()
/linux-4.1.27/drivers/md/
Draid5.c1921 cpu = get_cpu(); in raid_run_ops()