Home
last modified time | relevance | path

Searched refs:bpf_loader_ctx (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/bpf/preload/iterators/
H A Diterators.lskel-little-endian.h9 struct bpf_loader_ctx ctx;
93 opts.ctx = (struct bpf_loader_ctx *)skel; in iterators_bpf__load()
H A Diterators.lskel-big-endian.h9 struct bpf_loader_ctx ctx;
399 opts.ctx = (struct bpf_loader_ctx *)skel; in iterators_bpf__load()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsigned_loader.c133 sizeof(struct bpf_loader_ctx)); in close_loader_ctx_fds()
266 f->ctx_sz = sizeof(struct bpf_loader_ctx) + in gen_loader_fixture_init()
272 ((struct bpf_loader_ctx *)f->ctx)->sz = f->ctx_sz; in gen_loader_fixture_init()
663 ctx_sz = sizeof(struct bpf_loader_ctx) + in metadata_ctx_max_entries_ignored()
669 ((struct bpf_loader_ctx *)ctx)->sz = ctx_sz; in metadata_ctx_max_entries_ignored()
671 md = (struct bpf_map_desc *)((char *)ctx + sizeof(struct bpf_loader_ctx)); in metadata_ctx_max_entries_ignored()
748 ctx_sz = sizeof(struct bpf_loader_ctx) + in metadata_ctx_initial_value_ignored()
754 ((struct bpf_loader_ctx *)ctx)->sz = ctx_sz; in metadata_ctx_initial_value_ignored()
757 md = (struct bpf_map_desc *)((char *)ctx + sizeof(struct bpf_loader_ctx)); in metadata_ctx_initial_value_ignored()
851 ctx_sz = sizeof(struct bpf_loader_ctx) + in signature_authenticates_insns()
[all …]
/linux/tools/lib/bpf/
H A Dgen_loader.c390 sizeof(struct bpf_loader_ctx) + in bpf_gen__finish()
397 sizeof(struct bpf_loader_ctx) + in bpf_gen__finish()
472 offsetof(struct bpf_loader_ctx, log_level), false); in bpf_gen__load_btf()
474 offsetof(struct bpf_loader_ctx, log_size), false); in bpf_gen__load_btf()
476 offsetof(struct bpf_loader_ctx, log_buf), false); in bpf_gen__load_btf()
543 sizeof(struct bpf_loader_ctx) + in bpf_gen__map_create()
1093 offsetof(struct bpf_loader_ctx, log_level), false); in bpf_gen__prog_load()
1095 offsetof(struct bpf_loader_ctx, log_size), false); in bpf_gen__prog_load()
1097 offsetof(struct bpf_loader_ctx, log_buf), false); in bpf_gen__prog_load()
1160 sizeof(struct bpf_loader_ctx) + in bpf_gen__map_update_elem()
[all …]
H A Dskel_internal.h53 struct bpf_loader_ctx { struct
62 struct bpf_loader_ctx *ctx; argument
95 struct bpf_loader_ctx *ctx = kzalloc(size, GFP_KERNEL); in skel_alloc()