Searched refs:core_relo (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/lib/bpf/ |
H A D | bpf_gen_internal.h | 71 void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
|
H A D | gen_loader.c | 852 const struct bpf_core_relo *core_relo) 863 memcpy(relos, core_relo, sizeof(*relos)); 851 bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo) argument
|
H A D | libbpf.c | 355 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */ member in union:reloc_desc::__anon3639 5738 const struct bpf_core_relo *core_relo, int insn_idx) 5749 relo->core_relo = core_relo; 5765 return relo->core_relo; 7780 .type_id = relo->core_relo->type_id, 7781 .access_str_off = relo->core_relo->access_str_off, 7782 .kind = relo->core_relo->kind, 5737 record_relo_core(struct bpf_program *prog, const struct bpf_core_relo *core_relo, int insn_idx) argument
|
/linux-master/kernel/bpf/ |
H A D | verifier.c | 16390 struct bpf_core_relo core_relo = {}; local 16424 verbose(env, "nonzero tailing record in core_relo"); 16433 if (copy_from_bpfptr(&core_relo, u_core_relo, ncopy)) { 16438 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { 16439 verbose(env, "Invalid core_relo[%u].insn_off:%u prog->len:%u\n", 16440 i, core_relo.insn_off, prog->len); 16445 err = bpf_core_apply(&ctx, &core_relo, i, 16446 &prog->insnsi[core_relo.insn_off / 8]);
|
Completed in 393 milliseconds