Searched refs:num_snaps (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/fs/ceph/ |
D | snap.c | 339 u32 num = realm->num_prior_parent_snaps + realm->num_snaps; in build_snap_context() 352 num += parent->cached_context->num_snaps; in build_snap_context() 366 (unsigned int)realm->cached_context->num_snaps); in build_snap_context() 386 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context() 395 sizeof(u64)*realm->num_snaps); in build_snap_context() 396 num += realm->num_snaps; in build_snap_context() 402 snapc->num_snaps = num; in build_snap_context() 404 realm, snapc, snapc->seq, (unsigned int) snapc->num_snaps); in build_snap_context() 502 if (n->num_snaps == 0) in has_new_snaps() 790 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace() [all …]
|
D | addr.c | 119 snapc, snapc->seq, snapc->num_snaps); in ceph_dirty_folio() 983 snapc, snapc->seq, snapc->num_snaps); in ceph_writepages_start()
|
D | super.h | 926 u32 num_snaps; member
|
D | inode.c | 3019 stat->size = realm->num_snaps; in ceph_getattr()
|
/linux-6.6.21/net/ceph/ |
D | snapshot.c | 40 snapc->num_snaps = snap_count; in ceph_create_snap_context()
|
D | osd_client.c | 630 msg_size += 4 + 8 * (req->r_snapc ? req->r_snapc->num_snaps : 0); in __ceph_osdc_alloc_messages() 2211 ceph_encode_32(&p, req->r_snapc->num_snaps); in encode_request_partial() 2212 for (i = 0; i < req->r_snapc->num_snaps; i++) in encode_request_partial()
|
/linux-6.6.21/include/linux/ceph/ |
D | libceph.h | 166 u32 num_snaps; member
|
D | ceph_fs.h | 896 __le32 num_snaps; member
|
/linux-6.6.21/drivers/block/ |
D | rbd.c | 1106 rbd_assert(which < rbd_dev->header.snapc->num_snaps); in _rbd_dev_v1_snap_name() 1146 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index() 1357 !obj_req->img_request->snapc->num_snaps) { in rbd_obj_set_copyup_enabled() 3148 for (i = 0; i < snapc->num_snaps; i++) { in rbd_obj_copyup_object_maps() 3150 i + 1 < snapc->num_snaps) in rbd_obj_copyup_object_maps() 3182 if (obj_req->img_request->snapc->num_snaps && bytes > 0) { in rbd_obj_copyup_write_object() 5927 while (which < snapc->num_snaps) { in rbd_v1_snap_id_by_name() 5943 for (which = 0; !found && which < snapc->num_snaps; which++) { in rbd_v2_snap_id_by_name()
|