/Linux-v4.19/arch/s390/lib/ |
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-v4.19/arch/powerpc/lib/ |
D | feature-fixups.c | 460 static struct fixup_entry fixup; variable 475 fixup.value = fixup.mask = 8; in test_basic_patching() 476 fixup.start_off = calc_offset(&fixup, ftr_fixup_test1 + 1); in test_basic_patching() 477 fixup.end_off = calc_offset(&fixup, ftr_fixup_test1 + 2); in test_basic_patching() 478 fixup.alt_start_off = fixup.alt_end_off = 0; in test_basic_patching() 484 patch_feature_section(8, &fixup); in test_basic_patching() 488 patch_feature_section(0, &fixup); in test_basic_patching() 494 patch_feature_section(~8, &fixup); in test_basic_patching() 507 fixup.value = fixup.mask = 0xF; in test_alternative_patching() 508 fixup.start_off = calc_offset(&fixup, ftr_fixup_test2 + 1); in test_alternative_patching() [all …]
|
/Linux-v4.19/arch/mips/pci/ |
D | Makefile | 19 obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o 22 obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \ 33 obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o 34 obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o 35 obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o 36 obj-$(CONFIG_LOONGSON_MACH3X) += fixup-loongson3.o ops-loongson3.o 37 obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o pci-malta.o 38 obj-$(CONFIG_PMC_MSP7120_GW) += fixup-pmcmsp.o ops-pmcmsp.o 39 obj-$(CONFIG_PMC_MSP7120_EVAL) += fixup-pmcmsp.o ops-pmcmsp.o 40 obj-$(CONFIG_PMC_MSP7120_FPGA) += fixup-pmcmsp.o ops-pmcmsp.o [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | extable.c | 16 return (unsigned long)&x->fixup + x->fixup; in ex_fixup_addr() 24 __visible bool ex_handler_default(const struct exception_table_entry *fixup, in ex_handler_default() argument 27 regs->ip = ex_fixup_addr(fixup); in ex_handler_default() 32 __visible bool ex_handler_fault(const struct exception_table_entry *fixup, in ex_handler_fault() argument 35 regs->ip = ex_fixup_addr(fixup); in ex_handler_fault() 45 __visible bool ex_handler_refcount(const struct exception_table_entry *fixup, in ex_handler_refcount() argument 60 regs->ip = ex_fixup_addr(fixup); in ex_handler_refcount() 98 __visible bool ex_handler_fprestore(const struct exception_table_entry *fixup, in ex_handler_fprestore() argument 101 regs->ip = ex_fixup_addr(fixup); in ex_handler_fprestore() 111 __visible bool ex_handler_ext(const struct exception_table_entry *fixup, in ex_handler_ext() argument [all …]
|
/Linux-v4.19/arch/alpha/include/asm/ |
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-v4.19/arch/arm64/mm/ |
D | extable.c | 11 const struct exception_table_entry *fixup; in fixup_exception() local 13 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception() 14 if (fixup) in fixup_exception() 15 regs->pc = (unsigned long)&fixup->fixup + fixup->fixup; in fixup_exception() 17 return fixup != NULL; in fixup_exception()
|
/Linux-v4.19/arch/sparc/mm/ |
D | extable.c | 42 if (base[i].fixup == 0) { in search_extable() 49 if (base[i].fixup == -1) in search_extable() 58 if (base[i].fixup) in search_extable() 78 range = m->extable[i].fixup == 0; in trim_init_extable() 81 m->extable[i].fixup = -1; in trim_init_extable() 83 m->extable[i+1].fixup = -1; in trim_init_extable() 101 if (!entry->fixup) { in search_extables_range() 103 return (entry + 1)->fixup; in search_extables_range() 106 return entry->fixup; in search_extables_range()
|
/Linux-v4.19/arch/unicore32/mm/ |
D | extable.c | 17 const struct exception_table_entry *fixup; in fixup_exception() local 19 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception() 20 if (fixup) in fixup_exception() 21 regs->UCreg_pc = fixup->fixup; in fixup_exception() 23 return fixup != NULL; in fixup_exception()
|
/Linux-v4.19/arch/nds32/mm/ |
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-v4.19/arch/arm/mm/ |
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-v4.19/arch/x86/um/ |
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-v4.19/arch/riscv/lib/ |
D | uaccess.S | 6 .macro fixup op reg addr lbl macro 40 fixup REG_L, t2, (a1), 10f 41 fixup REG_S, t2, (a0), 10f 54 fixup lbu, t2, (a1), 10f 55 fixup sb, t2, (a0), 10f 61 fixup lbu, t2, (a1), 10f 62 fixup sb, t2, (a0), 10f 89 fixup REG_S, zero, (a0), 11f 101 fixup sb, zero, (a0), 11f 106 fixup sb, zero, (a0), 11f [all …]
|
/Linux-v4.19/arch/mips/lib/ |
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-v4.19/arch/riscv/mm/ |
D | extable.c | 29 const struct exception_table_entry *fixup; in fixup_exception() local 31 fixup = search_exception_tables(regs->sepc); in fixup_exception() 32 if (fixup) { in fixup_exception() 33 regs->sepc = fixup->fixup; in fixup_exception()
|
/Linux-v4.19/arch/nios2/mm/ |
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-v4.19/arch/sh/mm/ |
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()
|
D | extable_64.c | 22 .fixup = (unsigned long)&__copy_user_fixup, 75 const struct exception_table_entry *fixup; in fixup_exception() local 77 fixup = search_exception_tables(regs->pc); in fixup_exception() 78 if (fixup) { in fixup_exception() 79 regs->pc = fixup->fixup; in fixup_exception()
|
/Linux-v4.19/arch/arc/mm/ |
D | extable.c | 17 const struct exception_table_entry *fixup; in fixup_exception() local 19 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception() 20 if (fixup) { in fixup_exception() 21 regs->ret = fixup->fixup; in fixup_exception()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | extable.h | 18 int insn, fixup, handler; member 26 (a)->fixup = (b)->fixup + (delta); \ 27 (b)->fixup = (tmp).fixup - (delta); \
|
/Linux-v4.19/arch/mips/mm/ |
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-v4.19/arch/m68k/kernel/ |
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-v4.19/drivers/clk/imx/ |
D | clk-fixup-mux.c | 30 void (*fixup)(u32 *val); member 59 fixup_mux->fixup(&val); in clk_fixup_mux_set_parent() 74 int num_parents, void (*fixup)(u32 *val)) in imx_clk_fixup_mux() 80 if (!fixup) in imx_clk_fixup_mux() 99 fixup_mux->fixup = fixup; in imx_clk_fixup_mux()
|
D | clk-fixup-div.c | 32 void (*fixup)(u32 *val); member 80 fixup_div->fixup(&val); in clk_fixup_div_set_rate() 96 void (*fixup)(u32 *val)) in imx_clk_fixup_divider() 102 if (!fixup) in imx_clk_fixup_divider() 121 fixup_div->fixup = fixup; in imx_clk_fixup_divider()
|
/Linux-v4.19/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 78 int fixup; member 89 unsigned long insn, fixup; in segv_handler() local 92 fixup = (unsigned long)&entry->fixup + entry->fixup; in segv_handler() 95 *ip = fixup; in segv_handler()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | extable.h | 19 int insn, fixup; member 24 return (unsigned long)&x->fixup + x->fixup; in extable_fixup()
|