Lines Matching refs:i_auth_cap
691 WARN_ON(cap != ci->i_auth_cap);
750 if (!ci->i_auth_cap ||
751 ceph_seq_cmp(ci->i_auth_cap->mseq, mseq) < 0) {
752 if (ci->i_auth_cap &&
753 ci->i_auth_cap->session != cap->session)
755 ci->i_auth_cap = cap;
759 WARN_ON(ci->i_auth_cap == cap);
831 if (ci->i_auth_cap) {
832 cap = ci->i_auth_cap;
1099 if (cap == ci->i_auth_cap)
1158 if (ci->i_auth_cap == cap) {
1160 ci->i_auth_cap = NULL;
1395 if (cap == ci->i_auth_cap) {
1592 struct ceph_cap *cap = ci->i_auth_cap;
1652 if (!ci->i_auth_cap) {
1657 mds = ci->i_auth_cap->session->s_mds;
1717 if (!ci->i_auth_cap) {
1729 struct ceph_mds_session *session = ci->i_auth_cap->session;
1740 &ci->vfs_inode, ci->i_head_snapc, ci->i_auth_cap);
2039 ((flags & CHECK_CAPS_AUTHONLY) && cap != ci->i_auth_cap))
2049 if (ci->i_auth_cap && cap != ci->i_auth_cap)
2050 cap_used &= ~ci->i_auth_cap->issued;
2059 if (cap == ci->i_auth_cap &&
2075 if (cap == ci->i_auth_cap) {
2140 if (cap == ci->i_auth_cap &&
2164 if (cap == ci->i_auth_cap && ci->i_dirty_caps) {
2223 if (ci->i_dirty_caps && ci->i_auth_cap) {
2224 struct ceph_cap *cap = ci->i_auth_cap;
2375 if (ci->i_auth_cap) {
2376 s = ci->i_auth_cap->session;
2520 cap = ci->i_auth_cap;
2586 cap = ci->i_auth_cap;
2636 cap = ci->i_auth_cap;
2655 struct ceph_cap *cap = ci->i_auth_cap;
2768 ret = ci->i_auth_cap ? -EFBIG : -ESTALE;
2828 if (ci->i_auth_cap &&
2830 struct ceph_mds_session *s = ci->i_auth_cap->session;
2837 inode, ceph_cap_string(need), ci->i_auth_cap->mds);
2895 if (ci->i_auth_cap &&
2896 (ci->i_auth_cap->issued & CEPH_CAP_FILE_WR) &&
3256 WARN_ON_ONCE(ci->i_auth_cap);
3412 WARN_ON(cap != ci->i_auth_cap);
3501 if (ci->i_auth_cap == cap && (newcaps & CEPH_CAP_ANY_FILE_WR)) {
3553 else if (cap == ci->i_auth_cap)
3566 if (cap == ci->i_auth_cap &&
3581 if (cap == ci->i_auth_cap)
3596 if (ci->i_auth_cap == cap) {
3947 if (cap == ci->i_auth_cap) {
3948 ci->i_auth_cap = tcap;
3956 int flag = (cap == ci->i_auth_cap) ? CEPH_CAP_FLAG_AUTH : 0;
3962 ci->i_auth_cap == tcap) {
4569 if (cap == ci->i_auth_cap &&