Home
last modified time | relevance | path

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

/linux-6.1.9/fs/crypto/
Dkeyring.c428 init_rwsem(&mk->mk_sem); in add_new_master_key()
515 down_write(&mk->mk_sem); in do_add_master_key()
517 up_write(&mk->mk_sem); in do_add_master_key()
844 down_read(&mk->mk_sem); in fscrypt_verify_key_added()
852 up_read(&mk->mk_sem); in fscrypt_verify_key_added()
1041 down_write(&mk->mk_sem); in do_remove_key()
1050 up_write(&mk->mk_sem); in do_remove_key()
1062 up_write(&mk->mk_sem); in do_remove_key()
1075 up_write(&mk->mk_sem); in do_remove_key()
1162 down_read(&mk->mk_sem); in fscrypt_ioctl_get_key_status()
[all …]
Dhooks.c159 down_read(&mk->mk_sem); in fscrypt_prepare_setflags()
164 up_read(&mk->mk_sem); in fscrypt_prepare_setflags()
Dkeysetup.c451 down_read(&mk->mk_sem); in setup_file_encryption_key()
483 up_read(&mk->mk_sem); in setup_file_encryption_key()
577 up_read(&mk->mk_sem); in fscrypt_setup_encryption_info()
Dfscrypt_private.h454 struct rw_semaphore mk_sem; member