Searched refs:image_format (Results 1 – 1 of 1) sorted by relevance
338 u32 image_format; /* Either 1 or 2 */ member859 static bool rbd_image_format_valid(u32 image_format) in rbd_image_format_valid() argument861 return image_format == 1 || image_format == 2; in rbd_image_format_valid()1083 rbd_assert(rbd_image_format_valid(rbd_dev->image_format)); in rbd_snap_name()1084 if (rbd_dev->image_format == 1) in rbd_snap_name()1093 rbd_assert(rbd_image_format_valid(rbd_dev->image_format)); in rbd_snap_size()1096 } else if (rbd_dev->image_format == 1) { in rbd_snap_size()1120 rbd_assert(rbd_image_format_valid(rbd_dev->image_format)); in rbd_snap_features()1123 } else if (rbd_dev->image_format == 1) { in rbd_snap_features()1183 if (rbd_dev->image_format == 2) in rbd_segment_name()[all …]