Searched refs:sec_def (Results 1 – 1 of 1) sorted by relevance
252 const struct bpf_sec_def *sec_def; member6657 if (prog->sec_def && prog->sec_def->preload_fn) { in bpf_object_load_prog_instance()6658 err = prog->sec_def->preload_fn(prog, &load_attr, prog->sec_def->cookie); in bpf_object_load_prog_instance()6937 prog->sec_def = find_sec_def(prog->sec_name); in bpf_object_init_progs()6938 if (!prog->sec_def) { in bpf_object_init_progs()6945 bpf_program__set_type(prog, prog->sec_def->prog_type); in bpf_object_init_progs()6946 bpf_program__set_expected_attach_type(prog, prog->sec_def->expected_attach_type); in bpf_object_init_progs()6950 if (prog->sec_def->prog_type == BPF_PROG_TYPE_TRACING || in bpf_object_init_progs()6951 prog->sec_def->prog_type == BPF_PROG_TYPE_EXT) in bpf_object_init_progs()6958 if (prog->sec_def->init_fn) { in bpf_object_init_progs()[all …]