Lines Matching refs:snapc
851 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
861 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
864 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
868 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 2, in ceph_aio_retry_work()
905 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
911 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
936 snapc, snapc->seq); in ceph_direct_read_write()
969 flags, snapc, in ceph_direct_read_write()
1118 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1140 file, pos, (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
1161 CEPH_OSD_OP_WRITE, flags, snapc, in ceph_sync_write()
1468 struct ceph_snap_context *snapc; in ceph_write_iter() local
1478 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
1481 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
1488 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
1491 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
1494 ceph_put_snap_context(snapc); in ceph_write_iter()