Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/tools/lib/bpf/
H A Dlibbpf.h1847 libbpf_prog_setup_fn_t prog_setup_fn; member
H A Dlibbpf.c420 libbpf_prog_setup_fn_t prog_setup_fn; member
7940 if (prog->sec_def->prog_setup_fn) { in bpf_object_init_progs()
7941 err = prog->sec_def->prog_setup_fn(prog, prog->sec_def->cookie); in bpf_object_init_progs()
9545 sec_def->prog_setup_fn = OPTS_GET(opts, prog_setup_fn, NULL); in libbpf_register_prog_handler()