Lines Matching refs:relos
567 relo = libbpf_reallocarray(gen->relos, gen->relo_cnt + 1, sizeof(*relo)); in bpf_gen__record_extern()
572 gen->relos = relo; in bpf_gen__record_extern()
854 struct bpf_core_relo *relos; in bpf_gen__record_relo_core() local
856 relos = libbpf_reallocarray(gen->core_relos, gen->core_relo_cnt + 1, sizeof(*relos)); in bpf_gen__record_relo_core()
857 if (!relos) { in bpf_gen__record_relo_core()
861 gen->core_relos = relos; in bpf_gen__record_relo_core()
862 relos += gen->core_relo_cnt; in bpf_gen__record_relo_core()
863 memcpy(relos, core_relo, sizeof(*relos)); in bpf_gen__record_relo_core()
890 emit_relo(gen, gen->relos + i, insns); in emit_relos()
927 free(gen->relos); in cleanup_relos()
929 gen->relos = NULL; in cleanup_relos()