Lines Matching defs:ex
18 get_ex_fixup(const struct exception_table_entry *ex)
20 return ((unsigned long)&ex->fixup + ex->fixup);
23 static bool ex_handler_fixup(const struct exception_table_entry *ex,
26 regs->epc = get_ex_fixup(ex);
48 static bool ex_handler_uaccess_err_zero(const struct exception_table_entry *ex,
51 int reg_err = FIELD_GET(EX_DATA_REG_ERR, ex->data);
52 int reg_zero = FIELD_GET(EX_DATA_REG_ZERO, ex->data);
57 regs->epc = get_ex_fixup(ex);
62 ex_handler_load_unaligned_zeropad(const struct exception_table_entry *ex,
65 int reg_data = FIELD_GET(EX_DATA_REG_DATA, ex->data);
66 int reg_addr = FIELD_GET(EX_DATA_REG_ADDR, ex->data);
78 regs->epc = get_ex_fixup(ex);
84 const struct exception_table_entry *ex;
86 ex = search_exception_tables(regs->epc);
87 if (!ex)
90 switch (ex->type) {
92 return ex_handler_fixup(ex, regs);
94 return ex_handler_bpf(ex, regs);
96 return ex_handler_uaccess_err_zero(ex, regs);
98 return ex_handler_load_unaligned_zeropad(ex, regs);