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()230 if (!atomic_dec_and_lock(&realm->nref, &mdsc->snap_empty_lock)) in ceph_put_snap_realm()234 spin_unlock(&mdsc->snap_empty_lock); in ceph_put_snap_realm()239 spin_unlock(&mdsc->snap_empty_lock); in ceph_put_snap_realm()256 spin_lock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()261 spin_unlock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()263 spin_lock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()265 spin_unlock(&mdsc->snap_empty_lock); in __cleanup_empty_realms()
421 spinlock_t snap_empty_lock; /* protect snap_empty */ member
4783 spin_lock_init(&mdsc->snap_empty_lock); in ceph_mdsc_init()