Lines Matching refs:snapc
855 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()
1165 CEPH_OSD_OP_WRITE, flags, snapc, in ceph_sync_write()
1479 struct ceph_snap_context *snapc; in ceph_write_iter() local
1489 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
1492 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
1499 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
1502 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
1505 ceph_put_snap_context(snapc); in ceph_write_iter()