Lines Matching refs:lock
543 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
546 mutex_unlock(&rev->ns->lock); in ns_revision_read()
553 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
561 mutex_unlock(&rev->ns->lock); in ns_revision_read()
587 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
591 mutex_unlock(&rev->ns->lock); in ns_revision_poll()
1438 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()
1454 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_create_rawdata()
1560 AA_BUG(!mutex_is_locked(&profiles_ns(old)->lock)); in __aafs_profile_migrate_dents()
1697 AA_BUG(!mutex_is_locked(&profiles_ns(profile)->lock)); in __aafs_profile_mkdir()
1829 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1851 mutex_unlock(&parent->lock); in ns_mkdir_op()
1879 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1892 mutex_unlock(&parent->lock); in ns_rmdir_op()
1910 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_list_remove_rawdata()
1928 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_rmdir()
1934 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
1936 mutex_unlock(&sub->lock); in __aafs_ns_rmdir()
2038 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_mkdir()
2064 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
2066 mutex_unlock(&sub->lock); in __aafs_ns_mkdir()
2100 AA_BUG(ns != root && !mutex_is_locked(&ns->parent->lock)); in __next_ns()
2105 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2112 mutex_unlock(&ns->lock); in __next_ns()
2115 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2137 AA_BUG(ns && !mutex_is_locked(&ns->lock)); in __first_profile()
2161 AA_BUG(!mutex_is_locked(&profiles_ns(p)->lock)); in __next_profile()
2170 mutex_is_locked(&p->ns->lock)); in __next_profile()
2177 mutex_is_locked(&parent->ns->lock)); in __next_profile()
2223 mutex_lock_nested(&root->lock, root->level); in p_start()
2266 mutex_unlock(&ns->lock); in p_stop()
2268 mutex_unlock(&root->lock); in p_stop()
2701 mutex_lock_nested(&root_ns->lock, root_ns->level); in aa_create_aafs()
2704 mutex_unlock(&root_ns->lock); in aa_create_aafs()