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()
3044 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant() local
3057 inode, cap, session->s_mds, seq, ceph_cap_string(newcaps)); in handle_cap_grant()
3074 newcaps |= cap->issued; in handle_cap_grant()
3083 ((cap->issued & ~newcaps) & CEPH_CAP_FILE_CACHE) && in handle_cap_grant()
3084 (newcaps & CEPH_CAP_FILE_LAZYIO) == 0 && in handle_cap_grant()
3100 __check_cap_issue(ci, cap, newcaps); in handle_cap_grant()
3102 if ((newcaps & CEPH_CAP_AUTH_SHARED) && in handle_cap_grant()
3112 if ((newcaps & CEPH_CAP_LINK_SHARED) && in handle_cap_grant()
3116 (newcaps & (CEPH_CAP_LINK_SHARED | CEPH_CAP_LINK_EXCL))) in handle_cap_grant()
3136 if (newcaps & CEPH_CAP_ANY_RD) { in handle_cap_grant()
3147 if ((newcaps & CEPH_CAP_FILE_SHARED) && extra_info->dirstat_valid) { in handle_cap_grant()
3152 if (newcaps & (CEPH_CAP_ANY_FILE_RD | CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()
3175 if (ci->i_auth_cap == cap && (newcaps & CEPH_CAP_ANY_FILE_WR)) { in handle_cap_grant()
3210 if (cap->issued & ~newcaps) { in handle_cap_grant()
3211 int revoking = cap->issued & ~newcaps; in handle_cap_grant()
3215 ceph_cap_string(newcaps), in handle_cap_grant()
3220 (newcaps & CEPH_CAP_FILE_LAZYIO) == 0 && in handle_cap_grant()
3227 cap->issued = newcaps; in handle_cap_grant()
3228 cap->implemented |= newcaps; in handle_cap_grant()
3229 } else if (cap->issued == newcaps) { in handle_cap_grant()
3231 ceph_cap_string(cap->issued), ceph_cap_string(newcaps)); in handle_cap_grant()
3234 ceph_cap_string(newcaps)); in handle_cap_grant()
3237 __ceph_caps_revoking_other(ci, cap, newcaps)) in handle_cap_grant()
3240 cap->issued = newcaps; in handle_cap_grant()
3241 cap->implemented |= newcaps; /* add bits only, to in handle_cap_grant()
3252 (newcaps & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO))) in handle_cap_grant()
3257 if (newcaps & ~extra_info->issued) in handle_cap_grant()