Home
last modified time | relevance | path

Searched refs:mk_secret_sem (Results 1 – 4 of 4) sorted by relevance

/fs/crypto/
Dkeyring.c341 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()
Dhooks.c157 down_read(&mk->mk_secret_sem); in fscrypt_prepare_setflags()
162 up_read(&mk->mk_secret_sem); in fscrypt_prepare_setflags()
Dkeysetup.c439 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()
Dfscrypt_private.h483 struct rw_semaphore mk_secret_sem; member