Lines Matching refs:lock
540 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
543 mutex_unlock(&rev->ns->lock); in ns_revision_read()
550 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_read()
558 mutex_unlock(&rev->ns->lock); in ns_revision_read()
584 mutex_lock_nested(&rev->ns->lock, rev->ns->level); in ns_revision_poll()
588 mutex_unlock(&rev->ns->lock); in ns_revision_poll()
1337 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()
1353 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_create_rawdata()
1450 AA_BUG(!mutex_is_locked(&profiles_ns(old)->lock)); in __aafs_profile_migrate_dents()
1587 AA_BUG(!mutex_is_locked(&profiles_ns(profile)->lock)); in __aafs_profile_mkdir()
1710 mutex_lock_nested(&parent->lock, parent->level); in ns_mkdir_op()
1732 mutex_unlock(&parent->lock); in ns_mkdir_op()
1759 mutex_lock_nested(&parent->lock, parent->level); in ns_rmdir_op()
1772 mutex_unlock(&parent->lock); in ns_rmdir_op()
1790 AA_BUG(!mutex_is_locked(&ns->lock)); in __aa_fs_list_remove_rawdata()
1808 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_rmdir()
1814 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_rmdir()
1816 mutex_unlock(&sub->lock); in __aafs_ns_rmdir()
1918 AA_BUG(!mutex_is_locked(&ns->lock)); in __aafs_ns_mkdir()
1944 mutex_lock_nested(&sub->lock, sub->level); in __aafs_ns_mkdir()
1946 mutex_unlock(&sub->lock); in __aafs_ns_mkdir()
1983 AA_BUG(ns != root && !mutex_is_locked(&ns->parent->lock)); in __next_ns()
1988 mutex_lock_nested(&next->lock, next->level); in __next_ns()
1995 mutex_unlock(&ns->lock); in __next_ns()
1998 mutex_lock_nested(&next->lock, next->level); in __next_ns()
2020 AA_BUG(ns && !mutex_is_locked(&ns->lock)); in __first_profile()
2044 AA_BUG(!mutex_is_locked(&profiles_ns(p)->lock)); in __next_profile()
2053 mutex_is_locked(&p->ns->lock)); in __next_profile()
2060 mutex_is_locked(&parent->ns->lock)); in __next_profile()
2106 mutex_lock_nested(&root->lock, root->level); in p_start()
2149 mutex_unlock(&ns->lock); in p_stop()
2151 mutex_unlock(&root->lock); in p_stop()
2548 mutex_lock_nested(&root_ns->lock, root_ns->level); in aa_create_aafs()
2551 mutex_unlock(&root_ns->lock); in aa_create_aafs()