Lines Matching refs:CEPH_CAP_FILE_WR
304 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
308 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
1014 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_aio_complete()
1022 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()
1349 ceph_get_cap_refs(ci, write ? CEPH_CAP_FILE_WR : in ceph_direct_read_write()
1751 err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count, &got); in ceph_write_iter()
1816 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_write_iter()
2088 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate()
2099 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_fallocate()
2127 ret = ceph_get_caps(dst_filp, CEPH_CAP_FILE_WR, CEPH_CAP_FILE_BUFFER, in get_rd_wr_caps()
2435 dirty = __ceph_mark_dirty_caps(dst_ci, CEPH_CAP_FILE_WR, &prealloc_cf); in __ceph_copy_file_range()