/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | nospec-branch.c | 102 u8 *instr, *thunk, *br; in __nospec_revert() local 115 thunk = instr + (*(int *)(instr + 2)) * 2; in __nospec_revert() 116 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert() 118 br = thunk + (*(int *)(thunk + 2)) * 2; in __nospec_revert() 119 else if (thunk[0] == 0xc0 && (thunk[1] & 0x0f) == 0x00 && in __nospec_revert() 120 thunk[6] == 0x44 && thunk[ in __nospec_revert() [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A 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() 127 /* brcl to thunk, replace with br + nop */ in __nospec_revert() 132 /* brasl to thunk, replace with basr + nop */ in __nospec_revert()
|
/kernel/linux/linux-6.6/arch/s390/tools/ |
H A D | gcc-thunk-extern.sh | 6 cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-table -O2 -c -o /dev/null
|
/kernel/linux/linux-6.6/arch/s390/ |
H A D | Makefile | 85 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
|
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
H A D | fwh_lock.h | 30 unsigned long adr, int len, void *thunk) in fwh_xxlock_oneblock() 33 struct fwh_xxlock_thunk *xxlt = (struct fwh_xxlock_thunk *)thunk; in fwh_xxlock_oneblock() 29 fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) fwh_xxlock_oneblock() argument
|
H A D | cfi_util.c | 359 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() 419 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob() 358 cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob, loff_t ofs, size_t len, void *thunk) cfi_varsize_frob() argument
|
H A D | cfi_cmdset_0001.c | 1951 unsigned long adr, int len, void *thunk) in do_erase_oneblock() 2090 int len, void *thunk) in do_getlockstatus_oneblock() 2108 int len, void *thunk) in do_printlockstatus_oneblock() 2111 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); in do_printlockstatus_oneblock() 2120 unsigned long adr, int len, void *thunk) in do_xxlock_oneblock() 2140 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock() 2143 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock() 1950 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_erase_oneblock() argument 2087 do_getlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_getlockstatus_oneblock() argument 2105 do_printlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_printlockstatus_oneblock() argument 2119 do_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_xxlock_oneblock() argument
|
H A D | cfi_cmdset_0002.c | 2508 static int __xipram do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument 2629 unsigned long adr, int len, void *thunk) in do_atmel_lock() 2664 unsigned long adr, int len, void *thunk) in do_atmel_unlock() 2716 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() 2740 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock() 2744 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock() 2752 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock() 2628 do_atmel_lock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_atmel_lock() argument 2663 do_atmel_unlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_atmel_unlock() argument 2714 do_ppb_xxlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_ppb_xxlock() argument
|
/kernel/linux/linux-6.6/drivers/mtd/chips/ |
H A D | fwh_lock.h | 30 unsigned long adr, int len, void *thunk) in fwh_xxlock_oneblock() 33 struct fwh_xxlock_thunk *xxlt = (struct fwh_xxlock_thunk *)thunk; in fwh_xxlock_oneblock() 29 fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) fwh_xxlock_oneblock() argument
|
H A D | cfi_util.c | 358 loff_t ofs, size_t len, void *thunk) in cfi_varsize_frob() 418 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob() 357 cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob, loff_t ofs, size_t len, void *thunk) cfi_varsize_frob() argument
|
H A D | cfi_cmdset_0001.c | 1953 unsigned long adr, int len, void *thunk) in do_erase_oneblock() 2092 int len, void *thunk) in do_getlockstatus_oneblock() 2110 int len, void *thunk) in do_printlockstatus_oneblock() 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() 2142 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_xxlock_oneblock() 2145 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_xxlock_oneblock() 1952 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_erase_oneblock() argument 2089 do_getlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_getlockstatus_oneblock() argument 2107 do_printlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_printlockstatus_oneblock() argument 2121 do_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_xxlock_oneblock() argument
|
H A D | cfi_cmdset_0002.c | 2512 static int __xipram do_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() 2668 unsigned long adr, int len, void *thunk) in do_atmel_unlock() 2720 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() 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() 2632 do_atmel_lock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_atmel_lock() argument 2667 do_atmel_unlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_atmel_unlock() argument 2718 do_ppb_xxlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) do_ppb_xxlock() argument
|
/kernel/linux/linux-6.6/arch/x86/ |
H A D | Makefile | 16 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
|
/kernel/linux/linux-5.10/arch/s390/ |
H A D | Makefile | 107 ifeq ($(call cc-option-yn,$(CC_FLAGS_MARCH) -mindirect-branch=thunk),y) 108 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk 109 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | cfi.h | 381 unsigned long adr, int len, void *thunk); 384 loff_t ofs, size_t len, void *thunk);
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | cfi.h | 381 unsigned long adr, int len, void *thunk); 384 loff_t ofs, size_t len, void *thunk);
|
/kernel/linux/linux-6.6/tools/virtio/ |
H A D | Makefile | 17 CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,-fcf-protection=none) $(call cc-option,-mindirect-branch-register)
|
/kernel/linux/linux-5.10/drivers/mtd/lpddr/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 713 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()
|
/kernel/linux/linux-6.6/rust/ |
H A D | Makefile | 281 -mindirect-branch=thunk-extern -mindirect-branch-register \ 282 -mfunction-return=thunk-extern -mrecord-mcount -mabi=lp64 \
|
/kernel/linux/linux-5.10/ |
H A D | Makefile | 671 RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) 673 RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register) 676 RETPOLINE_CFLAGS := -mretpoline-external-thunk 681 RETHUNK_CFLAGS := -mfunction-return=thunk-extern
|
/kernel/linux/linux-5.10/scripts/gcc-plugins/ |
H A D | gcc-common.h | 322 return node->analyzed && !node->thunk.thunk_p && !node->alias; in cgraph_function_with_gimple_body_p()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-metadata.c | 1278 struct thunk { struct
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-cache-metadata.c | 1285 struct thunk { struct
|