Searched refs:mk_sem (Results 1 – 4 of 4) sorted by relevance
425 init_rwsem(&mk->mk_sem); in add_new_master_key()512 down_write(&mk->mk_sem); in do_add_master_key()514 up_write(&mk->mk_sem); in do_add_master_key()833 down_read(&mk->mk_sem); in fscrypt_verify_key_added()841 up_read(&mk->mk_sem); in fscrypt_verify_key_added()1030 down_write(&mk->mk_sem); in do_remove_key()1039 up_write(&mk->mk_sem); in do_remove_key()1051 up_write(&mk->mk_sem); in do_remove_key()1064 up_write(&mk->mk_sem); in do_remove_key()1151 down_read(&mk->mk_sem); in fscrypt_ioctl_get_key_status()[all …]
189 down_read(&mk->mk_sem); in fscrypt_prepare_setflags()194 up_read(&mk->mk_sem); in fscrypt_prepare_setflags()
485 down_read(&mk->mk_sem); in setup_file_encryption_key()517 up_read(&mk->mk_sem); in setup_file_encryption_key()611 up_read(&mk->mk_sem); in fscrypt_setup_encryption_info()
448 struct rw_semaphore mk_sem; member