Lines Matching refs:info_len
4201 uint32_t info_len; in test_big_btf_info() local
4235 info_len = sizeof(info_garbage); in test_big_btf_info()
4239 err = bpf_obj_get_info_by_fd(btf_fd, info, &info_len); in test_big_btf_info()
4252 err = bpf_obj_get_info_by_fd(btf_fd, info, &info_len); in test_big_btf_info()
4253 if (CHECK(err || info_len != sizeof(*info), in test_big_btf_info()
4255 err, errno, info_len, sizeof(*info))) { in test_big_btf_info()
4284 uint32_t info_len; in test_btf_id() local
4317 info_len = sizeof(info[0]); in test_btf_id()
4318 err = bpf_obj_get_info_by_fd(btf_fd[0], &info[0], &info_len); in test_btf_id()
4331 err = bpf_obj_get_info_by_fd(btf_fd[1], &info[1], &info_len); in test_btf_id()
4358 info_len = sizeof(map_info); in test_btf_id()
4359 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in test_btf_id()
4417 uint32_t info_len; in do_test_get_info() local
4459 info_len = sizeof(info); in do_test_get_info()
4464 err = bpf_obj_get_info_by_fd(btf_fd, &info, &info_len); in do_test_get_info()
4465 if (CHECK(err || !info.id || info_len != sizeof(info) || in do_test_get_info()
4469 err, errno, info.id, info_len, sizeof(info), in do_test_get_info()
4520 __u32 info_len, rec_size; in do_test_file() local
4579 info_len = sizeof(struct bpf_prog_info); in do_test_file()
4580 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in do_test_file()
4612 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in do_test_file()
6228 __u32 info_len, rec_size, i; in test_get_finfo() local
6234 info_len = sizeof(struct bpf_prog_info); in test_get_finfo()
6235 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_get_finfo()
6265 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_get_finfo()
6308 __u32 i, info_len, nr_jited_ksyms, nr_jited_func_lens; in test_get_linfo() local
6328 info_len = sizeof(struct bpf_prog_info); in test_get_linfo()
6329 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_get_linfo()
6403 err = bpf_obj_get_info_by_fd(prog_fd, &info, &info_len); in test_get_linfo()