Home
last modified time | relevance | path

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

12

/linux/arch/x86/kvm/
H A Dsmm.c203 static_call(kvm_x86_get_gdt)(vcpu, &dt); in enter_smm_save_state_32()
207 static_call(kvm_x86_get_idt)(vcpu, &dt); in enter_smm_save_state_32()
253 static_call(kvm_x86_get_idt)(vcpu, &dt); in enter_smm_save_state_64()
259 static_call(kvm_x86_get_gdt)(vcpu, &dt); in enter_smm_save_state_64()
319 static_call(kvm_x86_set_cr0)(vcpu, cr0); in enter_smm()
321 static_call(kvm_x86_set_cr4)(vcpu, 0); in enter_smm()
325 static_call(kvm_x86_set_idt)(vcpu, &dt); in enter_smm()
482 static_call(kvm_x86_set_gdt)(vcpu, &dt); in rsm_load_state_32()
486 static_call(kvm_x86_set_idt)(vcpu, &dt); in rsm_load_state_32()
538 static_call(kvm_x86_set_idt)(vcpu, &dt); in rsm_load_state_64()
[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 Dpmu.c545 return static_call(kvm_x86_pmu_check_rdpmc_early)(vcpu, idx); in kvm_pmu_check_rdpmc_early()
594 pmc = static_call(kvm_x86_pmu_rdpmc_ecx_to_pmc)(vcpu, idx, &mask); in kvm_pmu_rdpmc()
599 (static_call(kvm_x86_get_cpl)(vcpu) != 0) && in kvm_pmu_rdpmc()
625 return static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr) || in kvm_pmu_is_valid_msr()
626 static_call(kvm_x86_pmu_is_valid_msr)(vcpu, msr); in kvm_pmu_is_valid_msr()
632 struct kvm_pmc *pmc = static_call(kvm_x86_pmu_msr_idx_to_pmc)(vcpu, msr); in kvm_pmu_mark_pmc_in_use()
657 return static_call(kvm_x86_pmu_get_msr)(vcpu, msr_info); in kvm_pmu_get_msr()
716 return static_call(kvm_x86_pmu_set_msr)(vcpu, msr_info); in kvm_pmu_set_msr()
781 static_call(kvm_x86_pmu_refresh)(vcpu); in kvm_pmu_refresh()
799 static_call(kvm_x86_pmu_init)(vcpu); in kvm_pmu_init()
[all …]
H A Dx86.c1007 static_call(kvm_x86_set_cr0)(vcpu, cr0); in kvm_set_cr0()
1218 static_call(kvm_x86_set_cr4)(vcpu, cr4); in kvm_set_cr4()
1357 static_call(kvm_x86_set_dr7)(vcpu, dr7); in kvm_update_dr7()
3622 static_call(kvm_x86_flush_tlb_all)(vcpu); in kvm_vcpu_flush_tlb_all()
5124 static_call(kvm_x86_vcpu_put)(vcpu); in kvm_arch_vcpu_put()
5248 static_call(kvm_x86_setup_mce)(vcpu); in kvm_vcpu_ioctl_x86_setup_mce()
9855 static_call(kvm_x86_hardware_unsetup)(); in kvm_x86_vendor_init()
10394 static_call(kvm_x86_inject_nmi)(vcpu); in kvm_check_and_inject_events()
12278 static_call(kvm_x86_vcpu_free)(vcpu); in kvm_arch_vcpu_destroy()
12416 static_call(kvm_x86_set_cr4)(vcpu, 0); in kvm_vcpu_reset()
[all …]
H A Dmmu.h166 static_call(kvm_x86_load_mmu_pgd)(vcpu, root_hpa, in kvm_mmu_load_pgd()
202 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()
/linux/arch/x86/include/asm/
H A Dapic.h405 return static_call(apic_call_read)(reg); in apic_read()
410 static_call(apic_call_write)(reg, val); in apic_write()
415 static_call(apic_call_eoi)(); in apic_eoi()
420 static_call(apic_call_native_eoi)(); in apic_native_eoi()
425 return static_call(apic_call_icr_read)(); in apic_icr_read()
430 static_call(apic_call_icr_write)(low, high); in apic_icr_write()
435 static_call(apic_call_send_IPI)(cpu, vector); in __apic_send_IPI()
445 static_call(apic_call_send_IPI_mask_allbutself)(mask, vector); in __apic_send_IPI_mask_allbutself()
450 static_call(apic_call_send_IPI_allbutself)(vector); in __apic_send_IPI_allbutself()
455 static_call(apic_call_send_IPI_all)(vector); in __apic_send_IPI_all()
H A Dparavirt.h35 return static_call(pv_sched_clock)(); in paravirt_sched_clock()
49 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/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.h510 #define irqentry_exit_cond_resched() static_call(irqentry_exit_cond_resched)()
H A Dperf_event.h1516 return static_call(__perf_guest_state)(); in perf_guest_state()
1520 return static_call(__perf_guest_get_ip)(); in perf_guest_get_ip()
1524 return static_call(__perf_guest_handle_intel_pt_intr)(); in perf_guest_handle_intel_pt_intr()
/linux/tools/include/linux/
H A Dstatic_call_types.h90 #define static_call(name) __static_call(name) macro
98 #define static_call(name) \ macro
/linux/security/keys/trusted-keys/
H A Dtrusted_core.c185 ret = static_call(trusted_key_unseal)(payload, datablob); in trusted_instantiate()
192 ret = static_call(trusted_key_get_random)(payload->key, in trusted_instantiate()
203 ret = static_call(trusted_key_seal)(payload, datablob); in trusted_instantiate()
272 ret = static_call(trusted_key_seal)(new_p, datablob); in trusted_update()
/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()
/linux/arch/arm/include/asm/
H A Dparavirt.h18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/linux/arch/arm64/include/asm/
H A Dparavirt.h18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/linux/arch/riscv/include/asm/
H A Dparavirt.h18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/linux/arch/loongarch/include/asm/
H A Dparavirt.h17 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
/linux/tools/objtool/include/objtool/
H A Dbuiltin.h25 bool static_call; member
/linux/arch/x86/events/
H A Dcore.c731 static_call(x86_pmu_disable_all)(); in x86_pmu_disable()
1356 static_call(x86_pmu_enable_all)(added); in x86_pmu_enable()
1508 static_call(x86_pmu_set_period)(event); in x86_pmu_start()
1515 static_call(x86_pmu_enable)(event); in x86_pmu_start()
1588 static_call(x86_pmu_disable)(event); in x86_pmu_stop()
1600 static_call(x86_pmu_update)(event); in x86_pmu_stop()
1691 val = static_call(x86_pmu_update)(event); in x86_pmu_handle_irq()
1700 if (!static_call(x86_pmu_set_period)(event)) in x86_pmu_handle_irq()
1744 ret = static_call(x86_pmu_handle_irq)(regs); in perf_event_nmi_handler()
2038 static_call(x86_pmu_update)(event); in _x86_pmu_read()
[all …]
/linux/arch/x86/events/amd/
H A Dcore.c383 return static_call(amd_pmu_branch_hw_config)(event); in amd_core_hw_config()
558 static_call(amd_pmu_branch_reset)(); in amd_pmu_cpu_reset()
711 if (!static_call(amd_pmu_test_overflow)(idx)) in amd_pmu_wait_on_overflow()
834 static_call(amd_pmu_branch_add)(event); in amd_pmu_add_event()
842 static_call(amd_pmu_branch_del)(event); in amd_pmu_del_event()
/linux/arch/powerpc/kernel/
H A Dirq.c242 irq = static_call(ppc_get_irq)(); in __do_irq()
/linux/kernel/
H A DMakefile116 obj-$(CONFIG_HAVE_STATIC_CALL) += static_call.o
/linux/arch/x86/kernel/
H A DMakefile70 obj-y += static_call.o
/linux/arch/x86/kvm/mmu/
H A Dspte.c193 spte |= static_call(kvm_x86_get_mt_mask)(vcpu, gfn, in make_spte()

12