Lines Matching defs:ex
764 bool ex_handler_bpf(const struct exception_table_entry *ex,
767 off_t offset = FIELD_GET(BPF_FIXUP_OFFSET_MASK, ex->fixup);
768 int dst_reg = FIELD_GET(BPF_FIXUP_REG_MASK, ex->fixup);
772 regs->pc = (unsigned long)&ex->fixup - offset;
784 struct exception_table_entry *ex;
800 ex = &ctx->prog->aux->extable[ctx->exentry_idx];
809 ins_offset = pc - (long)&ex->insn;
825 fixup_offset = (long)&ex->fixup - (pc + AARCH64_INSN_SIZE);
832 * switch ex to rw buffer for writing.
834 ex = (void *)ctx->image + ((void *)ex - (void *)ctx->ro_image);
836 ex->insn = ins_offset;
841 ex->fixup = FIELD_PREP(BPF_FIXUP_OFFSET_MASK, fixup_offset) |
844 ex->type = EX_TYPE_BPF;