Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dgen_loader.c935 struct bpf_prog_load_opts *load_attr, int prog_idx) in bpf_gen__prog_load() argument
950 attr.expected_attach_type = load_attr->expected_attach_type; in bpf_gen__prog_load()
951 attr.attach_btf_id = load_attr->attach_btf_id; in bpf_gen__prog_load()
952 attr.prog_ifindex = load_attr->prog_ifindex; in bpf_gen__prog_load()
955 attr.prog_flags = load_attr->prog_flags; in bpf_gen__prog_load()
957 attr.func_info_rec_size = load_attr->func_info_rec_size; in bpf_gen__prog_load()
958 attr.func_info_cnt = load_attr->func_info_cnt; in bpf_gen__prog_load()
959 func_info = add_data(gen, load_attr->func_info, in bpf_gen__prog_load()
962 attr.line_info_rec_size = load_attr->line_info_rec_size; in bpf_gen__prog_load()
963 attr.line_info_cnt = load_attr->line_info_cnt; in bpf_gen__prog_load()
[all …]
Dbpf_gen_internal.h63 struct bpf_prog_load_opts *load_attr, int prog_idx);
Dlibbpf.c6723 LIBBPF_OPTS(bpf_prog_load_opts, load_attr); in bpf_object_load_prog()
6745 load_attr.expected_attach_type = prog->expected_attach_type; in bpf_object_load_prog()
6748 load_attr.attach_prog_fd = prog->attach_prog_fd; in bpf_object_load_prog()
6749 load_attr.attach_btf_obj_fd = prog->attach_btf_obj_fd; in bpf_object_load_prog()
6750 load_attr.attach_btf_id = prog->attach_btf_id; in bpf_object_load_prog()
6751 load_attr.kern_version = kern_version; in bpf_object_load_prog()
6752 load_attr.prog_ifindex = prog->prog_ifindex; in bpf_object_load_prog()
6757 load_attr.prog_btf_fd = btf_fd; in bpf_object_load_prog()
6758 load_attr.func_info = prog->func_info; in bpf_object_load_prog()
6759 load_attr.func_info_rec_size = prog->func_info_rec_size; in bpf_object_load_prog()
[all …]