Lines Matching defs:relo
9495 int bpf_core_apply(struct bpf_core_ctx *ctx, const struct bpf_core_relo *relo,
9498 bool need_cands = relo->kind != BPF_CORE_TYPE_ID_LOCAL;
9512 type = btf_type_by_id(ctx->btf, relo->type_id);
9514 bpf_log(ctx->log, "relo #%u: bad type id %u\n",
9515 relo_idx, relo->type_id);
9525 cc = bpf_core_find_cands(ctx, relo->type_id);
9528 relo->type_id);
9555 err = bpf_core_calc_relo_insn((void *)ctx->log, relo, relo_idx, ctx->btf, &cands, specs,
9560 err = bpf_core_patch_insn((void *)ctx->log, insn, relo->insn_off / 8, relo, relo_idx,