Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/arch/s390/tools/
Dgcc-thunk-extern.sh6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk
/linux-6.1.9/arch/s390/
DMakefile84 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk-extern
85 CC_FLAGS_EXPOLINE += -mfunction-return=thunk-extern
87 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk
88 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
DKconfig530 depends on $(cc-option,-mindirect-branch=thunk)
536 Requires a compiler with -mindirect-branch=thunk support for full
545 depends on $(success,$(srctree)/arch/s390/tools/gcc-thunk-extern.sh $(CC))
549 compiled with -mindirect-branch=thunk-extern and requires a newer
/linux-6.1.9/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.c359 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() argument
419 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob()
Dcfi_cmdset_0001.c1936 unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument
2075 int len, void *thunk) in do_getlockstatus_oneblock() argument
2093 int len, void *thunk) in do_printlockstatus_oneblock() argument
2096 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock()
2105 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() argument
2125 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock()
2128 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock()
Dcfi_cmdset_0002.c2514 …_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument
2635 unsigned long adr, int len, void *thunk) in do_atmel_lock() argument
2670 unsigned long adr, int len, void *thunk) in do_atmel_unlock() argument
2722 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() argument
2746 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock()
2750 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock()
2758 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock()
/linux-6.1.9/arch/x86/
DMakefile16 RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register)
18 RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register)
21 RETPOLINE_CFLAGS := -mretpoline-external-thunk
26 RETHUNK_CFLAGS := -mfunction-return=thunk-extern
DKconfig2444 def_bool $(cc-option,-mfunction-return=thunk-extern)
2476 branches. Requires a compiler with -mindirect-branch=thunk-extern
2487 Requires a compiler with -mfunction-return=thunk-extern
/linux-6.1.9/include/linux/mtd/
Dcfi.h381 unsigned long adr, int len, void *thunk);
384 loff_t ofs, size_t len, void *thunk);
/linux-6.1.9/drivers/mtd/lpddr/
Dlpddr_cmds.c716 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) in do_xxlock() argument
731 if (thunk == DO_XXLOCK_LOCK) { in do_xxlock()
734 } else if (thunk == DO_XXLOCK_UNLOCK) { in do_xxlock()
/linux-6.1.9/rust/
DMakefile241 -mindirect-branch=thunk-extern -mindirect-branch-register \
242 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
/linux-6.1.9/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.1.9/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-6.1.9/drivers/md/
Ddm-cache-metadata.c1278 struct thunk { struct