Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dkeyring.c440 init_rwsem(&mk->mk_sem); in add_new_master_key()
535 down_write(&mk->mk_sem); in do_add_master_key()
537 up_write(&mk->mk_sem); in do_add_master_key()
856 down_read(&mk->mk_sem); in fscrypt_verify_key_added()
864 up_read(&mk->mk_sem); in fscrypt_verify_key_added()
1052 down_write(&mk->mk_sem); in do_remove_key()
1061 up_write(&mk->mk_sem); in do_remove_key()
1073 up_write(&mk->mk_sem); in do_remove_key()
1085 up_write(&mk->mk_sem); in do_remove_key()
1171 down_read(&mk->mk_sem); in fscrypt_ioctl_get_key_status()
[all …]
H A Dhooks.c204 down_read(&mk->mk_sem); in fscrypt_prepare_setflags()
209 up_read(&mk->mk_sem); in fscrypt_prepare_setflags()
H A Dkeysetup.c487 down_read(&mk->mk_sem); in setup_file_encryption_key()
519 up_read(&mk->mk_sem); in setup_file_encryption_key()
618 up_read(&mk->mk_sem); in fscrypt_setup_encryption_info()
H A Dfscrypt_private.h512 struct rw_semaphore mk_sem; member