Home
last modified time | relevance | path

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

/Linux-v6.6/arch/s390/kernel/
Dnospec-branch.c103 u8 *instr, *thunk, *br; in __nospec_revert() local
117 thunk = instr + (*(int *)(instr + 2)) * 2; in __nospec_revert()
118 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert()
120 br = thunk + (*(int *)(thunk + 2)) * 2; in __nospec_revert()
/Linux-v6.6/arch/s390/tools/
Dgcc-thunk-extern.sh6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk
/Linux-v6.6/arch/s390/
DMakefile85 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk-extern
86 CC_FLAGS_EXPOLINE += -mfunction-return=thunk-extern
88 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk
89 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
DKconfig538 depends on $(cc-option,-mindirect-branch=thunk)
544 Requires a compiler with -mindirect-branch=thunk support for full
553 depends on $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))
557 compiled with -mindirect-branch=thunk-extern and requires a newer
/Linux-v6.6/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.c1937 unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument
2076 int len, void *thunk) in do_getlockstatus_oneblock() argument
2094 int len, void *thunk) in do_printlockstatus_oneblock() argument
2097 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock()
2106 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() argument
2126 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock()
2129 } 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-v6.6/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
DKconfig2395 def_bool $(cc-option,-mfunction-return=thunk-extern)
2467 branches. Requires a compiler with -mindirect-branch=thunk-extern
2478 Requires a compiler with -mfunction-return=thunk-extern
/Linux-v6.6/include/linux/mtd/
Dcfi.h381 unsigned long adr, int len, void *thunk);
384 loff_t ofs, size_t len, void *thunk);
/Linux-v6.6/tools/virtio/
DMakefile17 …-include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,…
/Linux-v6.6/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-v6.6/rust/
DMakefile281 -mindirect-branch=thunk-extern -mindirect-branch-register \
282 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
/Linux-v6.6/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-v6.6/Documentation/admin-guide/hw-vuln/
Dspectre.rst473 -mindirect-branch=thunk-extern -mindirect-branch-register options.
475 to support -mretpoline-external-thunk option. The kernel config
/Linux-v6.6/drivers/md/
Ddm-cache-metadata.c1285 struct thunk { struct