Home
last modified time | relevance | path

Searched refs:snaps (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/ceph/
Dsnap.c204 kfree(realm->snaps); in __destroy_snap_realm()
387 if (parent->cached_context->snaps[i] >= in build_snap_context()
389 snapc->snaps[num++] = in build_snap_context()
390 parent->cached_context->snaps[i]; in build_snap_context()
394 memcpy(snapc->snaps + num, realm->snaps, in build_snap_context()
397 memcpy(snapc->snaps + num, realm->prior_parent_snaps, in build_snap_context()
401 sort(snapc->snaps, num, sizeof(u64), cmpu64_rev, NULL); in build_snap_context()
505 return n->snaps[0] > o->seq; in has_new_snaps()
770 __le64 *snaps; /* encoded */ in ceph_update_snap_trace() local
792 snaps = p; in ceph_update_snap_trace()
[all …]
Dsuper.h925 u64 *snaps; /* snaps specific to this realm */ member
/linux-6.6.21/net/ceph/
Dsnapshot.c34 size += snap_count * sizeof (snapc->snaps[0]); in ceph_create_snap_context()
Dosd_client.c2213 ceph_encode_64(&p, req->r_snapc->snaps[i]); in encode_request_partial()
/linux-6.6.21/drivers/block/
Drbd_types.h96 struct rbd_image_snap_ondisk snaps[]; member
Drbd.c1041 struct rbd_image_snap_ondisk *snaps; in rbd_header_from_disk() local
1068 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()
1069 snaps = ondisk->snaps; in rbd_header_from_disk()
1071 snapc->snaps[i] = le64_to_cpu(snaps[i].id); in rbd_header_from_disk()
1072 snap_sizes[i] = le64_to_cpu(snaps[i].image_size); in rbd_header_from_disk()
1146 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index()
1149 return found ? (u32)(found - &snapc->snaps[0]) : BAD_SNAP_INDEX; in rbd_dev_snap_index()
3155 ret = rbd_object_map_update(obj_req, snapc->snaps[i], in rbd_obj_copyup_object_maps()
5929 return snapc->snaps[which]; in rbd_v1_snap_id_by_name()
5946 snap_id = snapc->snaps[which]; in rbd_v2_snap_id_by_name()
[all …]
/linux-6.6.21/include/linux/ceph/
Dlibceph.h167 u64 snaps[]; member