Searched refs:mk_refcount (Results 1 – 3 of 3) sorted by relevance
339 refcount_set(&mk->mk_refcount, 1); /* secret is present */ in add_new_master_key()403 if (rekey && !refcount_inc_not_zero(&mk->mk_refcount)) in add_existing_master_key()410 if (rekey && refcount_dec_and_test(&mk->mk_refcount)) in add_existing_master_key()833 dead = refcount_dec_and_test(&mk->mk_refcount); in do_remove_key()
414 if (refcount_dec_and_test(&mk->mk_refcount)) in put_crypt_info()505 refcount_inc(&mk->mk_refcount); in fscrypt_get_encryption_info()
380 refcount_t mk_refcount; member