Lines Matching refs:want
852 int want = 0; in __ceph_caps_file_wanted() local
856 want |= ceph_caps_for_mode(mode); in __ceph_caps_file_wanted()
857 return want; in __ceph_caps_file_wanted()
1119 int op, int used, int want, int retain, int flushing, in __send_cap() argument
1161 ceph_cap_string(want)); in __send_cap()
1162 want |= cap->mds_wanted; in __send_cap()
1179 cap->mds_wanted = want; in __send_cap()
1209 op, keep, want, flushing, seq, in __send_cap()
1591 int issued, implemented, want, retain, revoking, flushing = 0; in ceph_check_caps() local
1621 want = file_wanted; in ceph_check_caps()
1635 want = CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
1636 retain |= want; in ceph_check_caps()
1746 if (want & ~cap->mds_wanted) { in ceph_check_caps()
1747 if (want & ~(cap->mds_wanted | cap->issued)) in ceph_check_caps()
1755 cap->mds_wanted == want) in ceph_check_caps()
1768 ceph_cap_string(want)); in ceph_check_caps()
1840 want, retain, flushing, in ceph_check_caps()
1888 int want = __ceph_caps_wanted(ci); in try_flush_caps() local
1908 delayed = __send_cap(mdsc, cap, CEPH_CAP_OP_FLUSH, used, want, in try_flush_caps()
2330 static int try_get_cap_refs(struct ceph_inode_info *ci, int need, int want, in try_get_cap_refs() argument
2341 ceph_cap_string(need), ceph_cap_string(want)); in try_get_cap_refs()
2396 int not = want & ~(have & need); in try_get_cap_refs()
2423 *got = need | (have & want); in try_get_cap_refs()
2497 int ceph_get_caps(struct ceph_inode_info *ci, int need, int want, in ceph_get_caps() argument
2512 ret = try_get_cap_refs(ci, need, want, endoff, in ceph_get_caps()
2521 try_get_cap_refs(ci, need, want, endoff, in ceph_get_caps()