Home
last modified time | relevance | path

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

/linux/arch/s390/kernel/
A Dnospec-branch.c103 u8 *instr, *thunk, *br; in __nospec_revert() local
116 thunk = instr + (*(int *)(instr + 2)) * 2; in __nospec_revert()
117 if (thunk[0] == 0xc6 && thunk[1] == 0x00) in __nospec_revert()
119 br = thunk + (*(int *)(thunk + 2)) * 2; in __nospec_revert()
120 else if (thunk[0] == 0xc0 && (thunk[1] & 0x0f) == 0x00 && in __nospec_revert()
121 thunk[6] == 0x44 && thunk[7] == 0x00 && in __nospec_revert()
122 (thunk[8] & 0x0f) == 0x00 && thunk[9] == 0x00 && in __nospec_revert()
123 (thunk[1] & 0xf0) == (thunk[8] & 0xf0)) in __nospec_revert()
125 br = thunk + (*(int *)(thunk + 2)) * 2; in __nospec_revert()
/linux/drivers/mtd/chips/
A 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()
A 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()
A 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()
A Dcfi_cmdset_0002.c2519 …_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) in do_erase_oneblock() argument
2639 unsigned long adr, int len, void *thunk) in do_atmel_lock() argument
2674 unsigned long adr, int len, void *thunk) in do_atmel_unlock() argument
2726 unsigned long adr, int len, void *thunk) in do_ppb_xxlock() argument
2750 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { in do_ppb_xxlock()
2754 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { in do_ppb_xxlock()
2762 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { in do_ppb_xxlock()
/linux/arch/s390/
A DMakefile89 ifneq ($(call cc-option,$(CC_FLAGS_MARCH) -mindirect-branch=thunk),)
90 CC_FLAGS_EXPOLINE := -mindirect-branch=thunk
91 CC_FLAGS_EXPOLINE += -mfunction-return=thunk
A DKconfig595 Requires a compiler with -mindirect-branch=thunk support for full
/linux/include/linux/mtd/
A Dcfi.h380 unsigned long adr, int len, void *thunk);
383 loff_t ofs, size_t len, void *thunk);
/linux/drivers/mtd/lpddr/
A 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/
A DMakefile692 RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register)
693 RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register)
696 RETPOLINE_CFLAGS := -mretpoline-external-thunk
/linux/Documentation/admin-guide/hw-vuln/
A Dspectre.rst450 -mindirect-branch=thunk-extern -mindirect-branch-register options.
452 to support -mretpoline-external-thunk option. The kernel config
591 AMD-specific minimal thunk
/linux/drivers/md/
A Ddm-cache-metadata.c1276 struct thunk { struct
/linux/arch/x86/
A DKconfig472 branches. Requires a compiler with -mindirect-branch=thunk-extern
/linux/Documentation/admin-guide/
A Dkernel-parameters.txt5307 retpoline,amd - AMD-specific minimal thunk

Completed in 41 milliseconds