Searched refs:snap_sizes (Results 1 – 1 of 1) sorted by relevance
159 u64 *snap_sizes; /* format 1 only */ member1010 u64 *snap_sizes = NULL; in rbd_header_from_disk() local1045 snap_sizes = kmalloc_array(snap_count, in rbd_header_from_disk()1046 sizeof(*header->snap_sizes), in rbd_header_from_disk()1048 if (!snap_sizes) in rbd_header_from_disk()1064 snap_sizes[i] = le64_to_cpu(snaps[i].image_size); in rbd_header_from_disk()1077 kfree(header->snap_sizes); in rbd_header_from_disk()1085 header->snap_sizes = snap_sizes; in rbd_header_from_disk()1091 kfree(snap_sizes); in rbd_header_from_disk()1188 *snap_size = rbd_dev->header.snap_sizes[which]; in rbd_snap_size()[all …]