Lines Matching refs:want

850 	int want = 0;  in __ceph_caps_file_wanted()  local
854 want |= ceph_caps_for_mode(mode); in __ceph_caps_file_wanted()
855 return want; in __ceph_caps_file_wanted()
1129 int op, int used, int want, int retain, int flushing, in __send_cap() argument
1173 ceph_cap_string(want)); in __send_cap()
1174 want |= cap->mds_wanted; in __send_cap()
1191 cap->mds_wanted = want; in __send_cap()
1240 op, keep, want, flushing, seq, flush_tid, issue_seq, mseq, in __send_cap()
1529 int issued, implemented, want, retain, revoking, flushing = 0; in ceph_check_caps() local
1556 want = file_wanted | used; in ceph_check_caps()
1560 retain = want | CEPH_CAP_PIN; in ceph_check_caps()
1562 if (want) { in ceph_check_caps()
1573 want = CEPH_CAP_ANY_SHARED | CEPH_CAP_FILE_EXCL; in ceph_check_caps()
1574 retain |= want; in ceph_check_caps()
1684 if (want & ~(cap->mds_wanted | cap->issued)) in ceph_check_caps()
1689 cap->mds_wanted == want) in ceph_check_caps()
1702 ceph_cap_string(want)); in ceph_check_caps()
1755 want, retain, flushing, NULL); in ceph_check_caps()
1800 int want = __ceph_caps_wanted(ci); in try_flush_caps() local
1817 delayed = __send_cap(mdsc, cap, CEPH_CAP_OP_FLUSH, used, want, in try_flush_caps()
2102 static int try_get_cap_refs(struct ceph_inode_info *ci, int need, int want, in try_get_cap_refs() argument
2111 ceph_cap_string(need), ceph_cap_string(want)); in try_get_cap_refs()
2161 int not = want & ~(have & need); in try_get_cap_refs()
2167 *got = need | (have & want); in try_get_cap_refs()
2231 int ceph_get_caps(struct ceph_inode_info *ci, int need, int want, in ceph_get_caps() argument
2242 try_get_cap_refs(ci, need, want, endoff, in ceph_get_caps()