Home
last modified time | relevance | path

Searched refs:snapid_map_lock (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/ceph/
Dsnap.c1037 spin_lock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1052 spin_unlock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1075 spin_lock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1094 spin_unlock(&mdsc->snapid_map_lock); in ceph_get_snapid_map()
1111 if (atomic_dec_and_lock(&sm->ref, &mdsc->snapid_map_lock)) { in ceph_put_snapid_map()
1115 spin_unlock(&mdsc->snapid_map_lock); in ceph_put_snapid_map()
1119 spin_unlock(&mdsc->snapid_map_lock); in ceph_put_snapid_map()
1131 spin_lock(&mdsc->snapid_map_lock); in ceph_trim_snapid_map()
1143 spin_unlock(&mdsc->snapid_map_lock); in ceph_trim_snapid_map()
1160 spin_lock(&mdsc->snapid_map_lock); in ceph_cleanup_snapid_map()
[all …]
Dmds_client.h470 spinlock_t snapid_map_lock; member
Dmds_client.c4597 spin_lock_init(&mdsc->snapid_map_lock); in ceph_mdsc_init()