/linux-6.1.9/arch/s390/kernel/ |
D | nospec-branch.c | 103 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/ |
D | gcc-thunk-extern.sh | 6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk…
|
/linux-6.1.9/arch/s390/ |
D | Makefile | 84 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
|
D | Kconfig | 530 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/ |
D | fwh_lock.h | 30 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()
|
D | cfi_util.c | 359 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()
|
D | cfi_cmdset_0001.c | 1936 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()
|
D | cfi_cmdset_0002.c | 2514 …_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/ |
D | Makefile | 16 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
|
D | Kconfig | 2444 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/ |
D | cfi.h | 381 unsigned long adr, int len, void *thunk); 384 loff_t ofs, size_t len, void *thunk);
|
/linux-6.1.9/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 716 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/ |
D | Makefile | 241 -mindirect-branch=thunk-extern -mindirect-branch-register \ 242 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
|
/linux-6.1.9/tools/objtool/Documentation/ |
D | objtool.txt | 27 - 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/ |
D | spectre.rst | 473 -mindirect-branch=thunk-extern -mindirect-branch-register options. 475 to support -mretpoline-external-thunk option. The kernel config
|
/linux-6.1.9/drivers/md/ |
D | dm-cache-metadata.c | 1278 struct thunk { struct
|