Lines Matching refs:ocap
818 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) in __ceph_caps_issued_other() argument
826 if (cap == ocap) in __ceph_caps_issued_other()
920 struct ceph_cap *ocap, int mask) in __ceph_caps_revoking_other() argument
927 if (cap != ocap && in __ceph_caps_revoking_other()
3700 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import() local
3746 ocap = peer >= 0 ? __get_cap_for_mds(ci, peer) : NULL; in handle_cap_import()
3747 if (ocap && ocap->cap_id == p_cap_id) { in handle_cap_import()
3749 ocap, peer, ph->flags); in handle_cap_import()
3751 (ocap->seq != le32_to_cpu(ph->seq) || in handle_cap_import()
3752 ocap->mseq != le32_to_cpu(ph->mseq))) { in handle_cap_import()
3757 ceph_vinop(inode), peer, ocap->seq, in handle_cap_import()
3758 ocap->mseq, mds, le32_to_cpu(ph->seq), in handle_cap_import()
3761 __ceph_remove_cap(ocap, (ph->flags & CEPH_CAP_FLAG_RELEASE)); in handle_cap_import()