Lines Matching refs:caps
71 const char *ceph_cap_string(int caps) in ceph_cap_string() argument
85 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
88 c = (caps >> CEPH_CAP_SAUTH) & 3; in ceph_cap_string()
94 c = (caps >> CEPH_CAP_SLINK) & 3; in ceph_cap_string()
100 c = (caps >> CEPH_CAP_SXATTR) & 3; in ceph_cap_string()
106 c = caps >> CEPH_CAP_SFILE; in ceph_cap_string()
990 int caps, int wanted, int dirty, in send_cap_msg() argument
1008 cid, ino, ceph_cap_string(caps), ceph_cap_string(wanted), in send_cap_msg()
1033 fc->caps = cpu_to_le32(caps); in send_cap_msg()
1508 cf->caps = flushing; in __mark_caps_flushing()
2160 cap, cf->tid, ceph_cap_string(cf->caps)); in __kick_flushing_caps()
2165 cf->caps, cf->tid, oldest_flush_tid); in __kick_flushing_caps()
2541 void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps) in ceph_get_cap_refs() argument
2544 __take_cap_refs(ci, caps, false); in ceph_get_cap_refs()
2763 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3023 cleaned = cf->caps; in handle_cap_flush_ack()
3028 cleaned &= ~cf->caps; in handle_cap_flush_ack()
3317 unsigned caps = le32_to_cpu(im->caps); in handle_cap_import() local
3357 ceph_add_cap(inode, session, cap_id, -1, caps, wanted, seq, mseq, in handle_cap_import()
3717 rel->caps = cpu_to_le32(cap->implemented); in ceph_encode_inode_release()