prog_infos 17 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c struct bpf_prog_info prog_infos[nr_iters + 1]; prog_infos 90 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c bzero(&prog_infos[i], info_len); prog_infos 93 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].jited_prog_insns = ptr_to_u64(jited_insns); prog_infos 94 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].jited_prog_len = sizeof(jited_insns); prog_infos 95 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].xlated_prog_insns = ptr_to_u64(xlated_insns); prog_infos 96 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].xlated_prog_len = sizeof(xlated_insns); prog_infos 97 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].map_ids = ptr_to_u64(map_ids + i); prog_infos 98 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].nr_map_ids = 2; prog_infos 105 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c err = bpf_obj_get_info_by_fd(prog_fds[i], &prog_infos[i], prog_infos 108 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c + (prog_infos[i].load_time / nsec_per_sec); prog_infos 110 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].type != BPF_PROG_TYPE_SOCKET_FILTER || prog_infos 112 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c (env.jit_enabled && !prog_infos[i].jited_prog_len) || prog_infos 115 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c !prog_infos[i].xlated_prog_len || prog_infos 118 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].created_by_uid != my_uid || prog_infos 119 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].nr_map_ids != 1 || prog_infos 120 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c *(int *)(long)prog_infos[i].map_ids != map_infos[i].id || prog_infos 121 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c strcmp((char *)prog_infos[i].name, expected_prog_name), prog_infos 125 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].type, BPF_PROG_TYPE_SOCKET_FILTER, prog_infos 128 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].jited_prog_len, prog_infos 129 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].xlated_prog_len, prog_infos 133 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].created_by_uid, my_uid, prog_infos 134 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].nr_map_ids, 1, prog_infos 135 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c *(int *)(long)prog_infos[i].map_ids, map_infos[i].id, prog_infos 136 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].name, expected_prog_name)) prog_infos 160 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c if (prog_infos[i].id == next_id) prog_infos 181 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c saved_map_id = *(int *)((long)prog_infos[i].map_ids); prog_infos 182 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_info.map_ids = prog_infos[i].map_ids; prog_infos 185 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].jited_prog_insns = 0; prog_infos 186 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c prog_infos[i].xlated_prog_insns = 0; prog_infos 188 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c memcmp(&prog_info, &prog_infos[i], info_len) || prog_infos 193 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c memcmp(&prog_info, &prog_infos[i], info_len),