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);
7444 load_attr.kern_version = kern_version; in bpf_object_load_prog()7450 load_attr.func_info = prog->func_info; in bpf_object_load_prog()7453 load_attr.line_info = prog->line_info; in bpf_object_load_prog()7457 load_attr.log_level = log_level; in bpf_object_load_prog()7458 load_attr.prog_flags = prog->prog_flags; in bpf_object_load_prog()7459 load_attr.fd_array = obj->fd_array; in bpf_object_load_prog()7461 load_attr.token_fd = obj->token_fd; in bpf_object_load_prog()7463 load_attr.prog_flags |= BPF_F_TOKEN_FD; in bpf_object_load_prog()7516 load_attr.log_buf = log_buf; in bpf_object_load_prog()7517 load_attr.log_size = log_buf_size; in bpf_object_load_prog()[all …]