Lines Matching refs:got
2761 void ceph_take_cap_refs(struct ceph_inode_info *ci, int got, in ceph_take_cap_refs() argument
2769 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs()
2771 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs()
2773 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs()
2775 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2777 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs()
2785 if (got & CEPH_CAP_FILE_BUFFER) { in ceph_take_cap_refs()
2814 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument
2908 *got = need | (want & ~exclude); in try_get_cap_refs()
2910 *got = need; in try_get_cap_refs()
2911 ceph_take_cap_refs(ci, *got, true); in try_get_cap_refs()
2965 ceph_vinop(inode), ret, ceph_cap_string(*got)); in try_get_cap_refs()
3009 bool nonblock, int *got) in ceph_try_get_caps() argument
3027 ret = try_get_cap_refs(inode, need, want, 0, flags, got); in ceph_try_get_caps()
3040 int want, loff_t endoff, int *got) in __ceph_get_caps() argument
3168 *got = _got; in __ceph_get_caps()
3173 int *got) in ceph_get_caps() argument
3178 return __ceph_get_caps(inode, fi, need, want, endoff, got); in ceph_get_caps()