Lines Matching refs:map_info
5404 struct bpf_map_info map_info; local
5406 __u32 map_info_len = sizeof(map_info);
5409 memset(&map_info, 0, map_info_len);
5410 err = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len);
5412 err = bpf_get_map_info_from_fdinfo(map_fd, &map_info);
5419 return (map_info.type == map->def.type &&
5420 map_info.key_size == map->def.key_size &&
5421 map_info.value_size == map->def.value_size &&
5422 map_info.max_entries == map->def.max_entries &&
5423 map_info.map_flags == map->def.map_flags &&
5424 map_info.map_extra == map->map_extra);