Searched refs:mk_refcount (Results 1 – 3 of 3) sorted by relevance
352 refcount_set(&mk->mk_refcount, 1); /* secret is present */ in add_new_master_key()416 if (rekey && !refcount_inc_not_zero(&mk->mk_refcount)) in add_existing_master_key()423 if (rekey && refcount_dec_and_test(&mk->mk_refcount)) in add_existing_master_key()980 dead = refcount_dec_and_test(&mk->mk_refcount); in do_remove_key()
466 if (refcount_dec_and_test(&mk->mk_refcount)) in put_crypt_info()525 refcount_inc(&mk->mk_refcount); in fscrypt_setup_encryption_info()
481 refcount_t mk_refcount; member