Lines Matching refs:i_auth_cap
691 WARN_ON(cap != ci->i_auth_cap);
733 if (!ci->i_auth_cap ||
734 ceph_seq_cmp(ci->i_auth_cap->mseq, mseq) < 0) {
735 if (ci->i_auth_cap &&
736 ci->i_auth_cap->session != cap->session)
738 ci->i_auth_cap = cap;
742 WARN_ON(ci->i_auth_cap == cap);
813 if (ci->i_auth_cap) {
814 cap = ci->i_auth_cap;
1081 if (cap == ci->i_auth_cap)
1128 if (ci->i_auth_cap == cap)
1129 ci->i_auth_cap = NULL;
1195 WARN_ON_ONCE(ci->i_auth_cap == cap &&
1408 if (cap == ci->i_auth_cap) {
1642 struct ceph_cap *cap = ci->i_auth_cap;
1703 if (!ci->i_auth_cap) {
1708 mds = ci->i_auth_cap->session->s_mds;
1761 if (!ci->i_auth_cap) {
1773 struct ceph_mds_session *session = ci->i_auth_cap->session;
1784 &ci->netfs.inode, ci->i_head_snapc, ci->i_auth_cap);
2089 ((flags & CHECK_CAPS_AUTHONLY) && cap != ci->i_auth_cap))
2097 if (ci->i_auth_cap && cap != ci->i_auth_cap)
2098 cap_used &= ~ci->i_auth_cap->issued;
2107 if (cap == ci->i_auth_cap &&
2123 if (cap == ci->i_auth_cap) {
2176 if (cap == ci->i_auth_cap &&
2187 if (cap == ci->i_auth_cap && ci->i_dirty_caps) {
2243 if (ci->i_dirty_caps && ci->i_auth_cap) {
2244 struct ceph_cap *cap = ci->i_auth_cap;
2385 if (ci->i_auth_cap) {
2386 s = ci->i_auth_cap->session;
2538 cap = ci->i_auth_cap;
2604 cap = ci->i_auth_cap;
2654 cap = ci->i_auth_cap;
2673 struct ceph_cap *cap = ci->i_auth_cap;
2786 ret = ci->i_auth_cap ? -EFBIG : -EUCLEAN;
2846 if (ci->i_auth_cap &&
2848 struct ceph_mds_session *s = ci->i_auth_cap->session;
2855 inode, ceph_cap_string(need), ci->i_auth_cap->mds);
2913 if (ci->i_auth_cap &&
2914 (ci->i_auth_cap->issued & CEPH_CAP_FILE_WR) &&
3309 WARN_ON_ONCE(ci->i_auth_cap);
3475 WARN_ON(cap != ci->i_auth_cap);
3577 if (ci->i_auth_cap == cap && (newcaps & CEPH_CAP_ANY_FILE_WR)) {
3629 else if (cap == ci->i_auth_cap)
3645 if (cap == ci->i_auth_cap &&
3660 if (cap == ci->i_auth_cap)
3675 if (ci->i_auth_cap == cap) {
4033 if (cap == ci->i_auth_cap) {
4034 ci->i_auth_cap = tcap;
4042 int flag = (cap == ci->i_auth_cap) ? CEPH_CAP_FLAG_AUTH : 0;
4048 ci->i_auth_cap == tcap) {
4739 if (cap == ci->i_auth_cap &&
4868 is_auth = (cap == ci->i_auth_cap);