Lines Matching refs:got

472 	int got = 0, want = CEPH_CAP_FILE_EXCL | CEPH_CAP_DIR_CREATE;  in try_prep_async_create()  local
510 got = want; in try_prep_async_create()
513 return got; in try_prep_async_create()
2017 int want = 0, got = 0; in ceph_read_iter() local
2037 ret = ceph_get_caps(filp, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_read_iter()
2046 if ((got & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_read_iter()
2052 ceph_cap_string(got)); in ceph_read_iter()
2069 CEPH_DEFINE_RW_CONTEXT(rw_ctx, got); in ceph_read_iter()
2072 ceph_cap_string(got)); in ceph_read_iter()
2079 inode, ceph_vinop(inode), ceph_cap_string(got), (int)ret); in ceph_read_iter()
2080 ceph_put_cap_refs(ci, got); in ceph_read_iter()
2168 int want = 0, got = 0; in ceph_splice_read() local
2187 ret = ceph_get_caps(in, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_splice_read()
2191 if ((got & (CEPH_CAP_FILE_CACHE | CEPH_CAP_FILE_LAZYIO)) == 0) { in ceph_splice_read()
2194 ceph_cap_string(got)); in ceph_splice_read()
2196 ceph_put_cap_refs(ci, got); in ceph_splice_read()
2202 inode, ceph_vinop(inode), *ppos, len, ceph_cap_string(got)); in ceph_splice_read()
2204 rw_ctx.caps = got; in ceph_splice_read()
2210 inode, ceph_vinop(inode), ceph_cap_string(got), ret); in ceph_splice_read()
2212 ceph_put_cap_refs(ci, got); in ceph_splice_read()
2238 int err, want = 0, got; in ceph_write_iter() local
2308 got = 0; in ceph_write_iter()
2309 err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count, &got); in ceph_write_iter()
2320 inode, ceph_vinop(inode), pos, count, ceph_cap_string(got)); in ceph_write_iter()
2322 if ((got & (CEPH_CAP_FILE_BUFFER|CEPH_CAP_FILE_LAZYIO)) == 0 || in ceph_write_iter()
2382 ceph_cap_string(got)); in ceph_write_iter()
2383 ceph_put_cap_refs(ci, got); in ceph_write_iter()
2400 ceph_put_cap_refs(ci, got); in ceph_write_iter()
2559 int want, got = 0; in ceph_fallocate() local
2601 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate()
2625 ceph_put_cap_refs(ci, got); in ceph_fallocate()