Home
last modified time | relevance | path

Searched refs:oldrealm (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/ceph/
Dsnap.c918 struct ceph_snap_realm *oldrealm; in ceph_handle_snap() local
946 oldrealm = ci->i_snap_realm; in ceph_handle_snap()
947 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()
949 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()
962 ceph_put_snap_realm(mdsc, oldrealm); in ceph_handle_snap()
Dcaps.c686 struct ceph_snap_realm *oldrealm = ci->i_snap_realm; in ceph_add_cap() local
687 if (oldrealm) { in ceph_add_cap()
688 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()
690 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()
701 if (oldrealm) in ceph_add_cap()
702 ceph_put_snap_realm(mdsc, oldrealm); in ceph_add_cap()