Lines Matching refs:snapc
1115 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
1125 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
1128 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1132 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 1, in ceph_aio_retry_work()
1169 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
1175 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
1201 snapc, snapc ? snapc->seq : 0); in ceph_direct_read_write()
1230 flags, snapc, in ceph_direct_read_write()
1386 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1408 file, pos, (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
1430 CEPH_OSD_OP_WRITE, flags, snapc, in ceph_sync_write()
1767 struct ceph_snap_context *snapc; in ceph_write_iter() local
1776 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
1779 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
1786 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
1789 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
1796 ceph_put_snap_context(snapc); in ceph_write_iter()