Searched refs:relos (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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() 848 struct bpf_core_relo *relos; in bpf_gen__record_relo_core() local 850 relos = libbpf_reallocarray(gen->core_relos, gen->core_relo_cnt + 1, sizeof(*relos)); in bpf_gen__record_relo_core() 851 if (!relos) { in bpf_gen__record_relo_core() 855 gen->core_relos = relos; in bpf_gen__record_relo_core() 856 relos += gen->core_relo_cnt; in bpf_gen__record_relo_core() 857 memcpy(relos, core_relo, sizeof(*relos)); in bpf_gen__record_relo_core() 890 emit_relo(gen, gen->relos + i, insns); in emit_relos() 925 free(gen->relos); in cleanup_relos() [all …]
|
D | bpf_gen_internal.h | 40 struct ksym_relo_desc *relos; member
|
D | libbpf.c | 4146 struct reloc_desc *relos; in bpf_object__collect_prog_relos() local 4220 relos = libbpf_reallocarray(prog->reloc_desc, in bpf_object__collect_prog_relos() 4221 prog->nr_reloc + 1, sizeof(*relos)); in bpf_object__collect_prog_relos() 4222 if (!relos) in bpf_object__collect_prog_relos() 4224 prog->reloc_desc = relos; in bpf_object__collect_prog_relos() 4228 err = bpf_program__record_reloc(prog, &relos[prog->nr_reloc], in bpf_object__collect_prog_relos() 5574 struct reloc_desc *relos, *relo; in record_relo_core() local 5576 relos = libbpf_reallocarray(prog->reloc_desc, in record_relo_core() 5577 prog->nr_reloc + 1, sizeof(*relos)); in record_relo_core() 5578 if (!relos) in record_relo_core() [all …]
|