Searched refs:num_snaps (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/ceph/ |
D | snap.c | 328 u32 num = realm->num_prior_parent_snaps + realm->num_snaps; in build_snap_context() 341 num += parent->cached_context->num_snaps; in build_snap_context() 356 (unsigned int)realm->cached_context->num_snaps); in build_snap_context() 376 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context() 385 sizeof(u64)*realm->num_snaps); in build_snap_context() 386 num += realm->num_snaps; in build_snap_context() 392 snapc->num_snaps = num; in build_snap_context() 395 (unsigned int) snapc->num_snaps); in build_snap_context() 457 if (n->num_snaps == 0) in has_new_snaps() 716 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace() [all …]
|
D | addr.c | 115 snapc, snapc->seq, snapc->num_snaps); in ceph_set_page_dirty() 862 snapc, snapc->seq, snapc->num_snaps); in ceph_writepages_start()
|
D | super.h | 867 u32 num_snaps; member
|
/kernel/linux/linux-5.10/net/ceph/ |
D | snapshot.c | 40 snapc->num_snaps = snap_count; in ceph_create_snap_context()
|
D | osd_client.c | 603 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()
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | libceph.h | 169 u32 num_snaps; member
|
D | ceph_fs.h | 829 __le32 num_snaps; member
|
/kernel/linux/linux-5.10/drivers/block/ |
D | rbd.c | 1155 rbd_assert(which < rbd_dev->header.snapc->num_snaps); in _rbd_dev_v1_snap_name() 1195 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index() 1404 !obj_req->img_request->snapc->num_snaps)) in rbd_obj_copyup_enabled() 3195 for (i = 0; i < snapc->num_snaps; i++) { in rbd_obj_copyup_object_maps() 3197 i + 1 < snapc->num_snaps) in rbd_obj_copyup_object_maps() 3229 if (obj_req->img_request->snapc->num_snaps && bytes > 0) { in rbd_obj_copyup_write_object() 5981 while (which < snapc->num_snaps) { in rbd_v1_snap_id_by_name() 5997 for (which = 0; !found && which < snapc->num_snaps; which++) { in rbd_v2_snap_id_by_name()
|