Lines Matching refs:newcaps

204 	LIST_HEAD(newcaps);  in ceph_reserve_caps()
224 list_add(&cap->caps_item, &newcaps); in ceph_reserve_caps()
280 list_splice(&newcaps, &mdsc->caps_list); in ceph_reserve_caps()
3084 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant() local
3097 inode, cap, session->s_mds, seq, ceph_cap_string(newcaps)); in handle_cap_grant()
3114 newcaps |= cap->issued; in handle_cap_grant()
3123 ((cap->issued & ~newcaps) & CEPH_CAP_FILE_CACHE) && in handle_cap_grant()
3124 (newcaps & CEPH_CAP_FILE_LAZYIO) == 0 && in handle_cap_grant()
3140 __check_cap_issue(ci, cap, newcaps); in handle_cap_grant()
3142 if ((newcaps & CEPH_CAP_AUTH_SHARED) && in handle_cap_grant()
3152 if ((newcaps & CEPH_CAP_LINK_SHARED) && in handle_cap_grant()
3156 (newcaps & (CEPH_CAP_LINK_SHARED | CEPH_CAP_LINK_EXCL))) in handle_cap_grant()
3176 if (newcaps & CEPH_CAP_ANY_RD) { in handle_cap_grant()
3187 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
3192 if (newcaps & (CEPH_CAP_ANY_FILE_RD | CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()
3215 if (ci->i_auth_cap == cap && (newcaps & CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()
3250 if (cap->issued & ~newcaps) { in handle_cap_grant()
3251 int revoking = cap->issued & ~newcaps; in handle_cap_grant()
3255 ceph_cap_string(newcaps), in handle_cap_grant()
3260 (newcaps & CEPH_CAP_FILE_LAZYIO) == 0 && in handle_cap_grant()
3267 cap->issued = newcaps; in handle_cap_grant()
3268 cap->implemented |= newcaps; in handle_cap_grant()
3269 } else if (cap->issued == newcaps) { in handle_cap_grant()
3271 ceph_cap_string(cap->issued), ceph_cap_string(newcaps)); in handle_cap_grant()
3274 ceph_cap_string(newcaps)); in handle_cap_grant()
3277 __ceph_caps_revoking_other(ci, cap, newcaps)) in handle_cap_grant()
3280 cap->issued = newcaps; in handle_cap_grant()
3281 cap->implemented |= newcaps; /* add bits only, to in handle_cap_grant()
3301 (newcaps & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO))) in handle_cap_grant()
3306 if (newcaps & ~extra_info->issued) in handle_cap_grant()