Lines Matching refs:snapc
1323 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
1333 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
1336 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1340 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 1, in ceph_aio_retry_work()
1377 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
1383 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
1410 snapc, snapc ? snapc->seq : 0); in ceph_direct_read_write()
1444 flags, snapc, in ceph_direct_read_write()
1608 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1629 file, pos, (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
1905 snapc, ci->i_truncate_seq, in ceph_sync_write()
2322 struct ceph_snap_context *snapc; in ceph_write_iter() local
2331 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
2334 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
2341 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
2344 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
2351 ceph_put_snap_context(snapc); in ceph_write_iter()