Home
last modified time | relevance | path

Searched refs:ns_cptree_lock (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/nilfs2/
Dthe_nilfs.c75 spin_lock_init(&nilfs->ns_cptree_lock); in alloc_nilfs()
771 spin_lock(&nilfs->ns_cptree_lock); in nilfs_lookup_root()
782 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_lookup_root()
786 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_lookup_root()
806 spin_lock(&nilfs->ns_cptree_lock); in nilfs_find_or_create_root()
821 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_find_or_create_root()
837 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_find_or_create_root()
852 if (refcount_dec_and_lock(&root->count, &nilfs->ns_cptree_lock)) { in nilfs_put_root()
854 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_put_root()
Dthe_nilfs.h154 spinlock_t ns_cptree_lock; member