Home
last modified time | relevance | path

Searched refs:alt_instr (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/arch/arm64/include/asm/
Dspectre.h104 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
106 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr,
108 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
110 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr,
112 void spectre_bhb_patch_loop_iter(struct alt_instr *alt,
114 void spectre_bhb_patch_wa3(struct alt_instr *alt,
116 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
Dalternative.h13 struct alt_instr { struct
21 typedef void (*alternative_cb_t)(struct alt_instr *alt, argument
34 void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
Dkvm_asm.h290 void kvm_patch_vector_branch(struct alt_instr *alt,
292 void kvm_get_kimage_voffset(struct alt_instr *alt,
294 void kvm_compute_final_ctr_el0(struct alt_instr *alt,
Dkvm_mmu.h103 void kvm_update_va_mask(struct alt_instr *alt,
/linux-6.12.1/arch/arm64/kernel/
Dalternative.c36 struct alt_instr *begin;
37 struct alt_instr *end;
51 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update()
59 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn()
104 static noinstr void patch_alternative(struct alt_instr *alt, in patch_alternative()
146 struct alt_instr *alt; in __apply_alternatives()
223 .begin = (struct alt_instr *)__alt_instructions,
224 .end = (struct alt_instr *)__alt_instructions_end,
294 noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr, in alt_cb_patch_nops()
Dproton-pack.c580 void __init spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, in spectre_v4_patch_fw_mitigation_enable()
600 void __init smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, in smccc_patch_fw_mitigation_conduit()
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()
1145 void __init spectre_bhb_patch_clearbhb(struct alt_instr *alt, in spectre_bhb_patch_clearbhb()
Dmte.c218 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
221 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr, in kasan_hw_tags_enable()
/linux-6.12.1/arch/parisc/kernel/
Dalternative.c23 void __init_or_module apply_alternatives(struct alt_instr *start, in apply_alternatives()
24 struct alt_instr *end, const char *module_name) in apply_alternatives()
26 struct alt_instr *entry; in apply_alternatives()
109 apply_alternatives((struct alt_instr *) &__alt_instructions, in apply_alternatives_all()
110 (struct alt_instr *) &__alt_instructions_end, NULL); in apply_alternatives_all()
/linux-6.12.1/arch/s390/include/asm/
Dalternative.h59 struct alt_instr { struct
73 extern struct alt_instr __alt_instructions[], __alt_instructions_end[]; argument
75 void __apply_alternatives(struct alt_instr *start, struct alt_instr *end, unsigned int ctx);
82 static inline void apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
/linux-6.12.1/arch/s390/kernel/
Dalternative.c9 void __apply_alternatives(struct alt_instr *start, struct alt_instr *end, unsigned int ctx) in __apply_alternatives()
12 struct alt_instr *a; in __apply_alternatives()
Dvdso.c253 struct alt_instr *start, *end; in vdso_apply_alternatives()
/linux-6.12.1/arch/loongarch/include/asm/
Dalternative.h12 struct alt_instr { struct
25 extern struct alt_instr __alt_instructions[], __alt_instructions_end[]; argument
28 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
/linux-6.12.1/arch/parisc/include/asm/
Dalternative.h23 struct alt_instr { struct
32 void apply_alternatives(struct alt_instr *start, struct alt_instr *end, argument
/linux-6.12.1/arch/x86/include/asm/
Dalternative.h76 struct alt_instr { struct
92 extern struct alt_instr __alt_instructions[], __alt_instructions_end[]; argument
101 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
112 struct alt_instr *alt_start, *alt_end;
/linux-6.12.1/arch/arm64/kvm/
Dva_layout.c154 void __init kvm_update_va_mask(struct alt_instr *alt, in kvm_update_va_mask()
188 void kvm_patch_vector_branch(struct alt_instr *alt, in kvm_patch_vector_branch()
287 void kvm_get_kimage_voffset(struct alt_instr *alt, in kvm_get_kimage_voffset()
293 void kvm_compute_final_ctr_el0(struct alt_instr *alt, in kvm_compute_final_ctr_el0()
/linux-6.12.1/arch/loongarch/kernel/
Dalternative.c183 void __init_or_module apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
185 struct alt_instr *a; in apply_alternatives()
/linux-6.12.1/arch/x86/kernel/
Dcallthunks.c242 patch_alt_call_sites(struct alt_instr *start, struct alt_instr *end, in patch_alt_call_sites()
245 struct alt_instr *a; in patch_alt_call_sites()
Dalternative.c395 static int alt_replace_call(u8 *instr, u8 *insn_buff, struct alt_instr *a) in alt_replace_call()
435 static inline u8 * instr_va(struct alt_instr *i) in instr_va()
450 void __init_or_module noinline apply_alternatives(struct alt_instr *start, in apply_alternatives()
451 struct alt_instr *end) in apply_alternatives()
455 struct alt_instr *a, *b; in apply_alternatives()
/linux-6.12.1/arch/x86/entry/vdso/
Dvma.c55 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image()
56 (struct alt_instr *)(image->data + image->alt + in init_vdso_image()
/linux-6.12.1/arch/um/kernel/
Dum_arch.c455 void apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
/linux-6.12.1/rust/
Dbindgen_parameters9 --opaque-type alt_instr
/linux-6.12.1/arch/s390/boot/
Dstartup.c516 __apply_alternatives((struct alt_instr *)_vmlinux_info.alt_instructions, in startup_kernel()
517 (struct alt_instr *)_vmlinux_info.alt_instructions_end, in startup_kernel()