Searched refs:snap_empty_lock (Results 1 – 3 of 3) sorted by relevance
79 spin_lock(&mdsc->snap_empty_lock); in ceph_get_snap_realm()82 spin_unlock(&mdsc->snap_empty_lock); in ceph_get_snap_realm()225 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()229 spin_unlock(&mdsc->snap_empty_lock); in ceph_put_snap_realm()234 spin_unlock(&mdsc->snap_empty_lock); in ceph_put_snap_realm()251 spin_lock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()256 spin_unlock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()258 spin_lock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()260 spin_unlock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()
419 spinlock_t snap_empty_lock; /* protect snap_empty */ member
4567 spin_lock_init(&mdsc->snap_empty_lock); in ceph_mdsc_init()