Lines Matching refs:want
848 int want = 0; in __ceph_caps_file_wanted() local
852 want |= ceph_caps_for_mode(mode); in __ceph_caps_file_wanted()
853 return want; in __ceph_caps_file_wanted()
1085 int op, int used, int want, int retain, int flushing, in __send_cap() argument
1128 ceph_cap_string(want)); in __send_cap()
1129 want |= cap->mds_wanted; in __send_cap()
1146 cap->mds_wanted = want; in __send_cap()
1193 op, keep, want, flushing, seq, flush_tid, issue_seq, mseq, in __send_cap()
1479 int issued, implemented, want, retain, revoking, flushing = 0; in ceph_check_caps() local
1506 want = file_wanted | used; in ceph_check_caps()
1510 retain = want | CEPH_CAP_PIN; in ceph_check_caps()
1512 if (want) { in ceph_check_caps()
1622 if (want & ~(cap->mds_wanted | cap->issued)) in ceph_check_caps()
1627 cap->mds_wanted == want) in ceph_check_caps()
1640 ceph_cap_string(want)); in ceph_check_caps()
1693 want, retain, flushing, NULL); in ceph_check_caps()
1739 int want = __ceph_caps_wanted(ci); in try_flush_caps() local
1755 delayed = __send_cap(mdsc, cap, CEPH_CAP_OP_FLUSH, used, want, in try_flush_caps()
2033 static int try_get_cap_refs(struct ceph_inode_info *ci, int need, int want, in try_get_cap_refs() argument
2042 ceph_cap_string(need), ceph_cap_string(want)); in try_get_cap_refs()
2090 int not = want & ~(have & need); in try_get_cap_refs()
2096 *got = need | (have & want); in try_get_cap_refs()
2141 int ceph_get_caps(struct ceph_inode_info *ci, int need, int want, int *got, in ceph_get_caps() argument
2152 try_get_cap_refs(ci, need, want, in ceph_get_caps()