Lines Matching defs:ocap
839 * Get cap bits issued by caps other than @ocap
841 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap)
849 if (cap == ocap)
958 struct ceph_cap *ocap, int mask)
965 if (cap != ocap &&
4020 struct ceph_cap *cap, *ocap, *new_cap = NULL;
4065 ocap = peer >= 0 ? __get_cap_for_mds(ci, peer) : NULL;
4066 if (ocap && ocap->cap_id == p_cap_id) {
4068 ocap, peer, ph->flags);
4070 (ocap->seq != le32_to_cpu(ph->seq) ||
4071 ocap->mseq != le32_to_cpu(ph->mseq))) {
4076 ceph_vinop(inode), peer, ocap->seq,
4077 ocap->mseq, mds, le32_to_cpu(ph->seq),
4080 __ceph_remove_cap(ocap, (ph->flags & CEPH_CAP_FLAG_RELEASE));