Lines Matching refs:mk_sem
428 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()
1189 up_read(&mk->mk_sem); in fscrypt_ioctl_get_key_status()