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 | 353 const struct bpf_core_relo *core_relo; /* used when type == RELO_CORE */ member in union:reloc_desc::__anon168 5691 const struct bpf_core_relo *core_relo, int insn_idx) 5702 relo->core_relo = core_relo; 5718 return relo->core_relo; 7721 .type_id = relo->core_relo->type_id, 7722 .access_str_off = relo->core_relo->access_str_off, 7723 .kind = relo->core_relo->kind, 5690 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 | 16226 struct bpf_core_relo core_relo = {}; local 16260 verbose(env, "nonzero tailing record in core_relo"); 16269 if (copy_from_bpfptr(&core_relo, u_core_relo, ncopy)) { 16274 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { 16275 verbose(env, "Invalid core_relo[%u].insn_off:%u prog->len:%u\n", 16276 i, core_relo.insn_off, prog->len); 16281 err = bpf_core_apply(&ctx, &core_relo, i, 16282 &prog->insnsi[core_relo.insn_off / 8]);
|
Completed in 378 milliseconds