Searched refs:snapid_map_lock (Results 1 – 3 of 3) sorted by relevance
1178 spin_lock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()1193 spin_unlock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()1217 spin_lock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()1236 spin_unlock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()1255 if (atomic_dec_and_lock(&sm->ref, &mdsc->snapid_map_lock)) { in ceph_put_snapid_map()1259 spin_unlock(&mdsc->snapid_map_lock); in ceph_put_snapid_map()1263 spin_unlock(&mdsc->snapid_map_lock); in ceph_put_snapid_map()1275 spin_lock(&mdsc->snapid_map_lock); in ceph_trim_snapid_map()1287 spin_unlock(&mdsc->snapid_map_lock); in ceph_trim_snapid_map()1304 spin_lock(&mdsc->snapid_map_lock); in ceph_cleanup_snapid_map()[all …]
502 spinlock_t snapid_map_lock; member
5229 spin_lock_init(&mdsc->snapid_map_lock); in ceph_mdsc_init()