Lines Matching refs:got
2700 void ceph_take_cap_refs(struct ceph_inode_info *ci, int got, in ceph_take_cap_refs() argument
2705 if (got & CEPH_CAP_PIN) in ceph_take_cap_refs()
2707 if (got & CEPH_CAP_FILE_RD) in ceph_take_cap_refs()
2709 if (got & CEPH_CAP_FILE_CACHE) in ceph_take_cap_refs()
2711 if (got & CEPH_CAP_FILE_EXCL) in ceph_take_cap_refs()
2713 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs()
2721 if (got & CEPH_CAP_FILE_BUFFER) { in ceph_take_cap_refs()
2750 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument
2840 *got = need | (want & ~exclude); in try_get_cap_refs()
2842 *got = need; in try_get_cap_refs()
2843 ceph_take_cap_refs(ci, *got, true); in try_get_cap_refs()
2894 ret, ceph_cap_string(*got)); in try_get_cap_refs()
2937 bool nonblock, int *got) in ceph_try_get_caps() argument
2955 ret = try_get_cap_refs(inode, need, want, 0, flags, got); in ceph_try_get_caps()
2968 int want, loff_t endoff, int *got) in __ceph_get_caps() argument
3090 *got = _got; in __ceph_get_caps()
3095 int *got) in ceph_get_caps() argument
3100 return __ceph_get_caps(inode, fi, need, want, endoff, got); in ceph_get_caps()