Lines Matching refs:mds_wanted
645 cap->mds_wanted = 0; in ceph_add_cap()
730 cap->mds_wanted = wanted; in ceph_add_cap()
743 cap->mds_wanted = wanted; in ceph_add_cap()
745 cap->mds_wanted |= wanted; in ceph_add_cap()
987 int mds_wanted = 0; in __ceph_caps_mds_wanted() local
994 mds_wanted |= cap->mds_wanted; in __ceph_caps_mds_wanted()
996 mds_wanted |= (cap->mds_wanted & ~CEPH_CAP_ANY_FILE_WR); in __ceph_caps_mds_wanted()
998 return mds_wanted; in __ceph_caps_mds_wanted()
1315 ceph_cap_string(cap->mds_wanted), in __send_cap()
1317 want |= cap->mds_wanted; in __send_cap()
1322 if (want & ~cap->mds_wanted) { in __send_cap()
1341 cap->mds_wanted = want; in __send_cap()
1991 if (want & ~cap->mds_wanted) { in ceph_check_caps()
1992 if (want & ~(cap->mds_wanted | cap->issued)) in ceph_check_caps()
2000 cap->mds_wanted == want) in ceph_check_caps()
2012 ceph_cap_string(cap->mds_wanted), in ceph_check_caps()
2653 int mds_wanted; in try_get_cap_refs() local
2661 mds_wanted = __ceph_caps_mds_wanted(ci, false); in try_get_cap_refs()
2662 if (need & ~(mds_wanted & need)) { in try_get_cap_refs()
2669 if (!(file_wanted & ~mds_wanted)) in try_get_cap_refs()
3290 cap->mds_wanted = 0; in handle_cap_grant()
4178 wanted |= cap->mds_wanted; in ceph_encode_inode_release()
4183 ceph_cap_string(cap->mds_wanted), in ceph_encode_inode_release()
4188 cap->mds_wanted = wanted; in ceph_encode_inode_release()
4201 rel->wanted = cpu_to_le32(cap->mds_wanted); in ceph_encode_inode_release()