Lines Matching refs:ex
18 get_ex_fixup(const struct exception_table_entry *ex) in get_ex_fixup() argument
20 return ((unsigned long)&ex->fixup + ex->fixup); in get_ex_fixup()
23 static bool ex_handler_fixup(const struct exception_table_entry *ex, in ex_handler_fixup() argument
26 regs->epc = get_ex_fixup(ex); in ex_handler_fixup()
40 static bool ex_handler_uaccess_err_zero(const struct exception_table_entry *ex, in ex_handler_uaccess_err_zero() argument
43 int reg_err = FIELD_GET(EX_DATA_REG_ERR, ex->data); in ex_handler_uaccess_err_zero()
44 int reg_zero = FIELD_GET(EX_DATA_REG_ZERO, ex->data); in ex_handler_uaccess_err_zero()
49 regs->epc = get_ex_fixup(ex); in ex_handler_uaccess_err_zero()
55 const struct exception_table_entry *ex; in fixup_exception() local
57 ex = search_exception_tables(regs->epc); in fixup_exception()
58 if (!ex) in fixup_exception()
61 switch (ex->type) { in fixup_exception()
63 return ex_handler_fixup(ex, regs); in fixup_exception()
65 return ex_handler_bpf(ex, regs); in fixup_exception()
67 return ex_handler_uaccess_err_zero(ex, regs); in fixup_exception()