Searched refs:snap_sizes (Results 1 – 1 of 1) sorted by relevance
159 u64 *snap_sizes; /* format 1 only */ member1001 kfree(header->snap_sizes); in rbd_image_header_cleanup()1018 u64 *snap_sizes = NULL; in rbd_header_from_disk() local1053 snap_sizes = kmalloc_array(snap_count, in rbd_header_from_disk()1054 sizeof(*header->snap_sizes), in rbd_header_from_disk()1056 if (!snap_sizes) in rbd_header_from_disk()1072 snap_sizes[i] = le64_to_cpu(snaps[i].image_size); in rbd_header_from_disk()1088 header->snap_sizes = snap_sizes; in rbd_header_from_disk()1094 kfree(snap_sizes); in rbd_header_from_disk()1191 *snap_size = rbd_dev->header.snap_sizes[which]; in rbd_snap_size()[all …]