Lines Matching defs:ocap
844 * Get cap bits issued by caps other than @ocap
846 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap)
854 if (cap == ocap)
966 struct ceph_cap *ocap, int mask)
973 if (cap != ocap &&
4201 struct ceph_cap *cap, *ocap, *new_cap = NULL;
4246 ocap = peer >= 0 ? __get_cap_for_mds(ci, peer) : NULL;
4247 if (ocap && ocap->cap_id == p_cap_id) {
4249 ocap, peer, ph->flags);
4251 (ocap->seq != le32_to_cpu(ph->seq) ||
4252 ocap->mseq != le32_to_cpu(ph->mseq))) {
4257 ocap->seq, ocap->mseq, mds,
4261 ceph_remove_cap(mdsc, ocap, (ph->flags & CEPH_CAP_FLAG_RELEASE));