Lines Matching refs:load_attr
6889 LIBBPF_OPTS(bpf_prog_load_opts, load_attr); in bpf_object_load_prog()
6913 load_attr.attach_prog_fd = prog->attach_prog_fd; in bpf_object_load_prog()
6914 load_attr.attach_btf_obj_fd = prog->attach_btf_obj_fd; in bpf_object_load_prog()
6915 load_attr.attach_btf_id = prog->attach_btf_id; in bpf_object_load_prog()
6916 load_attr.kern_version = kern_version; in bpf_object_load_prog()
6917 load_attr.prog_ifindex = prog->prog_ifindex; in bpf_object_load_prog()
6922 load_attr.prog_btf_fd = btf_fd; in bpf_object_load_prog()
6923 load_attr.func_info = prog->func_info; in bpf_object_load_prog()
6924 load_attr.func_info_rec_size = prog->func_info_rec_size; in bpf_object_load_prog()
6925 load_attr.func_info_cnt = prog->func_info_cnt; in bpf_object_load_prog()
6926 load_attr.line_info = prog->line_info; in bpf_object_load_prog()
6927 load_attr.line_info_rec_size = prog->line_info_rec_size; in bpf_object_load_prog()
6928 load_attr.line_info_cnt = prog->line_info_cnt; in bpf_object_load_prog()
6930 load_attr.log_level = log_level; in bpf_object_load_prog()
6931 load_attr.prog_flags = prog->prog_flags; in bpf_object_load_prog()
6932 load_attr.fd_array = obj->fd_array; in bpf_object_load_prog()
6936 err = prog->sec_def->prog_prepare_load_fn(prog, &load_attr, prog->sec_def->cookie); in bpf_object_load_prog()
6947 load_attr.expected_attach_type = prog->expected_attach_type; in bpf_object_load_prog()
6951 license, insns, insns_cnt, &load_attr, in bpf_object_load_prog()
6985 load_attr.log_buf = log_buf; in bpf_object_load_prog()
6986 load_attr.log_size = log_buf_size; in bpf_object_load_prog()
6987 load_attr.log_level = log_level; in bpf_object_load_prog()
6989 ret = bpf_prog_load(prog->type, prog_name, license, insns, insns_cnt, &load_attr); in bpf_object_load_prog()