Home
last modified time | relevance | path

Searched refs:fixup (Results 1 – 25 of 223) sorted by relevance

123456789

/arch/s390/lib/
Dprobes.c47 int fixup = FIXUP_PSW_NORMAL; in probe_get_fixup_type() local
52 fixup = FIXUP_RETURN_REGISTER; in probe_get_fixup_type()
55 fixup |= FIXUP_BRANCH_NOT_TAKEN; in probe_get_fixup_type()
59 fixup = FIXUP_BRANCH_NOT_TAKEN; in probe_get_fixup_type()
63 fixup = FIXUP_RETURN_REGISTER; in probe_get_fixup_type()
69 fixup = FIXUP_BRANCH_NOT_TAKEN; in probe_get_fixup_type()
72 fixup = FIXUP_NOT_REQUIRED; in probe_get_fixup_type()
76 fixup = FIXUP_NOT_REQUIRED; in probe_get_fixup_type()
80 fixup |= FIXUP_RETURN_REGISTER; in probe_get_fixup_type()
84 fixup |= FIXUP_RETURN_REGISTER; in probe_get_fixup_type()
[all …]
/arch/powerpc/lib/
Dfeature-fixups.c268 static struct fixup_entry fixup; variable
283 fixup.value = fixup.mask = 8; in test_basic_patching()
284 fixup.start_off = calc_offset(&fixup, &ftr_fixup_test1 + 1); in test_basic_patching()
285 fixup.end_off = calc_offset(&fixup, &ftr_fixup_test1 + 2); in test_basic_patching()
286 fixup.alt_start_off = fixup.alt_end_off = 0; in test_basic_patching()
292 patch_feature_section(8, &fixup); in test_basic_patching()
296 patch_feature_section(0, &fixup); in test_basic_patching()
302 patch_feature_section(~8, &fixup); in test_basic_patching()
315 fixup.value = fixup.mask = 0xF; in test_alternative_patching()
316 fixup.start_off = calc_offset(&fixup, &ftr_fixup_test2 + 1); in test_alternative_patching()
[all …]
/arch/arm64/mm/
Dextable.c10 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->pc = (unsigned long)&fixup->fixup + fixup->fixup; in fixup_exception()
16 return fixup != NULL; in fixup_exception()
/arch/mips/pci/
DMakefile18 obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o
21 obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
32 obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o
33 obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o
34 obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o
35 obj-$(CONFIG_LOONGSON_MACH3X) += fixup-loongson3.o ops-loongson3.o
36 obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o pci-malta.o
37 obj-$(CONFIG_PMC_MSP7120_GW) += fixup-pmcmsp.o ops-pmcmsp.o
38 obj-$(CONFIG_PMC_MSP7120_EVAL) += fixup-pmcmsp.o ops-pmcmsp.o
39 obj-$(CONFIG_PMC_MSP7120_FPGA) += fixup-pmcmsp.o ops-pmcmsp.o
[all …]
/arch/unicore32/mm/
Dextable.c17 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()
/arch/metag/mm/
Dextable.c7 const struct exception_table_entry *fixup; in fixup_exception() local
10 fixup = search_exception_tables(pc); in fixup_exception()
11 if (fixup) in fixup_exception()
12 regs->ctx.CurrPC = fixup->fixup; in fixup_exception()
14 return fixup != NULL; in fixup_exception()
/arch/arm/mm/
Dextable.c9 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->ARM_pc = fixup->fixup; in fixup_exception()
20 return fixup != NULL; in fixup_exception()
/arch/x86/um/
Dfault.c12 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()
/arch/x86/mm/
Dextable.c12 return (unsigned long)&x->fixup + x->fixup; in ex_fixup_addr()
20 bool ex_handler_default(const struct exception_table_entry *fixup, in ex_handler_default() argument
23 regs->ip = ex_fixup_addr(fixup); in ex_handler_default()
28 bool ex_handler_fault(const struct exception_table_entry *fixup, in ex_handler_fault() argument
31 regs->ip = ex_fixup_addr(fixup); in ex_handler_fault()
37 bool ex_handler_ext(const struct exception_table_entry *fixup, in ex_handler_ext() argument
42 regs->ip = ex_fixup_addr(fixup); in ex_handler_ext()
47 bool ex_handler_rdmsr_unsafe(const struct exception_table_entry *fixup, in ex_handler_rdmsr_unsafe() argument
55 regs->ip = ex_fixup_addr(fixup); in ex_handler_rdmsr_unsafe()
62 bool ex_handler_wrmsr_unsafe(const struct exception_table_entry *fixup, in ex_handler_wrmsr_unsafe() argument
[all …]
/arch/sparc/mm/
Dextable.c40 if (walk->fixup == 0) { in search_extable()
47 if (walk->fixup == -1) in search_extable()
56 if (walk->fixup) in search_extable()
76 range = m->extable[i].fixup == 0; in trim_init_extable()
79 m->extable[i].fixup = -1; in trim_init_extable()
81 m->extable[i+1].fixup = -1; in trim_init_extable()
99 if (!entry->fixup) { in search_extables_range()
101 return (entry + 1)->fixup; in search_extables_range()
104 return entry->fixup; in search_extables_range()
/arch/score/mm/
Dextable.c30 const struct exception_table_entry *fixup; in fixup_exception() local
32 fixup = search_exception_tables(regs->cp0_epc); in fixup_exception()
33 if (fixup) { in fixup_exception()
34 regs->cp0_epc = fixup->fixup; in fixup_exception()
/arch/mn10300/mm/
Dextable.c17 const struct exception_table_entry *fixup; in fixup_exception() local
19 fixup = search_exception_tables(regs->pc); in fixup_exception()
20 if (fixup) { in fixup_exception()
21 regs->pc = fixup->fixup; in fixup_exception()
/arch/tile/mm/
Dextable.c21 const struct exception_table_entry *fixup; in fixup_exception() local
23 fixup = search_exception_tables(regs->pc); in fixup_exception()
24 if (fixup) { in fixup_exception()
25 regs->pc = fixup->fixup; in fixup_exception()
/arch/sh/mm/
Dextable_32.c12 const struct exception_table_entry *fixup; in fixup_exception() local
14 fixup = search_exception_tables(regs->pc); in fixup_exception()
15 if (fixup) { in fixup_exception()
16 regs->pc = fixup->fixup; in fixup_exception()
Dextable_64.c21 .fixup = (unsigned long)&__copy_user_fixup,
73 const struct exception_table_entry *fixup; in fixup_exception() local
75 fixup = search_exception_tables(regs->pc); in fixup_exception()
76 if (fixup) { in fixup_exception()
77 regs->pc = fixup->fixup; in fixup_exception()
/arch/m32r/mm/
Dextable.c10 const struct exception_table_entry *fixup; in fixup_exception() local
12 fixup = search_exception_tables(regs->bpc); in fixup_exception()
13 if (fixup) { in fixup_exception()
14 regs->bpc = fixup->fixup; in fixup_exception()
/arch/nios2/mm/
Dextable.c16 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()
/arch/x86/include/asm/
Dextable.h17 int insn, fixup, handler; member
25 (a)->fixup = (b)->fixup + (delta); \
26 (b)->fixup = (tmp).fixup - (delta); \
/arch/mips/mm/
Dextable.c15 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()
/arch/arc/mm/
Dextable.c16 const struct exception_table_entry *fixup; in fixup_exception() local
18 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception()
19 if (fixup) { in fixup_exception()
20 regs->ret = fixup->fixup; in fixup_exception()
/arch/mips/lib/
Dmemset.S57 .macro f_fill64 dst, offset, val, fixup, mode
58 EX(LONG_S, \val, (\offset + 0 * STORSIZE)(\dst), \fixup)
59 EX(LONG_S, \val, (\offset + 1 * STORSIZE)(\dst), \fixup)
60 EX(LONG_S, \val, (\offset + 2 * STORSIZE)(\dst), \fixup)
61 EX(LONG_S, \val, (\offset + 3 * STORSIZE)(\dst), \fixup)
63 EX(LONG_S, \val, (\offset + 4 * STORSIZE)(\dst), \fixup)
64 EX(LONG_S, \val, (\offset + 5 * STORSIZE)(\dst), \fixup)
65 EX(LONG_S, \val, (\offset + 6 * STORSIZE)(\dst), \fixup)
66 EX(LONG_S, \val, (\offset + 7 * STORSIZE)(\dst), \fixup)
69 EX(LONG_S, \val, (\offset + 8 * STORSIZE)(\dst), \fixup)
[all …]
/arch/m68k/kernel/
Dmodule.c116 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()
/arch/cris/arch-v32/kernel/
Dtraps.c153 const struct exception_table_entry *fixup; in fixup_BUG() local
159 fixup = search_exception_tables(instruction_pointer(regs) - 2); in fixup_BUG()
160 if (fixup) { in fixup_BUG()
162 instruction_pointer(regs) = fixup->fixup; in fixup_BUG()
/arch/frv/kernel/
Dentry-table.S39 # (5) The fixup table for kernel-trap single-step
40 # (6) The fixup table for user-trap single-step
44 # we have to catch the single-step event in break.S and jump to the fixup
77 # trap fixup table for single-stepping in user mode
78 .section .trap.fixup.user,"a"
83 # trap fixup table for single-stepping in user mode
84 .section .trap.fixup.kernel,"a"
94 .section .trap.fixup.user
100 .section .trap.fixup.kernel
113 .section .trap.fixup.user
[all …]
/arch/hexagon/mm/
Dvm_fault.c55 const struct exception_table_entry *fixup; in do_page_fault() local
169 fixup = search_exception_tables(pt_elr(regs)); in do_page_fault()
170 if (fixup) { in do_page_fault()
171 pt_set_elr(regs, fixup->fixup); in do_page_fault()

123456789