| /linux/arch/s390/lib/ |
| H A D | probes.c | 49 int fixup = FIXUP_PSW_NORMAL; in probe_get_fixup_type() local 54 fixup = FIXUP_RETURN_REGISTER; in probe_get_fixup_type() 57 fixup |= FIXUP_BRANCH_NOT_TAKEN; in probe_get_fixup_type() 61 fixup = FIXUP_BRANCH_NOT_TAKEN; in probe_get_fixup_type() 65 fixup = FIXUP_RETURN_REGISTER; in probe_get_fixup_type() 71 fixup = FIXUP_BRANCH_NOT_TAKEN; in probe_get_fixup_type() 74 fixup = FIXUP_NOT_REQUIRED; in probe_get_fixup_type() 78 fixup = FIXUP_NOT_REQUIRED; in probe_get_fixup_type() 82 fixup |= FIXUP_RETURN_REGISTER; in probe_get_fixup_type() 86 fixup |= FIXUP_RETURN_REGISTER; in probe_get_fixup_type() [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | asm-extable.h | 15 #define __ASM_EXTABLE_RAW(insn, fixup, type, data) \ 19 .long ((fixup) - .); \ 24 .macro _asm_extable, insn, fixup 25 __ASM_EXTABLE_RAW(\insn, \fixup, EX_TYPE_FIXUP, 0) 34 #define __ASM_EXTABLE_RAW(insn, fixup, type, data) \ argument 38 ".long ((" fixup ") - .)\n" \ 43 #define _ASM_EXTABLE(insn, fixup) \ argument 44 __ASM_EXTABLE_RAW(#insn, #fixup, __stringify(EX_TYPE_FIXUP), "0") 59 #define _ASM_EXTABLE_UACCESS_ERR_ZERO(insn, fixup, err, zero) \ argument 61 __ASM_EXTABLE_RAW(#insn, #fixup, \ [all …]
|
| H A D | extable.h | 19 int insn, fixup; member 27 (a)->fixup = (b)->fixup + (delta); \ 28 (b)->fixup = (tmp).fixup - (delta); \
|
| /linux/arch/riscv/lib/ |
| H A D | uaccess.S | 9 .macro fixup op reg addr lbl macro 90 fixup lb a5, 0(a1), 10f 92 fixup sb a5, 0(a0), 10f 117 fixup REG_L a4, 0(a1), 10f 118 fixup REG_L a5, SZREG(a1), 10f 119 fixup REG_L a6, 2*SZREG(a1), 10f 120 fixup REG_L a7, 3*SZREG(a1), 10f 121 fixup REG_L t1, 4*SZREG(a1), 10f 122 fixup REG_L t2, 5*SZREG(a1), 10f 123 fixup REG_L t3, 6*SZREG(a1), 10f [all …]
|
| /linux/rust/syn/ |
| H A D | fixup.rs | 233 let fixup = FixupContext { in leftmost_subexpression_with_operator() localVariable 255 (fixup.leftmost_subexpression_precedence(expr), fixup) in leftmost_subexpression_with_operator() 263 let fixup = FixupContext { in leftmost_subexpression_with_dot() localVariable 284 (fixup.leftmost_subexpression_precedence(expr), fixup) in leftmost_subexpression_with_dot() 316 let fixup = self.rightmost_subexpression_fixup( in rightmost_subexpression() localVariable 324 (fixup.rightmost_subexpression_precedence(expr), fixup) in rightmost_subexpression() 481 fn scan_left(expr: &Expr, fixup: FixupContext) -> bool { in scan_left() 483 Expr::Assign(_) => fixup.previous_operator <= Precedence::Assign, in scan_left() 485 Precedence::Assign => fixup.previous_operator <= Precedence::Assign, in scan_left() 486 binop_prec => fixup.previous_operator < binop_prec, in scan_left() [all …]
|
| /linux/arch/loongarch/include/asm/ |
| H A D | asm-extable.h | 12 #define __ASM_EXTABLE_RAW(insn, fixup, type, data) \ 16 .long ((fixup) - .); \ 21 .macro _asm_extable, insn, fixup 22 __ASM_EXTABLE_RAW(\insn, \fixup, EX_TYPE_FIXUP, 0) 31 #define __ASM_EXTABLE_RAW(insn, fixup, type, data) \ argument 35 ".long ((" fixup ") - .)\n" \ 40 #define _ASM_EXTABLE(insn, fixup) \ argument 41 __ASM_EXTABLE_RAW(#insn, #fixup, __stringify(EX_TYPE_FIXUP), "0") 51 #define _ASM_EXTABLE_UACCESS_ERR_ZERO(insn, fixup, err, zero) \ argument 53 __ASM_EXTABLE_RAW(#insn, #fixup, \ [all …]
|
| H A D | extable.h | 19 int insn, fixup; member 27 (a)->fixup = (b)->fixup + (delta); \ 28 (b)->fixup = (tmp).fixup - (delta); \
|
| /linux/arch/alpha/include/asm/ |
| H A D | extable.h | 35 } fixup; member 41 if ((_fixup)->fixup.bits.valreg != 31) \ 42 map_reg((_fixup)->fixup.bits.valreg) = 0; \ 43 if ((_fixup)->fixup.bits.errreg != 31) \ 44 map_reg((_fixup)->fixup.bits.errreg) = -EFAULT; \ 45 (pc) + (_fixup)->fixup.bits.nextinsn; \ 52 (a)->fixup.unit = (b)->fixup.unit; \ 53 (b)->fixup.unit = (tmp).fixup.unit; \
|
| /linux/arch/mips/pci/ |
| H A D | Makefile | 18 obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \ 28 obj-$(CONFIG_ATH79) += fixup-ath79.o 29 obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o 30 obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o 31 obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o 32 obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o pci-malta.o 34 obj-$(CONFIG_SGI_IP32) += fixup-ip32.o ops-mace.o pci-ip32.o 35 obj-$(CONFIG_SIBYTE_SB1250) += fixup-sb1250.o pci-sb1250.o 36 obj-$(CONFIG_SIBYTE_BCM112X) += fixup-sb1250.o pci-sb1250.o 38 obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o [all …]
|
| /linux/arch/x86/mm/ |
| H A D | extable.c | 30 return (unsigned long)&x->fixup + x->fixup; in ex_fixup_addr() 98 static bool ex_handler_fault(const struct exception_table_entry *fixup, in ex_handler_fault() argument 102 return ex_handler_default(fixup, regs); in ex_handler_fault() 105 static bool ex_handler_sgx(const struct exception_table_entry *fixup, in ex_handler_sgx() argument 109 return ex_handler_default(fixup, regs); in ex_handler_sgx() 122 static bool ex_handler_fprestore(const struct exception_table_entry *fixup, in ex_handler_fprestore() argument 130 return ex_handler_default(fixup, regs); in ex_handler_fprestore() 157 static bool ex_handler_uaccess(const struct exception_table_entry *fixup, in ex_handler_uaccess() argument 163 return ex_handler_default(fixup, regs); in ex_handler_uaccess() 166 static bool ex_handler_msr(const struct exception_table_entry *fixup, in ex_handler_msr() argument [all …]
|
| /linux/arch/arm/mm/ |
| H A D | extable.c | 10 const struct exception_table_entry *fixup; in fixup_exception() local 12 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception() 13 if (fixup) { in fixup_exception() 14 regs->ARM_pc = fixup->fixup; in fixup_exception() 21 return fixup != NULL; in fixup_exception()
|
| /linux/arch/mips/lib/ |
| H A D | memset.S | 58 .macro f_fill64 dst, offset, val, fixup, mode 59 EX(LONG_S, \val, (\offset + 0 * STORSIZE)(\dst), \fixup) 60 EX(LONG_S, \val, (\offset + 1 * STORSIZE)(\dst), \fixup) 61 EX(LONG_S, \val, (\offset + 2 * STORSIZE)(\dst), \fixup) 62 EX(LONG_S, \val, (\offset + 3 * STORSIZE)(\dst), \fixup) 64 EX(LONG_S, \val, (\offset + 4 * STORSIZE)(\dst), \fixup) 65 EX(LONG_S, \val, (\offset + 5 * STORSIZE)(\dst), \fixup) 66 EX(LONG_S, \val, (\offset + 6 * STORSIZE)(\dst), \fixup) 67 EX(LONG_S, \val, (\offset + 7 * STORSIZE)(\dst), \fixup) 70 EX(LONG_S, \val, (\offset + 8 * STORSIZE)(\dst), \fixup) [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | extable.h | 27 int insn, fixup; member 38 return (unsigned long)&x->fixup + x->fixup; in extable_fixup() 48 a->fixup = b->fixup + delta; in swap_ex_entry_fixup() 49 b->fixup = tmp.fixup - delta; in swap_ex_entry_fixup()
|
| /linux/arch/nios2/mm/ |
| H A D | extable.c | 16 const struct exception_table_entry *fixup; in fixup_exception() local 18 fixup = search_exception_tables(regs->ea); in fixup_exception() 19 if (fixup) { in fixup_exception() 20 regs->ea = fixup->fixup; in fixup_exception()
|
| /linux/arch/sh/mm/ |
| H A D | extable_32.c | 15 const struct exception_table_entry *fixup; in fixup_exception() local 17 fixup = search_exception_tables(regs->pc); in fixup_exception() 18 if (fixup) { in fixup_exception() 19 regs->pc = fixup->fixup; in fixup_exception()
|
| /linux/arch/arc/mm/ |
| H A D | extable.c | 14 const struct exception_table_entry *fixup; in fixup_exception() local 16 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception() 17 if (fixup) { in fixup_exception() 18 regs->ret = fixup->fixup; in fixup_exception()
|
| /linux/arch/parisc/include/asm/ |
| H A D | extable.h | 30 int fixup; /* relative address of fixup routine */ member 57 a->fixup = b->fixup + delta; in swap_ex_entry_fixup() 58 b->fixup = tmp.fixup - delta; in swap_ex_entry_fixup()
|
| /linux/arch/x86/include/asm/ |
| H A D | extable.h | 24 int insn, fixup, data; member 32 (a)->fixup = (b)->fixup + (delta); \ 33 (b)->fixup = (tmp).fixup - (delta); \
|
| /linux/arch/m68k/kernel/ |
| H A D | module.c | 116 struct m68k_fixup_info *fixup; in module_fixup() local 118 for (fixup = start; fixup < end; fixup++) { in module_fixup() 119 switch (fixup->type) { in module_fixup() 121 *(u32 *)fixup->addr = m68k_memoffset; in module_fixup() 124 *(u16 *)fixup->addr += m68k_virt_to_node_shift; in module_fixup()
|
| /linux/tools/testing/selftests/powerpc/primitives/ |
| H A D | load_unaligned_zeropad.c | 66 int fixup; member 77 unsigned long insn, fixup; in segv_handler() local 80 fixup = (unsigned long)&entry->fixup + entry->fixup; in segv_handler() 83 *ip = fixup; in segv_handler()
|
| /linux/arch/mips/mm/ |
| H A D | extable.c | 15 const struct exception_table_entry *fixup; in fixup_exception() local 17 fixup = search_exception_tables(exception_epc(regs)); in fixup_exception() 18 if (fixup) { in fixup_exception() 19 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
|
| /linux/arch/powerpc/lib/ |
| H A D | restart_table.c | 12 unsigned long fixup; member 47 unsigned long fixup = rte->fixup; in search_kernel_restart_table() local 50 return fixup; in search_kernel_restart_table()
|
| /linux/arch/hexagon/mm/ |
| H A D | vm_fault.c | 44 const struct exception_table_entry *fixup; in do_page_fault() local 144 fixup = search_exception_tables(pt_elr(regs)); in do_page_fault() 145 if (fixup) { in do_page_fault() 146 pt_set_elr(regs, fixup->fixup); in do_page_fault()
|
| /linux/arch/sh/kernel/ |
| H A D | traps.c | 80 const struct exception_table_entry *fixup; in die_if_no_fixup() local 81 fixup = search_exception_tables(regs->pc); in die_if_no_fixup() 82 if (fixup) { in die_if_no_fixup() 83 regs->pc = fixup->fixup; in die_if_no_fixup()
|
| /linux/Documentation/arch/x86/ |
| H A D | exception-tables.rst | 52 (fixup). If this search is successful, the fault handler modifies the 54 continue at the address in fixup. 56 Where does fixup point to? 58 Since we jump to the contents of fixup, fixup obviously points 85 ".section .fixup,\"ax\"\n" 99 ".section .fixup,\"ax\"\n" 113 ".section .fixup,\"ax\"\n" 146 > .section .fixup,"ax" 173 > 1 .fixup 000016bc c0198f40 c0198f40 00099f40 2**0 210 > objdump --disassemble --section=.fixup vmlinux [all …]
|