Lines Matching refs:got
471 int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE; in try_prep_async_create() local
509 got = want; in try_prep_async_create()
512 return got; in try_prep_async_create()
1609 int want = 0, got = 0; in ceph_read_iter() local
1629 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter()
1638 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
1644 ceph_cap_string(got)); in ceph_read_iter()
1659 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_read_iter()
1662 ceph_cap_string(got)); in ceph_read_iter()
1669 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter()
1670 ceph_put_cap_refs(ci, got); in ceph_read_iter()
1765 int err, want = 0, got; in ceph_write_iter() local
1838 got = 0; in ceph_write_iter()
1839 err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count, &got); in ceph_write_iter()
1850 inode, ceph_vinop(inode), pos, count, ceph_cap_string(got)); in ceph_write_iter()
1852 if ((got & (CEPH_CAP_FILE_BUFFER|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_write_iter()
1914 ceph_cap_string(got)); in ceph_write_iter()
1915 ceph_put_cap_refs(ci, got); in ceph_write_iter()
1932 ceph_put_cap_refs(ci, got); in ceph_write_iter()
2092 int want, got = 0; in ceph_fallocate() local
2131 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate()
2155 ceph_put_cap_refs(ci, got); in ceph_fallocate()