Home
last modified time | relevance | path

Searched refs:thunk (Results 1 – 9 of 9) sorted by relevance

/arch/s390/kernel/
A Dnospec-branch.c105 u8 *instr, *thunk, *br; in __nospec_revert() local
119 thunk = instr + (long)(*(int *)(instr + 2)) * 2; in __nospec_revert()
120 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert()
122 br = thunk + (long)(*(int *)(thunk + 2)) * 2; in __nospec_revert()
/arch/s390/tools/
A Dgcc-thunk-extern.sh6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk
/arch/s390/
A DMakefile79 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk-extern
80 CC_FLAGS_EXPOLINE += -mfunction-return=thunk-extern
82 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk
83 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
A DKconfig618 depends on $(cc-option,-mindirect-branch=thunk)
624 Requires a compiler with -mindirect-branch=thunk support for full
631 $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))
636 -mindirect-branch=thunk-extern, which requires a newer compiler.
/arch/x86/
A DMakefile16 RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register)
17 RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register)
20 RETPOLINE_CFLAGS := -mretpoline-external-thunk
26 RETHUNK_CFLAGS := -mfunction-return=thunk-extern
27 RETHUNK_RUSTFLAGS := -Zfunction-return=thunk-extern
A DKconfig2382 def_bool $(cc-option,-mfunction-return=thunk-extern)
2466 branches. Requires a compiler with -mindirect-branch=thunk-extern
2477 Requires a compiler with -mfunction-return=thunk-extern
/arch/x86/kernel/
A Dalternative.c141 u8 *bytes = thunk; in its_init_thunk()
169 return thunk + offset; in its_init_thunk()
249 void *thunk; in its_allocate_thunk() local
279 thunk = its_page + its_offset; in its_allocate_thunk()
292 return thunk - 2; in its_static_thunk()
294 return thunk; in its_static_thunk()
810 thunk = tmp; in emit_its_trampoline()
812 return __emit_trampoline(addr, insn, bytes, thunk, thunk); in emit_its_trampoline()
1648 thunk = tmp; in emit_paranoid_trampoline()
1651 return __emit_trampoline(addr, insn, bytes, thunk, thunk); in emit_paranoid_trampoline()
[all …]
/arch/x86/entry/
A DMakefile21 obj-$(CONFIG_PREEMPTION) += thunk.o
/arch/x86/kernel/cpu/
A Dbugs.c116 static void __init set_return_thunk(void *thunk) in set_return_thunk() argument
118 x86_return_thunk = thunk; in set_return_thunk()
120 pr_info("active return thunk: %ps\n", thunk); in set_return_thunk()

Completed in 27 milliseconds