Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ceph/
Dsnap.c198 kfree(realm->snaps); in __destroy_snap_realm()
377 if (parent->cached_context->snaps[i] >= in build_snap_context()
379 snapc->snaps[num++] = in build_snap_context()
380 parent->cached_context->snaps[i]; in build_snap_context()
384 memcpy(snapc->snaps + num, realm->snaps, in build_snap_context()
387 memcpy(snapc->snaps + num, realm->prior_parent_snaps, in build_snap_context()
391 sort(snapc->snaps, num, sizeof(u64), cmpu64_rev, NULL); in build_snap_context()
460 return n->snaps[0] > o->seq; in has_new_snaps()
698 __le64 *snaps; /* encoded */ in ceph_update_snap_trace() local
715 snaps = p; in ceph_update_snap_trace()
[all …]
Dsuper.h867 u64 *snaps; /* snaps specific to this realm */ member
/kernel/linux/linux-5.10/net/ceph/
Dsnapshot.c34 size += snap_count * sizeof (snapc->snaps[0]); in ceph_create_snap_context()
Dosd_client.c2153 ceph_encode_64(&p, req->r_snapc->snaps[i]); in encode_request_partial()
/kernel/linux/linux-5.10/drivers/block/
Drbd_types.h96 struct rbd_image_snap_ondisk snaps[]; member
Drbd.c1085 struct rbd_image_snap_ondisk *snaps; in rbd_header_from_disk() local
1112 memcpy(snap_names, &ondisk->snaps[snap_count], snap_names_len); in rbd_header_from_disk()
1113 snaps = ondisk->snaps; in rbd_header_from_disk()
1115 snapc->snaps[i] = le64_to_cpu(snaps[i].id); in rbd_header_from_disk()
1116 snap_sizes[i] = le64_to_cpu(snaps[i].image_size); in rbd_header_from_disk()
1195 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index()
1198 return found ? (u32)(found - &snapc->snaps[0]) : BAD_SNAP_INDEX; in rbd_dev_snap_index()
3202 ret = rbd_object_map_update(obj_req, snapc->snaps[i], in rbd_obj_copyup_object_maps()
5983 return snapc->snaps[which]; in rbd_v1_snap_id_by_name()
6000 snap_id = snapc->snaps[which]; in rbd_v2_snap_id_by_name()
[all …]
/kernel/linux/linux-5.10/include/linux/ceph/
Dlibceph.h170 u64 snaps[]; member