Home
last modified time | relevance | path

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

/openbmc/linux/fs/crypto/
H A Dkeyring.c425 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 …]
H A Dhooks.c189 down_read(&mk->mk_sem); in fscrypt_prepare_setflags()
194 up_read(&mk->mk_sem); in fscrypt_prepare_setflags()
H A Dkeysetup.c485 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()
H A Dfscrypt_private.h448 struct rw_semaphore mk_sem; member