Home
last modified time | relevance | path

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

1234

/linux-6.1.9/arch/arm64/kernel/
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()
147 asmlinkage void noinstr asm_exit_to_user_mode(struct pt_regs *regs) in asm_exit_to_user_mode()
157 static void noinstr arm64_enter_nmi(struct pt_regs *regs) in arm64_enter_nmi()
175 static void noinstr arm64_exit_nmi(struct pt_regs *regs) in arm64_exit_nmi()
197 static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs) in arm64_enter_el1_dbg()
212 static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs) in arm64_exit_el1_dbg()
284 static void noinstr __panic_unhandled(struct pt_regs *regs, const char *vector, in __panic_unhandled()
300 asmlinkage void noinstr el##_##regsize##_##vector##_handler(struct pt_regs *regs) \
361 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort()
[all …]
Didle.c23 void noinstr cpu_do_idle(void) in cpu_do_idle()
38 void noinstr arch_cpu_idle(void) in arch_cpu_idle()
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()
1079 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, in spectre_bhb_patch_loop_mitigation_enable()
1090 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, in spectre_bhb_patch_fw_mitigation_enabled()
1101 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt, in spectre_bhb_patch_loop_iter()
1122 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt, in spectre_bhb_patch_wa3()
/linux-6.1.9/kernel/
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 …]
Dstackleak.c118 asmlinkage void noinstr stackleak_erase(void) in stackleak_erase()
130 asmlinkage void noinstr stackleak_erase_on_task_stack(void) in stackleak_erase_on_task_stack()
142 asmlinkage void noinstr stackleak_erase_off_task_stack(void) in stackleak_erase_off_task_stack()
150 void __used __no_caller_saved_registers noinstr stackleak_track_stack(void) in stackleak_track_stack()
/linux-6.1.9/kernel/entry/
Dcommon.c33 void noinstr enter_from_user_mode(struct pt_regs *regs) in enter_from_user_mode()
104 noinstr long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall) in syscall_enter_from_user_mode()
118 noinstr void syscall_enter_from_user_mode_prepare(struct pt_regs *regs) in syscall_enter_from_user_mode_prepare()
139 void noinstr exit_to_user_mode(void) in exit_to_user_mode()
293 __visible noinstr void syscall_exit_to_user_mode(struct pt_regs *regs) in syscall_exit_to_user_mode()
301 noinstr void irqentry_enter_from_user_mode(struct pt_regs *regs) in irqentry_enter_from_user_mode()
306 noinstr void irqentry_exit_to_user_mode(struct pt_regs *regs) in irqentry_exit_to_user_mode()
314 noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs) in irqentry_enter()
406 noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state) in irqentry_exit()
447 irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs) in irqentry_nmi_enter()
[all …]
/linux-6.1.9/arch/x86/entry/
Dcommon.c73 __visible noinstr void do_syscall_64(struct pt_regs *regs, int nr) in do_syscall_64()
119 __visible noinstr void do_int80_syscall_32(struct pt_regs *regs) in do_int80_syscall_32()
138 static noinstr bool __do_fast_syscall_32(struct pt_regs *regs) in __do_fast_syscall_32()
186 __visible noinstr long do_fast_syscall_32(struct pt_regs *regs) in do_fast_syscall_32()
238 __visible noinstr long do_SYSENTER_32(struct pt_regs *regs) in do_SYSENTER_32()
302 __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs) in xen_pv_evtchn_do_upcall()
Dentry.S10 .pushsection .noinstr.text, "ax"
/linux-6.1.9/arch/x86/include/asm/
Didtentry.h52 __visible noinstr void func(struct pt_regs *regs) \
98 __visible noinstr void func(struct pt_regs *regs, \
138 __visible noinstr void func(struct pt_regs *regs)
166 __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
194 __visible noinstr void func(struct pt_regs *regs, \
236 __visible noinstr void func(struct pt_regs *regs) \
263 __visible noinstr void func(struct pt_regs *regs) \
317 __visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \
318 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
404 __visible noinstr void func(struct pt_regs *regs, \
/linux-6.1.9/lib/
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()
/linux-6.1.9/arch/loongarch/kernel/
Dtraps.c334 asmlinkage void noinstr do_fpe(struct pt_regs *regs, unsigned long fcsr) in do_fpe()
361 asmlinkage void noinstr do_ade(struct pt_regs *regs) in do_ade()
371 asmlinkage void noinstr do_ale(struct pt_regs *regs) in do_ale()
404 asmlinkage void noinstr do_bp(struct pt_regs *regs) in do_bp()
483 asmlinkage void noinstr do_watch(struct pt_regs *regs) in do_watch()
488 asmlinkage void noinstr do_ri(struct pt_regs *regs) in do_ri()
530 asmlinkage void noinstr do_fpu(struct pt_regs *regs) in do_fpu()
545 asmlinkage void noinstr do_lsx(struct pt_regs *regs) in do_lsx()
556 asmlinkage void noinstr do_lasx(struct pt_regs *regs) in do_lasx()
567 asmlinkage void noinstr do_lbt(struct pt_regs *regs) in do_lbt()
[all …]
/linux-6.1.9/include/linux/
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);
/linux-6.1.9/arch/x86/kernel/
Dparavirt.c69 noinstr void paravirt_BUG(void) in paravirt_BUG()
216 static noinstr unsigned long pv_native_read_cr2(void) in pv_native_read_cr2()
221 static noinstr void pv_native_write_cr2(unsigned long val) in pv_native_write_cr2()
226 static noinstr unsigned long pv_native_get_debugreg(int regno) in pv_native_get_debugreg()
231 static noinstr void pv_native_set_debugreg(int regno, unsigned long val) in pv_native_set_debugreg()
236 static noinstr void pv_native_irq_enable(void) in pv_native_irq_enable()
241 static noinstr void pv_native_irq_disable(void) in pv_native_irq_disable()
Dirqflags.S10 .pushsection .noinstr.text, "ax"
/linux-6.1.9/Documentation/core-api/
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 …]
/linux-6.1.9/tools/objtool/
Dbuiltin-check.c68 OPT_BOOLEAN('n', "noinstr", &opts.noinstr, "validate noinstr rules"),
125 opts.noinstr || in opts_valid()
164 if (opts.noinstr) { in link_opts_valid()
/linux-6.1.9/arch/x86/kernel/cpu/mce/
Dinternal.h199 noinstr void pentium_machine_check(struct pt_regs *regs);
200 noinstr void winchip_machine_check(struct pt_regs *regs);
210 noinstr u64 mce_rdmsrl(u32 msr);
Dseverity.c269 static noinstr int error_context(struct mce *m, struct pt_regs *regs) in error_context()
305 static noinstr int mce_severity_amd(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity_amd()
365 static noinstr int mce_severity_intel(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity_intel()
401 int noinstr mce_severity(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity()
Dwinchip.c20 noinstr void winchip_machine_check(struct pt_regs *regs) in winchip_machine_check()
Dcore.c237 static noinstr void mce_panic(const char *msg, struct mce *final, char *exp) in mce_panic()
342 noinstr u64 mce_rdmsrl(u32 msr) in mce_rdmsrl()
377 static noinstr void mce_wrmsrl(u32 msr, u64 v) in mce_wrmsrl()
410 static noinstr void mce_gather_info(struct mce *m, struct pt_regs *regs) in mce_gather_info()
619 static noinstr void mce_read_aux(struct mce *m, int i) in mce_read_aux()
821 static noinstr bool quirk_skylake_repmov(void) in quirk_skylake_repmov()
908 static noinstr int mce_timed_out(u64 *t, const char *msg) in mce_timed_out()
1031 static noinstr int mce_start(int *no_way_out) in mce_start()
1106 static noinstr int mce_end(int order) in mce_end()
1199 static noinstr bool mce_check_crashing_cpu(void) in mce_check_crashing_cpu()
[all …]
Dp5.c24 noinstr void pentium_machine_check(struct pt_regs *regs) in pentium_machine_check()
/linux-6.1.9/drivers/misc/lkdtm/
Drodata.c8 void noinstr lkdtm_rodata_do_nothing(void) in lkdtm_rodata_do_nothing()
/linux-6.1.9/kernel/locking/
Dirqflag-debug.c7 noinstr void warn_bogus_irq_restore(void) in warn_bogus_irq_restore()
/linux-6.1.9/tools/objtool/include/objtool/
Dbuiltin.h19 bool noinstr; member
/linux-6.1.9/arch/x86/xen/
Dirq.c22 noinstr void xen_force_evtchn_callback(void) in xen_force_evtchn_callback()

1234