Searched refs:load_attr (Results 1 – 3 of 3) sorted by relevance
937 struct bpf_prog_load_opts *load_attr, int prog_idx) in bpf_gen__prog_load() argument952 attr.expected_attach_type = load_attr->expected_attach_type; in bpf_gen__prog_load()953 attr.attach_btf_id = load_attr->attach_btf_id; in bpf_gen__prog_load()954 attr.prog_ifindex = load_attr->prog_ifindex; in bpf_gen__prog_load()957 attr.prog_flags = load_attr->prog_flags; in bpf_gen__prog_load()959 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_gen__prog_load()960 attr.func_info_cnt = load_attr->func_info_cnt; in bpf_gen__prog_load()961 func_info = add_data(gen, load_attr->func_info, in bpf_gen__prog_load()964 attr.line_info_rec_size = load_attr->line_info_rec_size; in bpf_gen__prog_load()965 attr.line_info_cnt = load_attr->line_info_cnt; in bpf_gen__prog_load()[all …]
65 struct bpf_prog_load_opts *load_attr, int prog_idx);
6885 LIBBPF_OPTS(bpf_prog_load_opts, load_attr); in bpf_object_load_prog()6909 load_attr.attach_prog_fd = prog->attach_prog_fd; in bpf_object_load_prog()6910 load_attr.attach_btf_obj_fd = prog->attach_btf_obj_fd; in bpf_object_load_prog()6911 load_attr.attach_btf_id = prog->attach_btf_id; in bpf_object_load_prog()6912 load_attr.kern_version = kern_version; in bpf_object_load_prog()6913 load_attr.prog_ifindex = prog->prog_ifindex; in bpf_object_load_prog()6918 load_attr.prog_btf_fd = btf_fd; in bpf_object_load_prog()6919 load_attr.func_info = prog->func_info; in bpf_object_load_prog()6920 load_attr.func_info_rec_size = prog->func_info_rec_size; in bpf_object_load_prog()6921 load_attr.func_info_cnt = prog->func_info_cnt; in bpf_object_load_prog()[all …]