Lines Matching refs:snapc
867 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
877 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
880 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
884 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 1, in ceph_aio_retry_work()
921 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
927 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
952 snapc, snapc ? snapc->seq : 0); in ceph_direct_read_write()
981 flags, snapc, in ceph_direct_read_write()
1130 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1152 file, pos, (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
1174 CEPH_OSD_OP_WRITE, flags, snapc, in ceph_sync_write()
1504 struct ceph_snap_context *snapc; in ceph_write_iter() local
1513 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
1516 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
1523 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
1527 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
1532 ceph_put_snap_context(snapc); in ceph_write_iter()