Home
last modified time | relevance | path

Searched refs:noinstr (Results 1 – 25 of 125) sorted by relevance

12345

/openbmc/linux/arch/loongarch/include/asm/
H A Dexception.h12 asmlinkage void noinstr do_ade(struct pt_regs *regs);
13 asmlinkage void noinstr do_ale(struct pt_regs *regs);
14 asmlinkage void noinstr do_bce(struct pt_regs *regs);
15 asmlinkage void noinstr do_bp(struct pt_regs *regs);
16 asmlinkage void noinstr do_ri(struct pt_regs *regs);
17 asmlinkage void noinstr do_fpu(struct pt_regs *regs);
18 asmlinkage void noinstr do_fpe(struct pt_regs *regs, unsigned long fcsr);
19 asmlinkage void noinstr do_lsx(struct pt_regs *regs);
20 asmlinkage void noinstr do_lasx(struct pt_regs *regs);
21 asmlinkage void noinstr do_lbt(struct pt_regs *regs);
[all …]
/openbmc/linux/arch/arm64/kernel/
H A Dentry-common.c56 static void noinstr enter_from_kernel_mode(struct pt_regs *regs) in enter_from_kernel_mode()
91 static void noinstr exit_to_kernel_mode(struct pt_regs *regs) in exit_to_kernel_mode()
149 asmlinkage void noinstr asm_exit_to_user_mode(struct pt_regs *regs) in asm_exit_to_user_mode()
159 static void noinstr arm64_enter_nmi(struct pt_regs *regs) in arm64_enter_nmi()
177 static void noinstr arm64_exit_nmi(struct pt_regs *regs) in arm64_exit_nmi()
199 static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs) in arm64_enter_el1_dbg()
214 static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs) in arm64_exit_el1_dbg()
286 static void noinstr __panic_unhandled(struct pt_regs *regs, const char *vector, in __panic_unhandled()
302 asmlinkage void noinstr el##_##regsize##_##vector##_handler(struct pt_regs *regs) \
392 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort()
[all …]
H A Didle.c23 void noinstr cpu_do_idle(void) in cpu_do_idle()
38 void noinstr arch_cpu_idle(void) in arch_cpu_idle()
H A Dproton-pack.c237 static noinstr void call_smc_arch_workaround_1(void) in call_smc_arch_workaround_1()
243 static noinstr void call_hvc_arch_workaround_1(void) in call_hvc_arch_workaround_1()
249 static noinstr void qcom_link_stack_sanitisation(void) in qcom_link_stack_sanitisation()
1076 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, in spectre_bhb_patch_loop_mitigation_enable()
1087 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, in spectre_bhb_patch_fw_mitigation_enabled()
1098 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt, in spectre_bhb_patch_loop_iter()
1119 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt, in spectre_bhb_patch_wa3()
H A Dalternative.c104 static noinstr void patch_alternative(struct alt_instr *alt, in patch_alternative()
124 static noinstr void clean_dcache_range_nopatch(u64 start, u64 end) in clean_dcache_range_nopatch()
294 noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr, in alt_cb_patch_nops()
H A Dpatch-scs.c131 static int noinstr scs_handle_fde_frame(const struct eh_frame *frame, in scs_handle_fde_frame()
208 int noinstr scs_patch(const u8 eh_frame[], int size) in scs_patch()
/openbmc/linux/kernel/
H A Dcontext_tracking.c81 static noinstr void ct_kernel_exit_state(int offset) in ct_kernel_exit_state()
101 static noinstr void ct_kernel_enter_state(int offset) in ct_kernel_enter_state()
124 static void noinstr ct_kernel_exit(bool user, int offset) in ct_kernel_exit()
163 static void noinstr ct_kernel_enter(bool user, int offset) in ct_kernel_enter()
204 void noinstr ct_nmi_exit(void) in ct_nmi_exit()
258 void noinstr ct_nmi_enter(void) in ct_nmi_enter()
317 void noinstr ct_idle_enter(void) in ct_idle_enter()
333 void noinstr ct_idle_exit(void) in ct_idle_exit()
365 noinstr void ct_irq_enter(void) in ct_irq_enter()
390 noinstr void ct_irq_exit(void) in ct_irq_exit()
[all …]
H A Dstackleak.c127 asmlinkage void noinstr stackleak_erase(void) in stackleak_erase()
139 asmlinkage void noinstr stackleak_erase_on_task_stack(void) in stackleak_erase_on_task_stack()
151 asmlinkage void noinstr stackleak_erase_off_task_stack(void) in stackleak_erase_off_task_stack()
159 void __used __no_caller_saved_registers noinstr stackleak_track_stack(void) in stackleak_track_stack()
/openbmc/linux/kernel/entry/
H A Dcommon.c33 void noinstr enter_from_user_mode(struct pt_regs *regs) in enter_from_user_mode()
110 noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall) in syscall_enter_from_user_mode()
124 noinstr void syscall_enter_from_user_mode_prepare(struct pt_regs *regs) in syscall_enter_from_user_mode_prepare()
145 void noinstr exit_to_user_mode(void) in exit_to_user_mode()
299 __visible noinstr void syscall_exit_to_user_mode(struct pt_regs *regs) in syscall_exit_to_user_mode()
307 noinstr void irqentry_enter_from_user_mode(struct pt_regs *regs) in irqentry_enter_from_user_mode()
312 noinstr void irqentry_exit_to_user_mode(struct pt_regs *regs) in irqentry_exit_to_user_mode()
320 noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs) in irqentry_enter()
412 noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state) in irqentry_exit()
453 irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs) in irqentry_nmi_enter()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dparavirt.c53 noinstr void paravirt_BUG(void) in paravirt_BUG()
68 DEFINE_PARAVIRT_ASM(pv_native_save_fl, "pushf; pop %rax", .noinstr.text);
69 DEFINE_PARAVIRT_ASM(pv_native_irq_disable, "cli", .noinstr.text);
70 DEFINE_PARAVIRT_ASM(pv_native_irq_enable, "sti", .noinstr.text);
71 DEFINE_PARAVIRT_ASM(pv_native_read_cr2, "mov %cr2, %rax", .noinstr.text);
146 static noinstr void pv_native_write_cr2(unsigned long val) in pv_native_write_cr2()
151 static noinstr unsigned long pv_native_get_debugreg(int regno) in pv_native_get_debugreg()
156 static noinstr void pv_native_set_debugreg(int regno, unsigned long val) in pv_native_set_debugreg()
161 noinstr void pv_native_wbinvd(void) in pv_native_wbinvd()
166 static noinstr void pv_native_safe_halt(void) in pv_native_safe_halt()
/openbmc/linux/arch/x86/entry/
H A Dcommon.c74 __visible noinstr void do_syscall_64(struct pt_regs *regs, int nr) in do_syscall_64()
162 __visible noinstr void do_int80_emulation(struct pt_regs *regs) in do_int80_emulation()
213 __visible noinstr void do_int80_syscall_32(struct pt_regs *regs) in do_int80_syscall_32()
233 static noinstr bool __do_fast_syscall_32(struct pt_regs *regs) in __do_fast_syscall_32()
281 __visible noinstr long do_fast_syscall_32(struct pt_regs *regs) in do_fast_syscall_32()
333 __visible noinstr long do_SYSENTER_32(struct pt_regs *regs) in do_SYSENTER_32()
397 __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs) in xen_pv_evtchn_do_upcall()
/openbmc/linux/arch/x86/include/asm/
H A Didtentry.h56 __visible noinstr void func(struct pt_regs *regs) \
102 __visible noinstr void func(struct pt_regs *regs, \
142 __visible noinstr void func(struct pt_regs *regs)
153 noinstr void fred_##func(struct pt_regs *regs)
181 __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
209 __visible noinstr void func(struct pt_regs *regs, \
256 __visible noinstr void func(struct pt_regs *regs) \
295 __visible noinstr void func(struct pt_regs *regs) \
352 __visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \
353 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
[all …]
/openbmc/linux/lib/
H A Dsmp_processor_id.c11 noinstr static
58 noinstr unsigned int debug_smp_processor_id(void) in debug_smp_processor_id()
64 noinstr void __this_cpu_preempt_check(const char *op) in __this_cpu_preempt_check()
/openbmc/linux/include/linux/
H A Dentry-common.h410 irqentry_state_t noinstr irqentry_enter(struct pt_regs *regs);
447 void noinstr irqentry_exit(struct pt_regs *regs, irqentry_state_t state);
455 irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs);
466 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state);
/openbmc/linux/arch/loongarch/kernel/
H A Dtraps.c481 asmlinkage void noinstr do_fpe(struct pt_regs *regs, unsigned long fcsr) in do_fpe()
508 asmlinkage void noinstr do_ade(struct pt_regs *regs) in do_ade()
522 asmlinkage void noinstr do_ale(struct pt_regs *regs) in do_ale()
588 asmlinkage void noinstr do_bce(struct pt_regs *regs) in do_bce()
677 asmlinkage void noinstr do_bp(struct pt_regs *regs) in do_bp()
761 asmlinkage void noinstr do_watch(struct pt_regs *regs) in do_watch()
814 asmlinkage void noinstr do_ri(struct pt_regs *regs) in do_ri()
909 asmlinkage void noinstr do_fpu(struct pt_regs *regs) in do_fpu()
926 asmlinkage void noinstr do_lsx(struct pt_regs *regs) in do_lsx()
948 asmlinkage void noinstr do_lasx(struct pt_regs *regs) in do_lasx()
[all …]
/openbmc/linux/arch/x86/coco/
H A Dcore.c23 static bool noinstr intel_cc_platform_has(enum cc_attr attr) in intel_cc_platform_has()
65 static bool noinstr amd_cc_platform_has(enum cc_attr attr) in amd_cc_platform_has()
104 bool noinstr cc_platform_has(enum cc_attr attr) in cc_platform_has()
/openbmc/linux/Documentation/core-api/
H A Dentry.rst18 Non-instrumentable code - noinstr
27 Such code must be marked with the 'noinstr' attribute, placing that code into a
30 noinstr and using instrumentation_begin() and instrumentation_end() to flag the
35 noinstr void entry(void)
37 handle_entry(); // <-- must be 'noinstr' or '__always_inline'
45 handle_exit(); // <-- must be 'noinstr' or '__always_inline'
48 This allows verification of the 'noinstr' restrictions via objtool on
68 noinstr void syscall(struct pt_regs *regs, int nr)
148 noinstr void interrupt(struct pt_regs *regs, int nr)
233 noinstr void nmi(struct pt_regs *regs)
[all …]
/openbmc/linux/arch/x86/xen/
H A Dirq.c22 noinstr void xen_force_evtchn_callback(void) in xen_force_evtchn_callback()
27 static noinstr void xen_safe_halt(void) in xen_safe_halt()
/openbmc/linux/arch/x86/kernel/cpu/microcode/
H A Dcore.c284 static noinstr bool wait_for_cpus(atomic_t *cnt) in wait_for_cpus()
309 static noinstr bool wait_for_ctrl(void) in wait_for_ctrl()
334 static noinstr bool load_secondary_wait(unsigned int ctrl_cpu) in load_secondary_wait()
361 static noinstr void load_secondary(unsigned int cpu) in load_secondary()
476 void noinstr microcode_offline_nmi_handler(void) in microcode_offline_nmi_handler()
486 static noinstr bool microcode_update_handler(void) in microcode_update_handler()
517 bool noinstr microcode_nmi_handler(void) in microcode_nmi_handler()
/openbmc/linux/tools/objtool/
H A Dbuiltin-check.c73 OPT_BOOLEAN('n', "noinstr", &opts.noinstr, "validate noinstr rules"),
138 opts.noinstr || in opts_valid()
187 if (opts.noinstr) { in link_opts_valid()
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dinternal.h246 noinstr void pentium_machine_check(struct pt_regs *regs);
247 noinstr void winchip_machine_check(struct pt_regs *regs);
257 noinstr u64 mce_rdmsrl(u32 msr);
H A Dseverity.c274 static noinstr int error_context(struct mce *m, struct pt_regs *regs) in error_context()
310 static noinstr int mce_severity_amd(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity_amd()
370 static noinstr int mce_severity_intel(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity_intel()
403 int noinstr mce_severity(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity()
/openbmc/linux/arch/riscv/kernel/
H A Dtraps.c131 #define __trap_section noinstr
336 asmlinkage __visible noinstr void do_page_fault(struct pt_regs *regs) in do_page_fault()
348 static void noinstr handle_riscv_irq(struct pt_regs *regs) in handle_riscv_irq()
359 asmlinkage void noinstr do_irq(struct pt_regs *regs) in do_irq()
/openbmc/linux/drivers/misc/lkdtm/
H A Drodata.c8 void noinstr lkdtm_rodata_do_nothing(void) in lkdtm_rodata_do_nothing()
/openbmc/linux/kernel/locking/
H A Dirqflag-debug.c7 noinstr void warn_bogus_irq_restore(void) in warn_bogus_irq_restore()

12345