Searched refs:mk_secret_sem (Results 1 – 4 of 4) sorted by relevance
341 init_rwsem(&mk->mk_secret_sem); in add_new_master_key()422 down_write(&mk->mk_secret_sem); in add_existing_master_key()424 up_write(&mk->mk_secret_sem); in add_existing_master_key()994 down_write(&mk->mk_secret_sem); in do_remove_key()997 up_write(&mk->mk_secret_sem); in do_remove_key()
157 down_read(&mk->mk_secret_sem); in fscrypt_prepare_setflags()162 up_read(&mk->mk_secret_sem); in fscrypt_prepare_setflags()
439 down_read(&mk->mk_secret_sem); in setup_file_encryption_key()486 up_read(&mk->mk_secret_sem); in setup_file_encryption_key()609 up_read(&mk->mk_secret_sem); in fscrypt_get_encryption_info()
483 struct rw_semaphore mk_secret_sem; member