Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Daddr.c77 struct ceph_snap_context *snapc; in ceph_set_page_dirty() local
97 snapc = ceph_get_snap_context(capsnap->context); in ceph_set_page_dirty()
101 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_set_page_dirty()
112 snapc, snapc->seq, snapc->num_snaps); in ceph_set_page_dirty()
120 page->private = (unsigned long)snapc; in ceph_set_page_dirty()
136 struct ceph_snap_context *snapc = page_snap_context(page); in ceph_invalidatepage() local
158 ceph_put_wrbuffer_cap_refs(ci, 1, snapc); in ceph_invalidatepage()
159 ceph_put_snap_context(snapc); in ceph_invalidatepage()
482 struct ceph_snap_context *snapc = NULL; in get_oldest_context() local
493 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.c855 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
865 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
868 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
872 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 2, in ceph_aio_retry_work()
909 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
915 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
940 snapc, snapc->seq); in ceph_direct_read_write()
973 flags, snapc, in ceph_direct_read_write()
1122 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1144 file, pos, (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
[all …]
Dsuper.h999 struct ceph_snap_context *snapc);
Dcaps.c2947 struct ceph_snap_context *snapc) in ceph_put_wrbuffer_cap_refs() argument
2964 if (ci->i_head_snapc == snapc) { in ceph_put_wrbuffer_cap_refs()
2981 if (capsnap->context == snapc) { in ceph_put_wrbuffer_cap_refs()
/linux-4.19.296/include/linux/ceph/
Dosd_client.h459 struct ceph_snap_context *snapc,
471 struct ceph_snap_context *snapc,