Home
last modified time | relevance | path

Searched refs:relos (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dcore_reloc_raw.c62 struct bpf_core_relo relos[] = { in test_bad_local_id() local
100 attr.core_relos = (__u64)relos; in test_bad_local_id()
101 attr.core_relo_cnt = sizeof(relos) / sizeof(*relos); in test_bad_local_id()
102 attr.core_relo_rec_size = sizeof(*relos); in test_bad_local_id()
/linux-6.12.1/tools/lib/bpf/
Dgen_loader.c567 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 …]
Dbpf_gen_internal.h42 struct ksym_relo_desc *relos; member
Dlibbpf.c4649 struct reloc_desc *relos; in bpf_object__collect_prog_relos() local
4725 relos = libbpf_reallocarray(prog->reloc_desc, in bpf_object__collect_prog_relos()
4726 prog->nr_reloc + 1, sizeof(*relos)); in bpf_object__collect_prog_relos()
4727 if (!relos) in bpf_object__collect_prog_relos()
4729 prog->reloc_desc = relos; in bpf_object__collect_prog_relos()
4733 err = bpf_program__record_reloc(prog, &relos[prog->nr_reloc], in bpf_object__collect_prog_relos()
5778 struct reloc_desc *relos, *relo; in record_relo_core() local
5780 relos = libbpf_reallocarray(prog->reloc_desc, in record_relo_core()
5781 prog->nr_reloc + 1, sizeof(*relos)); in record_relo_core()
5782 if (!relos) in record_relo_core()
[all …]
/linux-6.12.1/Documentation/translations/sp_SP/process/
D2.Process.rst460 respuesta de enojo, ignórelos.
Dsubmitting-patches.rst187 que usa esta nueva API, sepárelos en dos parches.