Lines Matching refs:snapc
1421 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
1431 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
1434 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1438 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 1, in ceph_aio_retry_work()
1475 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
1481 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
1509 snapc, snapc ? snapc->seq : 0); in ceph_direct_read_write()
1545 flags, snapc, in ceph_direct_read_write()
1711 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1733 (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
2008 snapc, ci->i_truncate_seq, in ceph_sync_write()
2430 struct ceph_snap_context *snapc; in ceph_write_iter() local
2439 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
2442 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
2449 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
2452 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
2459 ceph_put_snap_context(snapc); in ceph_write_iter()