Lines Matching defs:ocap
821 * Get cap bits issued by caps other than @ocap
823 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap)
831 if (cap == ocap)
940 struct ceph_cap *ocap, int mask)
947 if (cap != ocap &&
4108 struct ceph_cap *cap, *ocap, *new_cap = NULL;
4153 ocap = peer >= 0 ? __get_cap_for_mds(ci, peer) : NULL;
4154 if (ocap && ocap->cap_id == p_cap_id) {
4156 ocap, peer, ph->flags);
4158 (ocap->seq != le32_to_cpu(ph->seq) ||
4159 ocap->mseq != le32_to_cpu(ph->mseq))) {
4164 ceph_vinop(inode), peer, ocap->seq,
4165 ocap->mseq, mds, le32_to_cpu(ph->seq),
4168 ceph_remove_cap(ocap, (ph->flags & CEPH_CAP_FLAG_RELEASE));