Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dcustom_sec_handlers.c64 .prog_setup_fn = custom_setup_prog, in register_sec_handlers()
70 .prog_setup_fn = custom_setup_prog, in register_sec_handlers()
76 .prog_setup_fn = NULL, in register_sec_handlers()
97 .prog_setup_fn = custom_setup_prog, in test_custom_sec_handlers()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.h1682 libbpf_prog_setup_fn_t prog_setup_fn; member
Dlibbpf.c381 libbpf_prog_setup_fn_t prog_setup_fn; member
7359 if (prog->sec_def->prog_setup_fn) { in bpf_object_init_progs()
7360 err = prog->sec_def->prog_setup_fn(prog, prog->sec_def->cookie); in bpf_object_init_progs()
8901 sec_def->prog_setup_fn = OPTS_GET(opts, prog_setup_fn, NULL); in libbpf_register_prog_handler()