Home
last modified time | relevance | path

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

12345

/linux-6.6.21/arch/loongarch/include/asm/
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 …]
/linux-6.6.21/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()
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 …]
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()
1064 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, in spectre_bhb_patch_loop_mitigation_enable()
1075 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, in spectre_bhb_patch_fw_mitigation_enabled()
1086 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt, in spectre_bhb_patch_loop_iter()
1107 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt, in spectre_bhb_patch_wa3()
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()
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()
/linux-6.6.21/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.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()
/linux-6.6.21/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.6.21/arch/x86/kernel/
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);
147 static noinstr void pv_native_write_cr2(unsigned long val) in pv_native_write_cr2()
152 static noinstr unsigned long pv_native_get_debugreg(int regno) in pv_native_get_debugreg()
157 static noinstr void pv_native_set_debugreg(int regno, unsigned long val) in pv_native_set_debugreg()
162 noinstr void pv_native_wbinvd(void) in pv_native_wbinvd()
167 static noinstr void pv_native_safe_halt(void) in pv_native_safe_halt()
Dirqflags.S10 .pushsection .noinstr.text, "ax"
/linux-6.6.21/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.6.21/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.6.21/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.6.21/arch/x86/entry/
Dcommon.c74 __visible noinstr void do_syscall_64(struct pt_regs *regs, int nr) in do_syscall_64()
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()
/linux-6.6.21/arch/x86/coco/
Dcore.c19 static bool noinstr intel_cc_platform_has(enum cc_attr attr) in intel_cc_platform_has()
61 static bool noinstr amd_cc_platform_has(enum cc_attr attr) in amd_cc_platform_has()
100 bool noinstr cc_platform_has(enum cc_attr attr) in cc_platform_has()
/linux-6.6.21/arch/loongarch/kernel/
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()
583 asmlinkage void noinstr do_bce(struct pt_regs *regs) in do_bce()
672 asmlinkage void noinstr do_bp(struct pt_regs *regs) in do_bp()
756 asmlinkage void noinstr do_watch(struct pt_regs *regs) in do_watch()
809 asmlinkage void noinstr do_ri(struct pt_regs *regs) in do_ri()
904 asmlinkage void noinstr do_fpu(struct pt_regs *regs) in do_fpu()
921 asmlinkage void noinstr do_lsx(struct pt_regs *regs) in do_lsx()
943 asmlinkage void noinstr do_lasx(struct pt_regs *regs) in do_lasx()
[all …]
/linux-6.6.21/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.6.21/arch/x86/xen/
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()
/linux-6.6.21/tools/objtool/
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()
/linux-6.6.21/arch/x86/kernel/cpu/mce/
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);
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()
/linux-6.6.21/arch/riscv/kernel/
Dtraps.c131 #define __trap_section noinstr
337 asmlinkage __visible noinstr void do_page_fault(struct pt_regs *regs) in do_page_fault()
349 static void noinstr handle_riscv_irq(struct pt_regs *regs) in handle_riscv_irq()
360 asmlinkage void noinstr do_irq(struct pt_regs *regs) in do_irq()
/linux-6.6.21/drivers/misc/lkdtm/
Drodata.c8 void noinstr lkdtm_rodata_do_nothing(void) in lkdtm_rodata_do_nothing()
/linux-6.6.21/kernel/locking/
Dirqflag-debug.c7 noinstr void warn_bogus_irq_restore(void) in warn_bogus_irq_restore()

12345