| /linux-6.15/arch/x86/kernel/ |
| H A D | early_printk.c | 117 while ((static_call(serial_in)(early_serial_base, LSR) & XMTRDY) == 0 && --timeout) in early_serial_putc() 119 static_call(serial_out)(early_serial_base, TXR, ch); in early_serial_putc() 137 static_call(serial_out)(early_serial_base, LCR, 0x3); /* 8n1 */ in early_serial_hw_init() 138 static_call(serial_out)(early_serial_base, IER, 0); /* no interrupt */ in early_serial_hw_init() 139 static_call(serial_out)(early_serial_base, FCR, 0); /* no fifo */ in early_serial_hw_init() 140 static_call(serial_out)(early_serial_base, MCR, 0x3); /* DTR + RTS */ in early_serial_hw_init() 142 c = static_call(serial_in)(early_serial_base, LCR); in early_serial_hw_init() 143 static_call(serial_out)(early_serial_base, LCR, c | DLAB); in early_serial_hw_init() 144 static_call(serial_out)(early_serial_base, DLL, divisor & 0xff); in early_serial_hw_init() 145 static_call(serial_out)(early_serial_base, DLH, (divisor >> 8) & 0xff); in early_serial_hw_init() [all …]
|
| H A D | Makefile | 76 obj-y += static_call.o
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | apic.h | 400 return static_call(apic_call_read)(reg); in apic_read() 405 static_call(apic_call_write)(reg, val); in apic_write() 410 static_call(apic_call_eoi)(); in apic_eoi() 415 static_call(apic_call_native_eoi)(); in apic_native_eoi() 420 return static_call(apic_call_icr_read)(); in apic_icr_read() 425 static_call(apic_call_icr_write)(low, high); in apic_icr_write() 430 static_call(apic_call_send_IPI)(cpu, vector); in __apic_send_IPI() 440 static_call(apic_call_send_IPI_mask_allbutself)(mask, vector); in __apic_send_IPI_mask_allbutself() 445 static_call(apic_call_send_IPI_allbutself)(vector); in __apic_send_IPI_allbutself() 450 static_call(apic_call_send_IPI_all)(vector); in __apic_send_IPI_all()
|
| H A D | paravirt.h | 35 return static_call(pv_sched_clock)(); in paravirt_sched_clock() 49 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
|
| /linux-6.15/tools/include/linux/ |
| H A D | static_call_types.h | 90 #define static_call(name) __static_call(name) macro 98 #define static_call(name) \ macro
|
| /linux-6.15/include/linux/ |
| H A D | static_call_types.h | 90 #define static_call(name) __static_call(name) macro 98 #define static_call(name) \ macro
|
| H A D | entry-common.h | 511 #define irqentry_exit_cond_resched() static_call(irqentry_exit_cond_resched)()
|
| H A D | perf_event.h | 1615 return static_call(__perf_guest_state)(); in perf_guest_state() 1619 return static_call(__perf_guest_get_ip)(); in perf_guest_get_ip() 1623 return static_call(__perf_guest_handle_intel_pt_intr)(); in perf_guest_handle_intel_pt_intr()
|
| /linux-6.15/security/keys/trusted-keys/ |
| H A D | trusted_core.c | 185 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-6.15/arch/arm/include/asm/ |
| H A D | paravirt.h | 18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | paravirt.h | 18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | paravirt.h | 18 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | paravirt.h | 17 return static_call(pv_steal_clock)(cpu); in paravirt_steal_clock()
|
| /linux-6.15/tools/objtool/include/objtool/ |
| H A D | builtin.h | 25 bool static_call; member
|
| /linux-6.15/arch/x86/events/ |
| H A D | core.c | 739 static_call(x86_pmu_disable_all)(); in x86_pmu_disable() 1369 static_call(x86_pmu_enable_all)(added); in x86_pmu_enable() 1521 static_call(x86_pmu_set_period)(event); in x86_pmu_start() 1528 static_call(x86_pmu_enable)(event); in x86_pmu_start() 1603 static_call(x86_pmu_disable)(event); in x86_pmu_stop() 1615 static_call(x86_pmu_update)(event); in x86_pmu_stop() 1706 val = static_call(x86_pmu_update)(event); in x86_pmu_handle_irq() 1715 if (!static_call(x86_pmu_set_period)(event)) in x86_pmu_handle_irq() 1758 ret = static_call(x86_pmu_handle_irq)(regs); in perf_event_nmi_handler() 2053 static_call(x86_pmu_update)(event); in _x86_pmu_read() [all …]
|
| /linux-6.15/tools/objtool/ |
| H A D | builtin-check.c | 87 OPT_BOOLEAN('t', "static-call", &opts.static_call, "annotate static calls"), 171 opts.static_call || in opts_valid()
|
| /linux-6.15/arch/x86/lib/ |
| H A D | crc-pclmul-template.h | 69 crc = static_call(prefix##_pclmul)((crc), (p), (len), \
|
| /linux-6.15/arch/x86/events/amd/ |
| H A D | core.c | 383 return static_call(amd_pmu_branch_hw_config)(event); in amd_core_hw_config() 560 static_call(amd_pmu_branch_reset)(); in amd_pmu_cpu_reset() 713 if (!static_call(amd_pmu_test_overflow)(idx)) in amd_pmu_wait_on_overflow() 836 static_call(amd_pmu_branch_add)(event); in amd_pmu_add_event() 844 static_call(amd_pmu_branch_del)(event); in amd_pmu_del_event()
|
| /linux-6.15/drivers/cpufreq/ |
| H A D | amd-pstate.c | 213 return static_call(amd_pstate_get_epp)(cpudata); in amd_pstate_get_epp() 282 return static_call(amd_pstate_update_perf)(policy, min_perf, des_perf, in amd_pstate_update_perf() 328 return static_call(amd_pstate_set_epp)(policy, epp); in amd_pstate_set_epp() 386 return static_call(amd_pstate_cppc_enable)(policy); in amd_pstate_cppc_enable() 460 return static_call(amd_pstate_init_perf)(cpudata); in amd_pstate_init_perf()
|
| /linux-6.15/arch/x86/kvm/mmu/ |
| H A D | tdp_mmu.c | 381 ret = static_call(kvm_x86_remove_external_spte)(kvm, gfn, level, old_pfn); in remove_external_spte() 488 WARN_ON(static_call(kvm_x86_free_external_spt)(kvm, base_gfn, sp->role.level, in handle_removed_pt() 541 ret = static_call(kvm_x86_set_external_spte)(kvm, gfn, level, new_pfn); in set_external_spte_present() 546 ret = static_call(kvm_x86_link_external_spt)(kvm, gfn, level, external_spt); in set_external_spte_present()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | irq.c | 242 irq = static_call(ppc_get_irq)(); in __do_irq()
|
| H A D | Makefile | 133 obj-$(CONFIG_PPC32) += entry_32.o setup_32.o early_32.o static_call.o
|
| /linux-6.15/kernel/ |
| H A D | Makefile | 121 obj-$(CONFIG_HAVE_STATIC_CALL) += static_call.o
|
| H A D | static_call_inline.c | 559 WARN_ON(static_call(sc_selftest)(scd->val) != scd->expect); in test_static_call_init()
|
| /linux-6.15/kernel/trace/ |
| H A D | fgraph.c | 676 if (static_call(fgraph_func)(&trace, fgraph_direct_gops, fregs)) in function_graph_enter_regs() 841 static_call(fgraph_retfunc)(&trace, fgraph_direct_gops, fregs); in __ftrace_return_to_handler()
|