| /linux/arch/powerpc/lib/ |
| A D | feature-fixups.c | 731 fixup.value = fixup.mask = 8; in test_basic_patching() 733 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching() 734 fixup.alt_start_off = fixup.alt_end_off = 0; in test_basic_patching() 763 fixup.value = fixup.mask = 0xF; in test_alternative_patching() 765 fixup.end_off = calc_offset(&fixup, ftr_fixup_test2 + 2); in test_alternative_patching() 795 fixup.value = fixup.mask = 0xC; in test_alternative_case_too_big() 825 fixup.value = fixup.mask = flag; in test_alternative_case_too_small() 933 fixup.value = fixup.mask = 8; in test_prefix_patching() 936 fixup.alt_start_off = fixup.alt_end_off = 0; in test_prefix_patching() 955 fixup.value = fixup.mask = 8; in test_prefix_alt_patching() [all …]
|
| 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/riscv/lib/ |
| A D | uaccess.S | 6 .macro fixup op reg addr lbl macro 52 fixup lb a5, 0(a1), 10f 54 fixup sb a5, 0(a0), 10f 132 fixup REG_L a5, 0(a1), 10f 148 fixup REG_S a2, 0(a0), 10f 165 fixup lb a5, 0(a1), 10f 167 fixup sb a5, 0(a0), 10f 200 fixup REG_S, zero, (a0), 11f 212 fixup sb, zero, (a0), 11f 217 fixup sb, zero, (a0), 11f [all …]
|
| /linux/arch/arm64/include/asm/ |
| A D | asm-extable.h | 13 #define __ASM_EXTABLE_RAW(insn, fixup, type, data) \ argument 17 .long ((fixup) - .); \ 26 .macro _asm_extable, insn, fixup 27 __ASM_EXTABLE_RAW(\insn, \fixup, EX_TYPE_FIXUP, 0) 34 .macro _cond_extable, insn, fixup 35 .ifnc \fixup, 36 _asm_extable \insn, \fixup 51 ".long ((" fixup ") - .)\n" \ 56 #define _ASM_EXTABLE(insn, fixup) \ 69 __ASM_EXTABLE_RAW(#insn, #fixup, \ [all …]
|
| A D | extable.h | 20 int insn, fixup; member 28 (a)->fixup = (b)->fixup + (delta); \ 29 (b)->fixup = (tmp).fixup - (delta); \
|
| /linux/arch/s390/lib/ |
| 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/mips/pci/ |
| A D | Makefile | 30 obj-$(CONFIG_ATH79) += fixup-ath79.o 31 obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o 40 obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o 41 obj-$(CONFIG_LANTIQ) += fixup-lantiq.o 46 obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o 47 obj-$(CONFIG_TANBAC_TB0226) += fixup-tb0226.o 48 obj-$(CONFIG_TANBAC_TB0287) += fixup-tb0287.o 49 obj-$(CONFIG_TOSHIBA_JMR3927) += fixup-jmr3927.o 53 obj-$(CONFIG_TOSHIBA_RBTX4927) += fixup-rbtx4927.o 55 obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o [all …]
|
| /linux/arch/x86/mm/ |
| A D | extable.c | 15 return (unsigned long)&x->fixup + x->fixup; in ex_fixup_addr() 18 static bool ex_handler_default(const struct exception_table_entry *fixup, in ex_handler_default() argument 21 regs->ip = ex_fixup_addr(fixup); in ex_handler_default() 25 static bool ex_handler_fault(const struct exception_table_entry *fixup, in ex_handler_fault() argument 29 return ex_handler_default(fixup, regs); in ex_handler_fault() 45 regs->ip = ex_fixup_addr(fixup); in ex_handler_fprestore() 58 return ex_handler_default(fixup, regs); in ex_handler_uaccess() 65 return ex_handler_fault(fixup, regs, trapnr); in ex_handler_copy() 78 return ex_handler_default(fixup, regs); in ex_handler_rdmsr_unsafe() 90 return ex_handler_default(fixup, regs); in ex_handler_wrmsr_unsafe() [all …]
|
| /linux/arch/alpha/include/asm/ |
| 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/lib/ |
| 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/nds32/mm/ |
| A D | extable.c | 9 const struct exception_table_entry *fixup; in fixup_exception() local 11 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception() 12 if (fixup) in fixup_exception() 13 regs->ipc = fixup->fixup; in fixup_exception() 15 return fixup != NULL; in fixup_exception()
|
| /linux/arch/x86/um/ |
| A D | fault.c | 12 unsigned long fixup; member 20 const struct exception_table_entry *fixup; in arch_fixup() local 22 fixup = search_exception_tables(address); in arch_fixup() 23 if (fixup) { in arch_fixup() 24 UPT_IP(regs) = fixup->fixup; in arch_fixup()
|
| /linux/arch/arm/mm/ |
| 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/s390/include/asm/ |
| A D | extable.h | 27 int insn, fixup; member 38 return (unsigned long)&x->fixup + x->fixup; in extable_fixup() 70 a->fixup = b->fixup + delta; in swap_ex_entry_fixup() 71 b->fixup = tmp.fixup - delta; in swap_ex_entry_fixup()
|
| /linux/arch/riscv/mm/ |
| A D | extable.c | 20 const struct exception_table_entry *fixup; in fixup_exception() local 22 fixup = search_exception_tables(regs->epc); in fixup_exception() 23 if (!fixup) in fixup_exception() 28 return rv_bpf_fixup_exception(fixup, regs); in fixup_exception() 31 regs->epc = fixup->fixup; in fixup_exception()
|
| /linux/arch/sh/mm/ |
| 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/nios2/mm/ |
| 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/arc/mm/ |
| 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/m68k/kernel/ |
| 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/arch/x86/include/asm/ |
| A D | extable.h | 24 int insn, fixup, type; member 32 (a)->fixup = (b)->fixup + (delta); \ 33 (b)->fixup = (tmp).fixup - (delta); \
|
| /linux/tools/testing/selftests/powerpc/primitives/ |
| 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/ |
| 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/drivers/clk/imx/ |
| A D | clk-fixup-mux.c | 25 void (*fixup)(u32 *val); member 54 fixup_mux->fixup(&val); in clk_fixup_mux_set_parent() 69 int num_parents, void (*fixup)(u32 *val)) in imx_clk_hw_fixup_mux() 76 if (!fixup) in imx_clk_hw_fixup_mux() 95 fixup_mux->fixup = fixup; in imx_clk_hw_fixup_mux()
|
| A D | clk-fixup-div.c | 26 void (*fixup)(u32 *val); member 74 fixup_div->fixup(&val); in clk_fixup_div_set_rate() 90 void (*fixup)(u32 *val)) in imx_clk_hw_fixup_divider() 97 if (!fixup) in imx_clk_hw_fixup_divider() 116 fixup_div->fixup = fixup; in imx_clk_hw_fixup_divider()
|
| /linux/arch/hexagon/mm/ |
| A D | vm_fault.c | 43 const struct exception_table_entry *fixup; in do_page_fault() local 148 fixup = search_exception_tables(pt_elr(regs)); in do_page_fault() 149 if (fixup) { in do_page_fault() 150 pt_set_elr(regs, fixup->fixup); in do_page_fault()
|