Searched refs:snap_empty_lock (Results 1 – 3 of 3) sorted by relevance
80 spin_lock(&mdsc->snap_empty_lock); in ceph_get_snap_realm()83 spin_unlock(&mdsc->snap_empty_lock); in ceph_get_snap_realm()233 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()237 spin_unlock(&mdsc->snap_empty_lock); in ceph_put_snap_realm()242 spin_unlock(&mdsc->snap_empty_lock); in ceph_put_snap_realm()259 spin_lock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()264 spin_unlock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()266 spin_lock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()268 spin_unlock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()
479 spinlock_t snap_empty_lock; /* protect snap_empty */ member
5505 spin_lock_init(&mdsc->snap_empty_lock); in ceph_mdsc_init()