Searched refs:relos (Results 1 – 3 of 3) sorted by relevance
/tools/lib/bpf/ |
D | gen_loader.c | 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() [all …]
|
D | bpf_gen_internal.h | 42 struct ksym_relo_desc *relos; member
|
D | libbpf.c | 4241 struct reloc_desc *relos; in bpf_object__collect_prog_relos() local 4317 relos = libbpf_reallocarray(prog->reloc_desc, in bpf_object__collect_prog_relos() 4318 prog->nr_reloc + 1, sizeof(*relos)); in bpf_object__collect_prog_relos() 4319 if (!relos) in bpf_object__collect_prog_relos() 4321 prog->reloc_desc = relos; in bpf_object__collect_prog_relos() 4325 err = bpf_program__record_reloc(prog, &relos[prog->nr_reloc], in bpf_object__collect_prog_relos() 5708 struct reloc_desc *relos, *relo; in record_relo_core() local 5710 relos = libbpf_reallocarray(prog->reloc_desc, in record_relo_core() 5711 prog->nr_reloc + 1, sizeof(*relos)); in record_relo_core() 5712 if (!relos) in record_relo_core() [all …]
|