Lines Matching refs:ocap
848 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) in __ceph_caps_issued_other() argument
856 if (cap == ocap) in __ceph_caps_issued_other()
968 struct ceph_cap *ocap, int mask) in __ceph_caps_revoking_other() argument
975 if (cap != ocap && in __ceph_caps_revoking_other()
4207 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local
4256 ocap = peer >= 0 ? __get_cap_for_mds(ci, peer) : NULL; in handle_cap_import()
4257 if (ocap && ocap->cap_id == p_cap_id) { in handle_cap_import()
4259 ocap, peer, ph->flags); in handle_cap_import()
4261 (ocap->seq != piseq || in handle_cap_import()
4262 ocap->mseq != pmseq)) { in handle_cap_import()
4267 ocap->seq, ocap->mseq, mds, piseq, pmseq); in handle_cap_import()
4269 ceph_remove_cap(mdsc, ocap, (ph->flags & CEPH_CAP_FLAG_RELEASE)); in handle_cap_import()