Lines Matching refs:snapc
1415 struct ceph_snap_context *snapc; in ceph_aio_retry_work() local
1425 snapc = ceph_get_snap_context(capsnap->context); in ceph_aio_retry_work()
1428 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_aio_retry_work()
1432 req = ceph_osdc_alloc_request(orig_req->r_osdc, snapc, 1, in ceph_aio_retry_work()
1469 ceph_put_snap_context(snapc); in ceph_aio_retry_work()
1475 struct ceph_snap_context *snapc, in ceph_direct_read_write() argument
1503 snapc, snapc ? snapc->seq : 0); in ceph_direct_read_write()
1539 flags, snapc, in ceph_direct_read_write()
1705 struct ceph_snap_context *snapc) in ceph_sync_write() argument
1727 (unsigned)count, snapc, snapc->seq); in ceph_sync_write()
2002 snapc, ci->i_truncate_seq, in ceph_sync_write()
2426 struct ceph_snap_context *snapc; in ceph_write_iter() local
2435 snapc = ceph_get_snap_context(capsnap->context); in ceph_write_iter()
2438 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_write_iter()
2445 written = ceph_direct_read_write(iocb, &data, snapc, in ceph_write_iter()
2448 written = ceph_sync_write(iocb, &data, pos, snapc); in ceph_write_iter()
2455 ceph_put_snap_context(snapc); in ceph_write_iter()
2571 struct ceph_snap_context *snapc; in ceph_zero_partial_object() local
2592 snapc = ceph_get_snap_context(capsnap->context); in ceph_zero_partial_object()
2595 snapc = ceph_get_snap_context(ci->i_head_snapc); in ceph_zero_partial_object()
2604 snapc, 0, 0, false); in ceph_zero_partial_object()
2618 ceph_put_snap_context(snapc); in ceph_zero_partial_object()