Lines Matching refs:snapid_map_lock
1197 spin_lock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1212 spin_unlock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1236 spin_lock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1255 spin_unlock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1273 if (atomic_dec_and_lock(&sm->ref, &mdsc->snapid_map_lock)) { in ceph_put_snapid_map()
1277 spin_unlock(&mdsc->snapid_map_lock); in ceph_put_snapid_map()
1281 spin_unlock(&mdsc->snapid_map_lock); in ceph_put_snapid_map()
1294 spin_lock(&mdsc->snapid_map_lock); in ceph_trim_snapid_map()
1306 spin_unlock(&mdsc->snapid_map_lock); in ceph_trim_snapid_map()
1324 spin_lock(&mdsc->snapid_map_lock); in ceph_cleanup_snapid_map()
1331 spin_unlock(&mdsc->snapid_map_lock); in ceph_cleanup_snapid_map()