Lines Matching refs:lock
248 spin_lock_init(&isec->lock); in inode_alloc_security()
376 mutex_init(&sbsec->lock); in superblock_alloc_security()
661 mutex_lock(&sbsec->lock); in selinux_set_mnt_opts()
876 mutex_unlock(&sbsec->lock); in selinux_set_mnt_opts()
953 mutex_lock(&newsbsec->lock); in selinux_sb_clone_mnt_opts()
993 mutex_unlock(&newsbsec->lock); in selinux_sb_clone_mnt_opts()
1447 spin_lock(&isec->lock); in inode_doinit_with_dentry()
1470 spin_unlock(&isec->lock); in inode_doinit_with_dentry()
1584 spin_lock(&isec->lock); in inode_doinit_with_dentry()
1596 spin_unlock(&isec->lock); in inode_doinit_with_dentry()
3244 spin_lock(&isec->lock); in selinux_inode_post_setxattr()
3248 spin_unlock(&isec->lock); in selinux_inode_post_setxattr()
3394 spin_lock(&isec->lock); in selinux_inode_setsecurity()
3398 spin_unlock(&isec->lock); in selinux_inode_setsecurity()
4159 spin_lock(&isec->lock); in selinux_task_to_inode()
4163 spin_unlock(&isec->lock); in selinux_task_to_inode()
4816 spin_lock(&isec->lock); in selinux_socket_accept()
4819 spin_unlock(&isec->lock); in selinux_socket_accept()
6485 spin_lock(&isec->lock); in selinux_inode_invalidate_secctx()
6487 spin_unlock(&isec->lock); in selinux_inode_invalidate_secctx()