Home
last modified time | relevance | path

Searched refs:num_snaps (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/fs/ceph/
Dsnap.c338 u32 num = realm->num_prior_parent_snaps + realm->num_snaps; in build_snap_context()
351 num += parent->cached_context->num_snaps; in build_snap_context()
365 (unsigned int)realm->cached_context->num_snaps); in build_snap_context()
385 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context()
394 sizeof(u64)*realm->num_snaps); in build_snap_context()
395 num += realm->num_snaps; in build_snap_context()
401 snapc->num_snaps = num; in build_snap_context()
403 realm, snapc, snapc->seq, (unsigned int) snapc->num_snaps); in build_snap_context()
501 if (n->num_snaps == 0) in has_new_snaps()
782 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace()
[all …]
Daddr.c118 snapc, snapc->seq, snapc->num_snaps); in ceph_dirty_folio()
839 snapc, snapc->seq, snapc->num_snaps); in ceph_writepages_start()
Dsuper.h883 u32 num_snaps; member
Dinode.c2502 stat->size = realm->num_snaps; in ceph_getattr()
/linux-6.1.9/net/ceph/
Dsnapshot.c40 snapc->num_snaps = snap_count; in ceph_create_snap_context()
Dosd_client.c603 msg_size += 4 + 8 * (req->r_snapc ? req->r_snapc->num_snaps : 0); in __ceph_osdc_alloc_messages()
2130 ceph_encode_32(&p, req->r_snapc->num_snaps); in encode_request_partial()
2131 for (i = 0; i < req->r_snapc->num_snaps; i++) in encode_request_partial()
/linux-6.1.9/include/linux/ceph/
Dlibceph.h176 u32 num_snaps; member
Dceph_fs.h874 __le32 num_snaps; member
/linux-6.1.9/drivers/block/
Drbd.c1103 rbd_assert(which < rbd_dev->header.snapc->num_snaps); in _rbd_dev_v1_snap_name()
1143 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index()
1341 !obj_req->img_request->snapc->num_snaps)) in rbd_obj_copyup_enabled()
3131 for (i = 0; i < snapc->num_snaps; i++) { in rbd_obj_copyup_object_maps()
3133 i + 1 < snapc->num_snaps) in rbd_obj_copyup_object_maps()
3165 if (obj_req->img_request->snapc->num_snaps && bytes > 0) { in rbd_obj_copyup_write_object()
5904 while (which < snapc->num_snaps) { in rbd_v1_snap_id_by_name()
5920 for (which = 0; !found && which < snapc->num_snaps; which++) { in rbd_v2_snap_id_by_name()