Lines Matching defs:ex
398 bool ex_handler_bpf(const struct exception_table_entry *ex,
401 int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup);
402 off_t offset = FIELD_GET(BPF_FIXUP_OFFSET_MASK, ex->fixup);
405 regs->csr_era = (unsigned long)&ex->fixup - offset;
417 struct exception_table_entry *ex;
429 ex = &ctx->prog->aux->extable[ctx->num_exentries];
432 offset = pc - (long)&ex->insn;
436 ex->insn = offset;
446 offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE);
450 ex->type = EX_TYPE_BPF;
451 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, offset) | FIELD_PREP(BPF_FIXUP_REG_MASK, dst_reg);