Lines Matching refs:snapc
767 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()
1079 CEPH_OSD_OP_WRITE, flags, snapc, in ceph_sync_write()
1373 struct ceph_snap_context *snapc; in ceph_write_iter() local
1383 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
1386 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
1393 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
1396 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
1399 ceph_put_snap_context(snapc); in ceph_write_iter()