Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_getcpu.c32 getcpu_t get_cpu; in main() local
43 get_cpu = (getcpu_t)vdso_sym(version, name); in main()
44 if (!get_cpu) { in main()
49 ret = get_cpu(&cpu, &node, 0); in main()
/openbmc/qemu/contrib/plugins/
H A Dexeclog.c44 static CPU *get_cpu(int vcpu_index) in get_cpu() function
60 CPU *c = get_cpu(cpu_index); in vcpu_mem()
117 CPU *cpu = get_cpu(cpu_index); in vcpu_insn_exec_with_regs()
138 CPU *cpu = get_cpu(cpu_index); in vcpu_insn_exec_only_regs()
157 CPU *cpu = get_cpu(cpu_index); in vcpu_insn_exec()
389 c = get_cpu(vcpu_index); in vcpu_init()
402 CPU *c = get_cpu(i); in plugin_exit()
/openbmc/linux/net/rds/
H A Dpage.c90 rem = &per_cpu(rds_page_remainders, get_cpu()); in rds_page_remainder_alloc()
124 rem = &per_cpu(rds_page_remainders, get_cpu()); in rds_page_remainder_alloc()
/openbmc/linux/arch/s390/include/asm/
H A Dabs_lowcore.h18 cpu = get_cpu(); in get_abs_lowcore()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dthis_cpu_ops.rst98 cpu = get_cpu();
121 ``this_cpu_ptr`` 避免了通用 ``get_cpu``/``put_cpu`` 序列所需的多个步骤。没有可用
/openbmc/linux/arch/openrisc/kernel/
H A Dsmp.c237 cpuid = get_cpu(); in smp_flush_tlb_mm()
275 cpuid = get_cpu(); in smp_flush_tlb_range()
/openbmc/linux/kernel/
H A Dprofile.c174 j = per_cpu(cpu_profile_flip, get_cpu()); in profile_flip_buffers()
197 i = per_cpu(cpu_profile_flip, get_cpu()); in profile_discard_flip_buffers()
216 cpu = get_cpu(); in do_profile_hits()
/openbmc/linux/arch/arm/vfp/
H A Dvfpmodule.c103 cpu = get_cpu(); in vfp_thread_flush()
122 unsigned int cpu = get_cpu(); in vfp_thread_exit()
515 unsigned int cpu = get_cpu(); in vfp_sync_hwstate()
537 unsigned int cpu = get_cpu(); in vfp_flush_hwstate()
/openbmc/linux/lib/
H A Ddhry_run.c34 unsigned int cpu = get_cpu(); in dhry_benchmark()
H A Dnmi_backtrace.c40 int i, this_cpu = get_cpu(); in nmi_trigger_cpumask_backtrace()
/openbmc/linux/arch/x86/um/
H A Dtls_32.c28 cpu = get_cpu(); in do_set_thread_area()
44 cpu = get_cpu(); in do_get_thread_area()
/openbmc/linux/arch/powerpc/include/asm/
H A Ddbell.h146 int this_cpu = get_cpu(); in doorbell_try_core_ipi()
/openbmc/linux/drivers/cpuidle/
H A Dcoupled.c711 int cpu = get_cpu(); in cpuidle_coupled_prevent_idle()
730 int cpu = get_cpu(); in cpuidle_coupled_allow_idle()
H A Ddriver.c332 cpu = get_cpu(); in cpuidle_get_driver()
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_common.h139 cpu = get_cpu(); in virtio_crypto_get_current_node()
/openbmc/linux/arch/riscv/mm/
H A Dtlbflush.c93 cpuid = get_cpu(); in __flush_tlb_range()
/openbmc/linux/include/linux/
H A Dsmp.h276 #define get_cpu() ({ preempt_disable(); __smp_processor_id(); }) macro
/openbmc/linux/arch/sparc/kernel/
H A Dsmp_64.c954 this_cpu = get_cpu(); in smp_flush_dcache_folio_impl()
1068 get_cpu(); in smp_flush_tlb_mm()
1097 get_cpu(); in smp_flush_tlb_pending()
1115 get_cpu(); in smp_flush_tlb_page()
/openbmc/linux/arch/arm/mach-omap2/
H A Domap-secure.c67 cpu = get_cpu(); in omap_secure_dispatcher()
/openbmc/linux/arch/arm/kernel/
H A Dsmp_tlb.c172 this_cpu = get_cpu(); in broadcast_tlb_mm_a15_erratum()
/openbmc/linux/arch/ia64/kernel/
H A Dsmp.c98 int this_cpu = get_cpu(); in handle_IPI()
/openbmc/linux/arch/s390/mm/
H A Dmaccess.c159 this_cpu = get_cpu(); in xlate_dev_mem_ptr()
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_dcc.c98 int cpu = get_cpu(); in hvc_dcc_check()
/openbmc/linux/drivers/perf/
H A Darm_pmu_platform.c28 int cpu = get_cpu(); in probe_current_pmu()
/openbmc/linux/arch/x86/include/asm/
H A Dtlbflush.h263 if (cpumask_any_but(mm_cpumask(mm), get_cpu()) < nr_cpu_ids) in arch_tlbbatch_should_defer()

1234