Home
last modified time | relevance | path

Searched refs:static_call (Results 1 – 25 of 45) sorted by relevance

12

/openbmc/linux/arch/x86/kvm/
H A Dsmm.c206 static_call(kvm_x86_get_gdt)(vcpu, &dt); in enter_smm_save_state_32()
210 static_call(kvm_x86_get_idt)(vcpu, &dt); in enter_smm_save_state_32()
260 static_call(kvm_x86_get_idt)(vcpu, &dt); in enter_smm_save_state_64()
266 static_call(kvm_x86_get_gdt)(vcpu, &dt); in enter_smm_save_state_64()
326 static_call(kvm_x86_set_cr0)(vcpu, cr0); in enter_smm()
329 static_call(kvm_x86_set_cr4)(vcpu, 0); in enter_smm()
333 static_call(kvm_x86_set_idt)(vcpu, &dt); in enter_smm()
490 static_call(kvm_x86_set_gdt)(vcpu, &dt); in rsm_load_state_32()
494 static_call(kvm_x86_set_idt)(vcpu, &dt); in rsm_load_state_32()
546 static_call(kvm_x86_set_idt)(vcpu, &dt); in rsm_load_state_64()
[all …]
H A Dpmu.c395 static_call(kvm_x86_pmu_hw_event_available)(pmc) && in pmc_event_is_allowed()
537 (static_call(kvm_x86_get_cpl)(vcpu) != 0) && in kvm_pmu_rdpmc()
563 return static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr) || in kvm_pmu_is_valid_msr()
564 static_call(kvm_x86_pmu_is_valid_msr)(vcpu, msr); in kvm_pmu_is_valid_msr()
595 return static_call(kvm_x86_pmu_get_msr)(vcpu, msr_info); in kvm_pmu_get_msr()
654 return static_call(kvm_x86_pmu_set_msr)(vcpu, msr_info); in kvm_pmu_set_msr()
671 pmc = static_call(kvm_x86_pmu_pmc_idx_to_pmc)(pmu, i); in kvm_pmu_reset()
722 static_call(kvm_x86_pmu_refresh)(vcpu); in kvm_pmu_refresh()
740 static_call(kvm_x86_pmu_init)(vcpu); in kvm_pmu_init()
760 pmc = static_call(kvm_x86_pmu_pmc_idx_to_pmc)(pmu, i); in kvm_pmu_cleanup()
[all …]
H A Dkvm_cache_regs.h101 static_call(kvm_x86_cache_reg)(vcpu, reg); in kvm_register_read_raw()
141 static_call(kvm_x86_cache_reg)(vcpu, VCPU_EXREG_PDPTR); in kvm_pdptr_read()
156 static_call(kvm_x86_cache_reg)(vcpu, VCPU_EXREG_CR0); in kvm_read_cr0_bits()
178 static_call(kvm_x86_cache_reg)(vcpu, VCPU_EXREG_CR4); in kvm_read_cr4_bits()
193 static_call(kvm_x86_cache_reg)(vcpu, VCPU_EXREG_CR3); in kvm_read_cr3()
H A Dx86.c1004 static_call(kvm_x86_set_cr0)(vcpu, cr0); in kvm_set_cr0()
1215 static_call(kvm_x86_set_cr4)(vcpu, cr4); in kvm_set_cr4()
1354 static_call(kvm_x86_set_dr7)(vcpu, dr7); in kvm_update_dr7()
3469 static_call(kvm_x86_flush_tlb_all)(vcpu); in kvm_vcpu_flush_tlb_all()
4929 static_call(kvm_x86_vcpu_put)(vcpu); in kvm_arch_vcpu_put()
5053 static_call(kvm_x86_setup_mce)(vcpu); in kvm_vcpu_ioctl_x86_setup_mce()
9592 static_call(kvm_x86_hardware_unsetup)(); in __kvm_x86_vendor_init()
10125 static_call(kvm_x86_inject_nmi)(vcpu); in kvm_check_and_inject_events()
12009 static_call(kvm_x86_vcpu_free)(vcpu); in kvm_arch_vcpu_destroy()
12150 static_call(kvm_x86_set_cr4)(vcpu, 0); in kvm_vcpu_reset()
[all …]
H A Dmmu.h156 static_call(kvm_x86_load_mmu_pgd)(vcpu, root_hpa, in kvm_mmu_load_pgd()
192 unsigned long rflags = static_call(kvm_x86_get_rflags)(vcpu); in permission_fault()
H A Dlapic.h239 !static_call(kvm_x86_apic_init_signal_blocked)(vcpu); in kvm_apic_init_sipi_allowed()
/openbmc/linux/arch/x86/include/asm/
H A Dapic.h398 return static_call(apic_call_read)(reg); in apic_read()
403 static_call(apic_call_write)(reg, val); in apic_write()
408 static_call(apic_call_eoi)(); in apic_eoi()
413 static_call(apic_call_native_eoi)(); in apic_native_eoi()
418 return static_call(apic_call_icr_read)(); in apic_icr_read()
423 static_call(apic_call_icr_write)(low, high); in apic_icr_write()
428 static_call(apic_call_send_IPI)(cpu, vector); in __apic_send_IPI()
438 static_call(apic_call_send_IPI_mask_allbutself)(mask, vector); in __apic_send_IPI_mask_allbutself()
443 static_call(apic_call_send_IPI_allbutself)(vector); in __apic_send_IPI_allbutself()
448 static_call(apic_call_send_IPI_all)(vector); in __apic_send_IPI_all()
H A Dparavirt.h31 return static_call(pv_sched_clock)(); in paravirt_sched_clock()
45 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/openbmc/linux/tools/include/linux/
H A Dstatic_call_types.h90 #define static_call(name) __static_call(name) macro
98 #define static_call(name) \ macro
/openbmc/linux/include/linux/
H A Dstatic_call_types.h90 #define static_call(name) __static_call(name) macro
98 #define static_call(name) \ macro
H A Dentry-common.h423 #define irqentry_exit_cond_resched() static_call(irqentry_exit_cond_resched)()
H A Dperf_event.h1508 return static_call(__perf_guest_state)(); in perf_guest_state()
1512 return static_call(__perf_guest_get_ip)(); in perf_guest_get_ip()
1516 return static_call(__perf_guest_handle_intel_pt_intr)(); in perf_guest_handle_intel_pt_intr()
H A Dtracepoint.h173 static_call(tp_func_##name)(__data, args); \
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_core.c181 ret = static_call(trusted_key_unseal)(payload, datablob); in trusted_instantiate()
188 ret = static_call(trusted_key_get_random)(payload->key, in trusted_instantiate()
199 ret = static_call(trusted_key_seal)(payload, datablob); in trusted_instantiate()
268 ret = static_call(trusted_key_seal)(new_p, datablob); in trusted_update()
/openbmc/linux/arch/arm/include/asm/
H A Dparavirt.h18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/openbmc/linux/arch/arm64/include/asm/
H A Dparavirt.h18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/openbmc/linux/tools/objtool/
H A Dbuiltin-check.c81 OPT_BOOLEAN('t', "static-call", &opts.static_call, "annotate static calls"),
144 opts.static_call || in opts_valid()
/openbmc/linux/tools/objtool/include/objtool/
H A Dbuiltin.h25 bool static_call; member
/openbmc/linux/arch/x86/events/
H A Dcore.c733 static_call(x86_pmu_disable_all)(); in x86_pmu_disable()
1358 static_call(x86_pmu_enable_all)(added); in x86_pmu_enable()
1510 static_call(x86_pmu_set_period)(event); in x86_pmu_start()
1517 static_call(x86_pmu_enable)(event); in x86_pmu_start()
1590 static_call(x86_pmu_disable)(event); in x86_pmu_stop()
1602 static_call(x86_pmu_update)(event); in x86_pmu_stop()
1693 val = static_call(x86_pmu_update)(event); in x86_pmu_handle_irq()
1702 if (!static_call(x86_pmu_set_period)(event)) in x86_pmu_handle_irq()
1746 ret = static_call(x86_pmu_handle_irq)(regs); in perf_event_nmi_handler()
2040 static_call(x86_pmu_update)(event); in _x86_pmu_read()
[all …]
/openbmc/linux/arch/x86/events/amd/
H A Dcore.c368 return static_call(amd_pmu_branch_hw_config)(event); in amd_core_hw_config()
543 static_call(amd_pmu_branch_reset)(); in amd_pmu_cpu_reset()
696 if (!static_call(amd_pmu_test_overflow)(idx)) in amd_pmu_wait_on_overflow()
819 static_call(amd_pmu_branch_add)(event); in amd_pmu_add_event()
827 static_call(amd_pmu_branch_del)(event); in amd_pmu_del_event()
/openbmc/linux/arch/powerpc/kernel/
H A Dirq.c242 irq = static_call(ppc_get_irq)(); in __do_irq()
/openbmc/linux/arch/x86/kernel/
H A DMakefile67 obj-y += static_call.o
/openbmc/linux/kernel/
H A DMakefile114 obj-$(CONFIG_HAVE_STATIC_CALL) += static_call.o
/openbmc/linux/arch/x86/kvm/mmu/
H A Dspte.c193 spte |= static_call(kvm_x86_get_mt_mask)(vcpu, gfn, in make_spte()
/openbmc/linux/drivers/cpufreq/
H A Damd-pstate.c198 static_call(amd_pstate_update_perf)(cpudata, min_perf, des_perf, in amd_pstate_update_perf()
314 return static_call(amd_pstate_enable)(enable); in amd_pstate_enable()
405 return static_call(amd_pstate_init_perf)(cpudata); in amd_pstate_init_perf()

12