Home
last modified time | relevance | path

Searched refs:snapc (Results 1 – 5 of 5) sorted by relevance

/fs/ceph/
Daddr.c76 struct ceph_snap_context *snapc; in ceph_set_page_dirty() local
100 snapc = ceph_get_snap_context(capsnap->context); in ceph_set_page_dirty()
104 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()
115 snapc, snapc->seq, snapc->num_snaps); in ceph_set_page_dirty()
123 page->private = (unsigned long)snapc; in ceph_set_page_dirty()
143 struct ceph_snap_context *snapc = page_snap_context(page); in ceph_invalidatepage() local
165 ceph_put_wrbuffer_cap_refs(ci, 1, snapc); in ceph_invalidatepage()
166 ceph_put_snap_context(snapc); in ceph_invalidatepage()
485 struct ceph_snap_context *snapc = NULL; in get_oldest_context() local
496 if (snapc && capsnap->context != page_snapc) in get_oldest_context()
[all …]
Dsnap.c307 struct ceph_snap_context *snapc; in build_snap_context() local
343 if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64)) in build_snap_context()
345 snapc = ceph_create_snap_context(num, GFP_NOFS); in build_snap_context()
346 if (!snapc) in build_snap_context()
351 snapc->seq = realm->seq; in build_snap_context()
360 snapc->snaps[num++] = in build_snap_context()
362 if (parent->cached_context->seq > snapc->seq) in build_snap_context()
363 snapc->seq = parent->cached_context->seq; in build_snap_context()
365 memcpy(snapc->snaps + num, realm->snaps, in build_snap_context()
368 memcpy(snapc->snaps + num, realm->prior_parent_snaps, in build_snap_context()
[all …]
Dfile.c767 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
777 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
780 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
784 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 2, in ceph_aio_retry_work()
822 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
828 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
853 snapc, snapc->seq); in ceph_direct_read_write()
887 flags, snapc, in ceph_direct_read_write()
1036 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1058 file, pos, (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
[all …]
Dsuper.h937 struct ceph_snap_context *snapc);
Dcaps.c2813 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs() argument
2830 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs()
2847 if (capsnap->context == snapc) { in ceph_put_wrbuffer_cap_refs()