Searched refs:snaps (Results 1 – 2 of 2) sorted by relevance
96 struct rbd_image_snap_ondisk snaps[]; member
1093 struct rbd_image_snap_ondisk *snaps; in rbd_header_from_disk() local1120 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()1121 snaps = ondisk->snaps; in rbd_header_from_disk()1123 snapc->snaps[i] = le64_to_cpu(snaps[i].id); in rbd_header_from_disk()1124 snap_sizes[i] = le64_to_cpu(snaps[i].image_size); in rbd_header_from_disk()1198 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index()1201 return found ? (u32)(found - &snapc->snaps[0]) : BAD_SNAP_INDEX; in rbd_dev_snap_index()3220 ret = rbd_object_map_update(obj_req, snapc->snaps[i], in rbd_obj_copyup_object_maps()6002 return snapc->snaps[which]; in rbd_v1_snap_id_by_name()6019 snap_id = snapc->snaps[which]; in rbd_v2_snap_id_by_name()[all …]