Searched refs:num_snaps (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/fs/ceph/ |
| D | snap.c | 314 u32 num = realm->num_prior_parent_snaps + realm->num_snaps; in build_snap_context() 327 num += parent->cached_context->num_snaps; in build_snap_context() 342 (unsigned int)realm->cached_context->num_snaps); in build_snap_context() 362 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context() 371 sizeof(u64)*realm->num_snaps); in build_snap_context() 372 num += realm->num_snaps; in build_snap_context() 378 snapc->num_snaps = num; in build_snap_context() 381 (unsigned int) snapc->num_snaps); in build_snap_context() 443 if (n->num_snaps == 0) in has_new_snaps() 694 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace() [all …]
|
| D | super.h | 810 u32 num_snaps; member
|
| D | addr.c | 117 snapc, snapc->seq, snapc->num_snaps); in ceph_set_page_dirty() 827 snapc, snapc->seq, snapc->num_snaps); in ceph_writepages_start()
|
| /Linux-v5.4/net/ceph/ |
| D | snapshot.c | 40 snapc->num_snaps = snap_count; in ceph_create_snap_context()
|
| D | osd_client.c | 638 msg_size += 4 + 8 * (req->r_snapc ? req->r_snapc->num_snaps : 0); in __ceph_osdc_alloc_messages() 2091 ceph_encode_32(&p, req->r_snapc->num_snaps); in encode_request_partial() 2092 for (i = 0; i < req->r_snapc->num_snaps; i++) in encode_request_partial()
|
| /Linux-v5.4/include/linux/ceph/ |
| D | libceph.h | 166 u32 num_snaps; member
|
| D | ceph_fs.h | 813 __le32 num_snaps; member
|
| /Linux-v5.4/drivers/block/ |
| D | rbd.c | 1206 rbd_assert(which < rbd_dev->header.snapc->num_snaps); in _rbd_dev_v1_snap_name() 1246 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index() 1500 !obj_req->img_request->snapc->num_snaps)) in rbd_obj_copyup_enabled() 3283 for (i = 0; i < snapc->num_snaps; i++) { in rbd_obj_copyup_object_maps() 3285 i + 1 < snapc->num_snaps) in rbd_obj_copyup_object_maps() 3317 if (obj_req->img_request->snapc->num_snaps && bytes > 0) { in rbd_obj_copyup_write_object() 6132 while (which < snapc->num_snaps) { in rbd_v1_snap_id_by_name() 6148 for (which = 0; !found && which < snapc->num_snaps; which++) { in rbd_v2_snap_id_by_name()
|