Searched refs:alt_instr (Results 1 - 19 of 19) sorted by relevance

/linux-master/arch/s390/kernel/
H A Dalternative.c20 static void __init_or_module __apply_alternatives(struct alt_instr *start,
21 struct alt_instr *end)
23 struct alt_instr *a;
47 void __init_or_module apply_alternatives(struct alt_instr *start,
48 struct alt_instr *end)
54 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
/linux-master/arch/arm64/include/asm/
H A 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,
H A Dalternative.h13 struct alt_instr { struct
21 typedef void (*alternative_cb_t)(struct alt_instr *alt,
34 void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
H A Dkvm_asm.h287 void kvm_patch_vector_branch(struct alt_instr *alt,
289 void kvm_get_kimage_voffset(struct alt_instr *alt,
291 void kvm_compute_final_ctr_el0(struct alt_instr *alt,
H A Dkvm_mmu.h102 void kvm_update_va_mask(struct alt_instr *alt,
/linux-master/arch/parisc/kernel/
H A Dalternative.c23 void __init_or_module apply_alternatives(struct alt_instr *start,
24 struct alt_instr *end, const char *module_name)
26 struct alt_instr *entry;
109 apply_alternatives((struct alt_instr *) &__alt_instructions,
110 (struct alt_instr *) &__alt_instructions_end, NULL);
/linux-master/arch/loongarch/include/asm/
H A Dalternative.h12 struct alt_instr { struct
25 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
28 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
/linux-master/arch/parisc/include/asm/
H A Dalternative.h23 struct alt_instr { struct
32 void apply_alternatives(struct alt_instr *start, struct alt_instr *end,
/linux-master/arch/s390/include/asm/
H A Dalternative.h11 struct alt_instr { struct
19 void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
38 * | alt_instr entries for each |
/linux-master/arch/arm64/kernel/
H A 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)
59 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr)
104 static noinstr void patch_alternative(struct alt_instr *alt,
146 struct alt_instr *alt;
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,
H A Dproton-pack.c568 void __init spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt,
588 void __init smccc_patch_fw_mitigation_conduit(struct alt_instr *alt,
1064 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt,
1075 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt,
1086 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt,
1107 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt,
1133 void __init spectre_bhb_patch_clearbhb(struct alt_instr *alt,
H A 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,
/linux-master/arch/arm64/kvm/
H A Dva_layout.c154 void __init kvm_update_va_mask(struct alt_instr *alt,
188 void kvm_patch_vector_branch(struct alt_instr *alt,
287 void kvm_get_kimage_voffset(struct alt_instr *alt,
293 void kvm_compute_final_ctr_el0(struct alt_instr *alt,
/linux-master/arch/x86/include/asm/
H A Dalternative.h76 struct alt_instr { struct
92 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
101 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
112 struct alt_instr *alt_start, *alt_end;
382 * Issue one struct alt_instr descriptor entry (need to put it into
/linux-master/arch/loongarch/kernel/
H A Dalternative.c183 void __init_or_module apply_alternatives(struct alt_instr *start, struct alt_instr *end)
185 struct alt_instr *a;
/linux-master/arch/x86/kernel/
H A Dcallthunks.c243 patch_alt_call_sites(struct alt_instr *start, struct alt_instr *end,
246 struct alt_instr *a;
H A Dalternative.c414 static int alt_replace_call(u8 *instr, u8 *insn_buff, struct alt_instr *a)
464 void __init_or_module noinline apply_alternatives(struct alt_instr *start,
465 struct alt_instr *end)
467 struct alt_instr *a;
/linux-master/arch/um/kernel/
H A Dum_arch.c457 void apply_alternatives(struct alt_instr *start, struct alt_instr *end)
/linux-master/arch/x86/entry/vdso/
H A Dvma.c52 apply_alternatives((struct alt_instr *)(image->data + image->alt),
53 (struct alt_instr *)(image->data + image->alt +

Completed in 249 milliseconds