Lines Matching refs:got
815 int want, got = 0; in ceph_read_iter() local
826 ret = ceph_get_caps(ci, CEPH_CAP_FILE_RD, want, -1, &got, &pinned_page); in ceph_read_iter()
830 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
836 ceph_cap_string(got)); in ceph_read_iter()
847 ceph_cap_string(got)); in ceph_read_iter()
852 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter()
857 ceph_put_cap_refs(ci, got); in ceph_read_iter()
945 int err, want, got; in ceph_write_iter() local
988 got = 0; in ceph_write_iter()
990 &got, NULL); in ceph_write_iter()
995 inode, ceph_vinop(inode), pos, count, ceph_cap_string(got)); in ceph_write_iter()
997 if ((got & (CEPH_CAP_FILE_BUFFER|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_write_iter()
1046 ceph_cap_string(got)); in ceph_write_iter()
1047 ceph_put_cap_refs(ci, got); in ceph_write_iter()
1258 int want, got = 0; in ceph_fallocate() local
1298 ret = ceph_get_caps(ci, CEPH_CAP_FILE_WR, want, endoff, &got, NULL); in ceph_fallocate()
1322 ceph_put_cap_refs(ci, got); in ceph_fallocate()