Lines Matching refs: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);
40 static bool ex_handler_uaccess_err_zero(const struct exception_table_entry *ex,
43 int reg_err = FIELD_GET(EX_DATA_REG_ERR, ex->data);
44 int reg_zero = FIELD_GET(EX_DATA_REG_ZERO, ex->data);
49 regs->epc = get_ex_fixup(ex);
55 const struct exception_table_entry *ex;
57 ex = search_exception_tables(regs->epc);
58 if (!ex)
61 switch (ex->type) {
63 return ex_handler_fixup(ex, regs);
65 return ex_handler_bpf(ex, regs);
67 return ex_handler_uaccess_err_zero(ex, regs);