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()
979 int caps, int wanted, int dirty, in send_cap_msg() argument
997 cid, ino, ceph_cap_string(caps), ceph_cap_string(wanted), in send_cap_msg()
1019 fc->caps = cpu_to_le32(caps); in send_cap_msg()
2286 void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps) in ceph_get_cap_refs() argument
2289 __take_cap_refs(ci, caps); in ceph_get_cap_refs()
2489 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3010 unsigned caps = le32_to_cpu(im->caps); in handle_cap_import() local
3050 ceph_add_cap(inode, session, cap_id, -1, caps, wanted, seq, mseq, in handle_cap_import()
3407 rel->caps = cpu_to_le32(cap->implemented); in ceph_encode_inode_release()