Lines Matching refs:got
2266 static void __take_cap_refs(struct ceph_inode_info *ci, int got, in __take_cap_refs() argument
2269 if (got & CEPH_CAP_PIN) in __take_cap_refs()
2271 if (got & CEPH_CAP_FILE_RD) in __take_cap_refs()
2273 if (got & CEPH_CAP_FILE_CACHE) in __take_cap_refs()
2275 if (got & CEPH_CAP_FILE_WR) { in __take_cap_refs()
2283 if (got & CEPH_CAP_FILE_BUFFER) { in __take_cap_refs()
2300 loff_t endoff, bool nonblock, int *got, int *err) in try_get_cap_refs() argument
2392 *got = need | (have & want); in try_get_cap_refs()
2393 __take_cap_refs(ci, *got, true); in try_get_cap_refs()
2429 ret, ceph_cap_string(*got)); in try_get_cap_refs()
2467 loff_t endoff, int *got, struct page **pinned_page) in ceph_get_caps() argument
2533 *got = _got; in ceph_get_caps()