Lines Matching refs:got
2679 void ceph_take_cap_refs(struct ceph_inode_info *ci, int got, in ceph_take_cap_refs() argument
2684 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs()
2686 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs()
2688 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs()
2690 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2692 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs()
2700 if (got & CEPH_CAP_FILE_BUFFER) { in ceph_take_cap_refs()
2729 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument
2815 *got = need | want; in try_get_cap_refs()
2817 *got = need; in try_get_cap_refs()
2820 !(*got & CEPH_CAP_FILE_CACHE)) in try_get_cap_refs()
2822 ceph_take_cap_refs(ci, *got, true); in try_get_cap_refs()
2873 ret, ceph_cap_string(*got)); in try_get_cap_refs()
2916 bool nonblock, int *got) in ceph_try_get_caps() argument
2934 ret = try_get_cap_refs(inode, need, want, 0, flags, got); in ceph_try_get_caps()
2947 loff_t endoff, int *got, struct page **pinned_page) in ceph_get_caps() argument
3076 *got = _got; in ceph_get_caps()