Home
last modified time | relevance | path

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

/openbmc/linux/fs/nilfs2/
H A Dthe_nilfs.c75 spin_lock_init(&nilfs->ns_cptree_lock); in alloc_nilfs()
830 spin_lock(&nilfs->ns_cptree_lock); in nilfs_lookup_root()
841 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_lookup_root()
845 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_lookup_root()
865 spin_lock(&nilfs->ns_cptree_lock); in nilfs_find_or_create_root()
880 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_find_or_create_root()
896 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_find_or_create_root()
911 if (refcount_dec_and_lock(&root->count, &nilfs->ns_cptree_lock)) { in nilfs_put_root()
913 spin_unlock(&nilfs->ns_cptree_lock); in nilfs_put_root()
H A Dthe_nilfs.h155 spinlock_t ns_cptree_lock; member