| /linux/arch/arm64/include/asm/ |
| H A D | spectre.h | 106 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr, 108 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr, 110 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr, 112 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr, 114 void spectre_bhb_patch_loop_iter(struct alt_instr *alt, 116 void spectre_bhb_patch_wa3(struct alt_instr *alt, 118 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
|
| H A D | alternative.h | 13 struct alt_instr { struct 21 typedef void (*alternative_cb_t)(struct alt_instr *alt, argument 37 void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
|
| H A D | kvm_asm.h | 297 void kvm_patch_vector_branch(struct alt_instr *alt, 299 void kvm_get_kimage_voffset(struct alt_instr *alt, 301 void kvm_compute_final_ctr_el0(struct alt_instr *alt,
|
| H A D | kvm_mmu.h | 103 void kvm_update_va_mask(struct alt_instr *alt,
|
| /linux/arch/arm64/kernel/ |
| H A D | alternative.c | 36 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() 228 .begin = (struct alt_instr *)__alt_instructions, 229 .end = (struct alt_instr *)__alt_instructions_end, 299 noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr, in alt_cb_patch_nops()
|
| H A D | proton-pack.c | 570 void __init spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, in spectre_v4_patch_fw_mitigation_enable() 590 void __init smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, in smccc_patch_fw_mitigation_conduit() 1099 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, in spectre_bhb_patch_loop_mitigation_enable() 1110 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, in spectre_bhb_patch_fw_mitigation_enabled() 1121 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt, in spectre_bhb_patch_loop_iter() 1141 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt, in spectre_bhb_patch_wa3() 1167 void __init spectre_bhb_patch_clearbhb(struct alt_instr *alt, in spectre_bhb_patch_clearbhb()
|
| H A D | mte.c | 257 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr, 260 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr, in kasan_hw_tags_enable()
|
| /linux/arch/parisc/kernel/ |
| H A D | alternative.c | 23 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/arch/s390/include/asm/ |
| H A D | alternative.h | 60 struct alt_instr { struct 74 extern struct alt_instr __alt_instructions[], __alt_instructions_end[]; argument 76 void __apply_alternatives(struct alt_instr *start, struct alt_instr *end, unsigned int ctx); 83 static inline void apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | alternative.h | 12 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/arch/parisc/include/asm/ |
| H A D | alternative.h | 23 struct alt_instr { struct 32 void apply_alternatives(struct alt_instr *start, struct alt_instr *end, argument
|
| /linux/arch/s390/kernel/ |
| H A D | alternative.c | 51 void __apply_alternatives(struct alt_instr *start, struct alt_instr *end, unsigned int ctx) in __apply_alternatives() 54 struct alt_instr *a; in __apply_alternatives()
|
| H A D | vdso.c | 146 struct alt_instr *start, *end; in vdso_apply_alternatives()
|
| /linux/arch/arm64/kvm/ |
| H A D | va_layout.c | 177 void __init kvm_update_va_mask(struct alt_instr *alt, in kvm_update_va_mask() 211 void kvm_patch_vector_branch(struct alt_instr *alt, in kvm_patch_vector_branch() 310 void kvm_get_kimage_voffset(struct alt_instr *alt, in kvm_get_kimage_voffset() 316 void kvm_compute_final_ctr_el0(struct alt_instr *alt, in kvm_compute_final_ctr_el0()
|
| /linux/arch/x86/include/asm/ |
| H A D | alternative.h | 68 struct alt_instr { struct 84 extern struct alt_instr __alt_instructions[], __alt_instructions_end[]; argument 99 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
|
| /linux/arch/loongarch/kernel/ |
| H A D | alternative.c | 184 void __init_or_module apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives() 186 struct alt_instr *a; in apply_alternatives()
|
| /linux/arch/x86/kernel/ |
| H A D | alternative.c | 544 static unsigned int alt_replace_call(u8 *instr, u8 *insn_buff, struct alt_instr *a) in alt_replace_call() 584 static inline u8 * instr_va(struct alt_instr *i) in instr_va() 591 struct alt_instr *alt; 596 static struct alt_instr * __init_or_module analyze_patch_site(struct patch_site *ps, in analyze_patch_site() 597 struct alt_instr *start, in analyze_patch_site() 598 struct alt_instr *end) in analyze_patch_site() 600 struct alt_instr *alt = start; in analyze_patch_site() 632 struct alt_instr *alt = ps->alt; in prep_patch_site() 680 void __init_or_module noinline apply_alternatives(struct alt_instr *start, in apply_alternatives() 681 struct alt_instr *end) in apply_alternatives() [all …]
|
| H A D | asm-offsets.c | 134 DEFINE(ALT_INSTR_SIZE, sizeof(struct alt_instr)); in common()
|
| /linux/arch/x86/entry/vdso/ |
| H A D | vma.c | 43 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image() 44 (struct alt_instr *)(image->data + image->alt + in init_vdso_image()
|
| /linux/arch/um/kernel/ |
| H A D | asm-offsets.c | 47 DEFINE(ALT_INSTR_SIZE, sizeof(struct alt_instr)); in foo()
|
| H A D | um_arch.c | 451 void apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
|
| /linux/rust/ |
| H A D | bindgen_parameters | 14 --opaque-type alt_instr
|
| /linux/arch/s390/boot/ |
| H A D | startup.c | 630 __apply_alternatives((struct alt_instr *)_vmlinux_info.alt_instructions, in startup_kernel() 631 (struct alt_instr *)_vmlinux_info.alt_instructions_end, in startup_kernel()
|
| /linux/arch/arm64/kvm/vgic/ |
| H A D | vgic.h | 167 void kvm_compute_ich_hcr_trap_bits(struct alt_instr *alt,
|
| H A D | vgic-v3.c | 835 void noinstr kvm_compute_ich_hcr_trap_bits(struct alt_instr *alt, in kvm_compute_ich_hcr_trap_bits()
|