Home
last modified time | relevance | path

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

/linux-6.12.1/arch/s390/kernel/
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()
/linux-6.12.1/arch/s390/tools/
Dgcc-thunk-extern.sh6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk
/linux-6.12.1/arch/s390/
DMakefile86 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk-extern
87 CC_FLAGS_EXPOLINE += -mfunction-return=thunk-extern
89 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk
90 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
DKconfig572 depends on $(cc-option,-mindirect-branch=thunk)
578 Requires a compiler with -mindirect-branch=thunk support for full
585 $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))
590 -mindirect-branch=thunk-extern, which requires a newer compiler.
/linux-6.12.1/arch/x86/
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
DKconfig2453 def_bool $(cc-option,-mfunction-return=thunk-extern)
2529 branches. Requires a compiler with -mindirect-branch=thunk-extern
2540 Requires a compiler with -mfunction-return=thunk-extern
/linux-6.12.1/drivers/mtd/chips/
Dfwh_lock.h30 unsigned long adr, int len, void *thunk) in fwh_xxlock_oneblock() argument
33 struct fwh_xxlock_thunk *xxlt = (struct fwh_xxlock_thunk *)thunk; in fwh_xxlock_oneblock()
Dcfi_util.c358 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() argument
418 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob()
Dcfi_cmdset_0001.c1953 unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument
2092 int len, void *thunk) in do_getlockstatus_oneblock() argument
2110 int len, void *thunk) in do_printlockstatus_oneblock() argument
2113 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock()
2122 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() argument
2142 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock()
2145 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock()
Dcfi_cmdset_0002.c2512 …_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument
2633 unsigned long adr, int len, void *thunk) in do_atmel_lock() argument
2668 unsigned long adr, int len, void *thunk) in do_atmel_unlock() argument
2720 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() argument
2744 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock()
2748 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock()
2756 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock()
/linux-6.12.1/arch/x86/entry/
DMakefile20 obj-$(CONFIG_PREEMPTION) += thunk.o
/linux-6.12.1/include/linux/mtd/
Dcfi.h381 unsigned long adr, int len, void *thunk);
384 loff_t ofs, size_t len, void *thunk);
/linux-6.12.1/tools/virtio/
DMakefile18 …-include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,…
/linux-6.12.1/drivers/mtd/lpddr/
Dlpddr_cmds.c713 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) in do_xxlock() argument
728 if (thunk == DO_XXLOCK_LOCK) { in do_xxlock()
731 } else if (thunk == DO_XXLOCK_UNLOCK) { in do_xxlock()
/linux-6.12.1/rust/
DMakefile220 -mindirect-branch=thunk-extern -mindirect-branch-register \
221 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
/linux-6.12.1/tools/objtool/Documentation/
Dobjtool.txt27 - Retpoline call site annotation -- annotates all retpoline thunk call
28 sites, enabling the kernel to patch them inline, to prevent "thunk
/linux-6.12.1/Documentation/admin-guide/hw-vuln/
Dspectre.rst489 -mindirect-branch=thunk-extern -mindirect-branch-register options.
491 to support -mretpoline-external-thunk option. The kernel config