Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c432 const struct bpf_sec_def *sec_def; 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()
7880 prog->sec_def = find_sec_def(prog->sec_name); in bpf_object_init_progs()
7881 if (!prog->sec_def) { in bpf_object_init_progs()
7888 prog->type = prog->sec_def->prog_type; in bpf_object_init_progs()
7889 prog->expected_attach_type = prog->sec_def->expected_attach_type; in bpf_object_init_progs()
7894 if (prog->sec_def->prog_setup_fn) { in bpf_object_init_progs()
7895 err = prog->sec_def->prog_setup_fn(prog, prog->sec_def->cookie); in bpf_object_init_progs()
9265 if (prog->sec_def != &custom_fallback_def) in bpf_program__set_type()
[all …]