/linux-6.12.1/arch/loongarch/include/asm/ |
D | exception.h | 14 asmlinkage void noinstr do_ade(struct pt_regs *regs); 15 asmlinkage void noinstr do_ale(struct pt_regs *regs); 16 asmlinkage void noinstr do_bce(struct pt_regs *regs); 17 asmlinkage void noinstr do_bp(struct pt_regs *regs); 18 asmlinkage void noinstr do_ri(struct pt_regs *regs); 19 asmlinkage void noinstr do_fpu(struct pt_regs *regs); 20 asmlinkage void noinstr do_fpe(struct pt_regs *regs, unsigned long fcsr); 21 asmlinkage void noinstr do_lsx(struct pt_regs *regs); 22 asmlinkage void noinstr do_lasx(struct pt_regs *regs); 23 asmlinkage void noinstr do_lbt(struct pt_regs *regs); [all …]
|
/linux-6.12.1/arch/arm64/kernel/ |
D | entry-common.c | 57 static void noinstr enter_from_kernel_mode(struct pt_regs *regs) in enter_from_kernel_mode() 92 static void noinstr exit_to_kernel_mode(struct pt_regs *regs) in exit_to_kernel_mode() 183 asmlinkage void noinstr asm_exit_to_user_mode(struct pt_regs *regs) in asm_exit_to_user_mode() 193 static void noinstr arm64_enter_nmi(struct pt_regs *regs) in arm64_enter_nmi() 211 static void noinstr arm64_exit_nmi(struct pt_regs *regs) in arm64_exit_nmi() 233 static void noinstr arm64_enter_el1_dbg(struct pt_regs *regs) in arm64_enter_el1_dbg() 248 static void noinstr arm64_exit_el1_dbg(struct pt_regs *regs) in arm64_exit_el1_dbg() 320 static void noinstr __panic_unhandled(struct pt_regs *regs, const char *vector, in __panic_unhandled() 336 asmlinkage void noinstr el##_##regsize##_##vector##_handler(struct pt_regs *regs) \ 426 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() [all …]
|
D | patching.c | 91 noinstr int aarch64_insn_write_literal_u64(void *addr, u64 val) in aarch64_insn_write_literal_u64() 158 noinstr void *aarch64_insn_copy(void *dst, void *src, size_t len) in aarch64_insn_copy() 175 noinstr void *aarch64_insn_set(void *dst, u32 insn, size_t len) in aarch64_insn_set()
|
D | proton-pack.c | 237 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()
|
D | alternative.c | 104 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()
|
/linux-6.12.1/kernel/ |
D | context_tracking.c | 81 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 …]
|
D | stackleak.c | 126 asmlinkage void noinstr stackleak_erase(void) in stackleak_erase() 138 asmlinkage void noinstr stackleak_erase_on_task_stack(void) in stackleak_erase_on_task_stack() 150 asmlinkage void noinstr stackleak_erase_off_task_stack(void) in stackleak_erase_off_task_stack() 158 void __used __no_caller_saved_registers noinstr stackleak_track_stack(void) in stackleak_track_stack()
|
/linux-6.12.1/arch/x86/kernel/ |
D | paravirt.c | 48 DEFINE_ASM_FUNC(pv_native_save_fl, "pushf; pop %rax", .noinstr.text); 49 DEFINE_ASM_FUNC(pv_native_irq_disable, "cli", .noinstr.text); 50 DEFINE_ASM_FUNC(pv_native_irq_enable, "sti", .noinstr.text); 51 DEFINE_ASM_FUNC(pv_native_read_cr2, "mov %cr2, %rax", .noinstr.text); 104 static noinstr void pv_native_write_cr2(unsigned long val) in pv_native_write_cr2() 109 static noinstr unsigned long pv_native_get_debugreg(int regno) in pv_native_get_debugreg() 114 static noinstr void pv_native_set_debugreg(int regno, unsigned long val) in pv_native_set_debugreg() 119 noinstr void pv_native_wbinvd(void) in pv_native_wbinvd() 124 static noinstr void pv_native_safe_halt(void) in pv_native_safe_halt()
|
/linux-6.12.1/kernel/entry/ |
D | common.c | 74 noinstr void syscall_enter_from_user_mode_prepare(struct pt_regs *regs) in syscall_enter_from_user_mode_prepare() 215 __visible noinstr void syscall_exit_to_user_mode(struct pt_regs *regs) in syscall_exit_to_user_mode() 223 noinstr void irqentry_enter_from_user_mode(struct pt_regs *regs) in irqentry_enter_from_user_mode() 228 noinstr void irqentry_exit_to_user_mode(struct pt_regs *regs) in irqentry_exit_to_user_mode() 236 noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs) in irqentry_enter() 328 noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state) in irqentry_exit() 369 irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs) in irqentry_nmi_enter() 389 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state) in irqentry_nmi_exit()
|
/linux-6.12.1/include/linux/ |
D | stackleak.h | 80 asmlinkage void noinstr stackleak_erase(void); 81 asmlinkage void noinstr stackleak_erase_on_task_stack(void); 82 asmlinkage void noinstr stackleak_erase_off_task_stack(void); 83 void __no_caller_saved_registers noinstr stackleak_track_stack(void);
|
D | entry-common.h | 497 irqentry_state_t noinstr irqentry_enter(struct pt_regs *regs); 534 void noinstr irqentry_exit(struct pt_regs *regs, irqentry_state_t state); 542 irqentry_state_t noinstr irqentry_nmi_enter(struct pt_regs *regs); 553 void noinstr irqentry_nmi_exit(struct pt_regs *regs, irqentry_state_t irq_state);
|
/linux-6.12.1/arch/x86/entry/ |
D | entry_fred.c | 21 static noinstr void fred_bad_type(struct pt_regs *regs, unsigned long error_code) in fred_bad_type() 54 static noinstr void fred_intx(struct pt_regs *regs) in fred_intx() 138 static noinstr void fred_handle_spurious_interrupt(struct pt_regs *regs) in fred_handle_spurious_interrupt() 159 static noinstr void fred_extint(struct pt_regs *regs) in fred_extint() 180 static noinstr void fred_hwexc(struct pt_regs *regs, unsigned long error_code) in fred_hwexc() 215 static noinstr void fred_swexc(struct pt_regs *regs, unsigned long error_code) in fred_swexc() 224 __visible noinstr void fred_entry_from_user(struct pt_regs *regs) in fred_entry_from_user() 256 __visible noinstr void fred_entry_from_kernel(struct pt_regs *regs) in fred_entry_from_kernel() 285 __visible noinstr void __fred_entry_from_kvm(struct pt_regs *regs) in __fred_entry_from_kvm()
|
D | common.c | 76 __visible noinstr bool do_syscall_64(struct pt_regs *regs, int nr) in do_syscall_64() 210 __visible noinstr void do_int80_emulation(struct pt_regs *regs) in do_int80_emulation() 326 __visible noinstr void do_int80_syscall_32(struct pt_regs *regs) in do_int80_syscall_32() 346 static noinstr bool __do_fast_syscall_32(struct pt_regs *regs) in __do_fast_syscall_32() 394 __visible noinstr bool do_fast_syscall_32(struct pt_regs *regs) in do_fast_syscall_32() 441 __visible noinstr bool do_SYSENTER_32(struct pt_regs *regs) in do_SYSENTER_32() 505 __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs) in xen_pv_evtchn_do_upcall()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | idtentry.h | 56 __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 …]
|
/linux-6.12.1/lib/ |
D | smp_processor_id.c | 11 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.12.1/arch/loongarch/kernel/ |
D | traps.c | 507 asmlinkage void noinstr do_fpe(struct pt_regs *regs, unsigned long fcsr) in do_fpe() 534 asmlinkage void noinstr do_ade(struct pt_regs *regs) in do_ade() 548 asmlinkage void noinstr do_ale(struct pt_regs *regs) in do_ale() 614 asmlinkage void noinstr do_bce(struct pt_regs *regs) in do_bce() 703 asmlinkage void noinstr do_bp(struct pt_regs *regs) in do_bp() 787 asmlinkage void noinstr do_watch(struct pt_regs *regs) in do_watch() 840 asmlinkage void noinstr do_ri(struct pt_regs *regs) in do_ri() 935 asmlinkage void noinstr do_fpu(struct pt_regs *regs) in do_fpu() 952 asmlinkage void noinstr do_lsx(struct pt_regs *regs) in do_lsx() 974 asmlinkage void noinstr do_lasx(struct pt_regs *regs) in do_lasx() [all …]
|
/linux-6.12.1/Documentation/core-api/ |
D | entry.rst | 18 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.12.1/arch/x86/coco/ |
D | core.c | 28 static bool noinstr intel_cc_platform_has(enum cc_attr attr) in intel_cc_platform_has() 69 static bool noinstr amd_cc_platform_has(enum cc_attr attr) in amd_cc_platform_has() 111 bool noinstr cc_platform_has(enum cc_attr attr) in cc_platform_has()
|
/linux-6.12.1/arch/x86/xen/ |
D | irq.c | 22 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.12.1/arch/x86/kernel/cpu/microcode/ |
D | core.c | 277 static noinstr bool wait_for_cpus(atomic_t *cnt) in wait_for_cpus() 302 static noinstr bool wait_for_ctrl(void) in wait_for_ctrl() 327 static noinstr bool load_secondary_wait(unsigned int ctrl_cpu) in load_secondary_wait() 354 static noinstr void load_secondary(unsigned int cpu) in load_secondary() 469 void noinstr microcode_offline_nmi_handler(void) in microcode_offline_nmi_handler() 479 static noinstr bool microcode_update_handler(void) in microcode_update_handler() 510 bool noinstr microcode_nmi_handler(void) in microcode_nmi_handler()
|
/linux-6.12.1/tools/objtool/ |
D | builtin-check.c | 73 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.12.1/arch/x86/kernel/cpu/mce/ |
D | internal.h | 304 noinstr void pentium_machine_check(struct pt_regs *regs); 305 noinstr void winchip_machine_check(struct pt_regs *regs); 315 noinstr u64 mce_rdmsrl(u32 msr);
|
D | severity.c | 286 static noinstr int error_context(struct mce *m, struct pt_regs *regs) in error_context() 321 static noinstr int mce_severity_amd(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity_amd() 381 static noinstr int mce_severity_intel(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity_intel() 414 int noinstr mce_severity(struct mce *m, struct pt_regs *regs, char **msg, bool is_excp) in mce_severity()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | traps.c | 147 #define __trap_section noinstr 358 asmlinkage __visible noinstr void do_page_fault(struct pt_regs *regs) in do_page_fault() 370 static void noinstr handle_riscv_irq(struct pt_regs *regs) in handle_riscv_irq() 381 asmlinkage void noinstr do_irq(struct pt_regs *regs) in do_irq()
|
/linux-6.12.1/drivers/misc/lkdtm/ |
D | rodata.c | 8 void noinstr lkdtm_rodata_do_nothing(void) in lkdtm_rodata_do_nothing()
|