Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dgen_loader.c937 struct bpf_prog_load_opts *load_attr, int prog_idx) in bpf_gen__prog_load() argument
952 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 …]
Dbpf_gen_internal.h65 struct bpf_prog_load_opts *load_attr, int prog_idx);
Dlibbpf.c6885 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 …]