Searched refs:map_infos (Results 1 – 1 of 1) sorted by relevance
428 struct bpf_map_info map_infos[nr_iters + 1]; in test_bpf_obj_id() local474 bzero(&map_infos[i], info_len); in test_bpf_obj_id()475 err = bpf_obj_get_info_by_fd(map_fds[i], &map_infos[i], in test_bpf_obj_id()478 map_infos[i].type != BPF_MAP_TYPE_ARRAY || in test_bpf_obj_id()479 map_infos[i].key_size != sizeof(__u32) || in test_bpf_obj_id()480 map_infos[i].value_size != sizeof(__u64) || in test_bpf_obj_id()481 map_infos[i].max_entries != 1 || in test_bpf_obj_id()482 map_infos[i].map_flags != 0 || in test_bpf_obj_id()484 strcmp((char *)map_infos[i].name, expected_map_name), in test_bpf_obj_id()488 map_infos[i].type, BPF_MAP_TYPE_ARRAY, in test_bpf_obj_id()[all …]