Searched refs:snapc (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/net/ceph/ |
| H A D | snapshot.c | 30 struct ceph_snap_context *snapc; in ceph_create_snap_context() local 34 size += snap_count * sizeof (snapc->snaps[0]); in ceph_create_snap_context() 35 snapc = kzalloc(size, gfp_flags); in ceph_create_snap_context() 36 if (!snapc) in ceph_create_snap_context() 39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context() 40 snapc->num_snaps = snap_count; in ceph_create_snap_context() 42 return snapc; in ceph_create_snap_context()
|
| H A D | osd_client.c | 545 struct ceph_snap_context *snapc, in ceph_osdc_alloc_request() argument 569 req->r_snapc = ceph_get_snap_context(snapc); in ceph_osdc_alloc_request() 1061 struct ceph_snap_context *snapc, in ceph_osdc_new_request() argument 1077 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
|
| /linux-6.15/fs/ceph/ |
| H A D | addr.c | 122 snapc, snapc->seq, snapc->num_snaps); in ceph_dirty_folio() 643 if (snapc) in get_oldest_context() 665 return snapc; in get_oldest_context() 733 if (!snapc) { in write_folio_nounlock() 764 snapc->seq); in write_folio_nounlock() 1074 ceph_wbc->snapc, ceph_wbc->snapc->seq, in ceph_define_writeback_range() 1147 ceph_wbc->snapc, ceph_wbc->snapc->seq); in ceph_check_page_before_write() 1797 if (!snapc || snapc == ci->i_head_snapc) in ceph_find_incompatible() 1834 if (snapc) { in ceph_netfs_check_write_begin() 1840 if (IS_ERR(snapc)) in ceph_netfs_check_write_begin() [all …]
|
| H A D | snap.c | 342 struct ceph_snap_context *snapc; in build_snap_context() local 379 snapc = ceph_create_snap_context(num, GFP_NOFS); in build_snap_context() 380 if (!snapc) in build_snap_context() 385 snapc->seq = realm->seq; in build_snap_context() 394 snapc->snaps[num++] = in build_snap_context() 396 if (parent->cached_context->seq > snapc->seq) in build_snap_context() 397 snapc->seq = parent->cached_context->seq; in build_snap_context() 399 memcpy(snapc->snaps + num, realm->snaps, in build_snap_context() 407 snapc->num_snaps = num; in build_snap_context() 409 snapc, snapc->seq, (unsigned int) snapc->num_snaps); in build_snap_context() [all …]
|
| H A D | file.c | 1421 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local 1431 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work() 1475 ceph_put_snap_context(snapc); in ceph_aio_retry_work() 1481 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument 1509 snapc, snapc ? snapc->seq : 0); in ceph_direct_read_write() 1545 flags, snapc, in ceph_direct_read_write() 1711 struct ceph_snap_context *snapc) in ceph_sync_write() argument 1733 (unsigned)count, snapc, snapc->seq); in ceph_sync_write() 2009 snapc, ci->i_truncate_seq, in ceph_sync_write() 2431 struct ceph_snap_context *snapc; in ceph_write_iter() local [all …]
|
| H A D | super.h | 1252 struct ceph_snap_context *snapc);
|
| H A D | caps.c | 3343 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs() argument 3360 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs() 3376 if (iter->context == snapc) { in ceph_put_wrbuffer_cap_refs()
|
| /linux-6.15/drivers/block/ |
| H A D | rbd.c | 1037 if (!snapc) in rbd_header_from_disk() 1086 header->snapc = snapc; in rbd_header_from_disk() 1143 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_dev_snap_index() local 1146 found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, in rbd_dev_snap_index() 3135 struct ceph_snap_context *snapc = obj_req->img_request->snapc; in rbd_obj_copyup_object_maps() local 3501 img_req->snapc = ceph_get_snap_context(rbd_dev->header.snapc); in rbd_img_object_requests() 5913 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_v1_snap_id_by_name() local 5931 struct ceph_snap_context *snapc = rbd_dev->header.snapc; in rbd_v2_snap_id_by_name() local 6102 if (!snapc) { in rbd_dev_v2_snap_context() 6110 *psnapc = snapc; in rbd_dev_v2_snap_context() [all …]
|
| /linux-6.15/include/linux/ceph/ |
| H A D | osd_client.h | 543 struct ceph_snap_context *snapc, 555 struct ceph_snap_context *snapc,
|