Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ceph/
Dsnap.c935 struct ceph_snap_realm *oldrealm; in ceph_handle_snap() local
963 oldrealm = ci->i_snap_realm; in ceph_handle_snap()
964 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()
966 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_handle_snap()
979 ceph_put_snap_realm(mdsc, oldrealm); in ceph_handle_snap()
Dcaps.c709 struct ceph_snap_realm *oldrealm = ci->i_snap_realm; in ceph_add_cap() local
710 if (oldrealm) { in ceph_add_cap()
711 spin_lock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()
713 spin_unlock(&oldrealm->inodes_with_caps_lock); in ceph_add_cap()
724 if (oldrealm) in ceph_add_cap()
725 ceph_put_snap_realm(mdsc, oldrealm); in ceph_add_cap()