Home
last modified time | relevance | path

Searched refs:prog_prepare_load_fn (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcustom_sec_handlers.c65 .prog_prepare_load_fn = custom_prepare_load_prog, in register_sec_handlers()
71 .prog_prepare_load_fn = custom_prepare_load_prog, in register_sec_handlers()
77 .prog_prepare_load_fn = NULL, in register_sec_handlers()
98 .prog_prepare_load_fn = custom_prepare_load_prog, in test_custom_sec_handlers()
/linux/tools/lib/bpf/
H A Dlibbpf.h1849 libbpf_prog_prepare_load_fn_t prog_prepare_load_fn; member
H A Dlibbpf.c420 libbpf_prog_prepare_load_fn_t prog_prepare_load_fn; member
7466 if (prog->sec_def && prog->sec_def->prog_prepare_load_fn) { in bpf_object_load_prog()
7467 err = prog->sec_def->prog_prepare_load_fn(prog, &load_attr, prog->sec_def->cookie); in bpf_object_load_prog()
9341 .prog_prepare_load_fn = libbpf_prepare_prog_load, \
9499 sec_def->prog_prepare_load_fn = OPTS_GET(opts, prog_prepare_load_fn, NULL); in libbpf_register_prog_handler()
9621 if (sec_def->prog_prepare_load_fn != libbpf_prepare_prog_load) in libbpf_get_type_names()
10056 if (sec_def->prog_prepare_load_fn != libbpf_prepare_prog_load) in libbpf_attach_type_by_name()