Searched refs:mk_active_refs (Results 1 – 3 of 3) sorted by relevance
76 WARN_ON_ONCE(refcount_read(&mk->mk_active_refs) != 0); in fscrypt_put_master_key()87 if (!refcount_dec_and_test(&mk->mk_active_refs)) in fscrypt_put_master_key_activeref()252 WARN_ON_ONCE(refcount_read(&mk->mk_active_refs) != 1); in fscrypt_destroy_keyring()454 refcount_set(&mk->mk_active_refs, 1); /* ->mk_present is true */ in add_new_master_key()495 if (!refcount_inc_not_zero(&mk->mk_active_refs)) { in add_existing_master_key()1111 inodes_remain = refcount_read(&mk->mk_active_refs) > 0; in do_remove_key()1201 arg.status = refcount_read(&mk->mk_active_refs) > 0 ? in fscrypt_ioctl_get_key_status()
582 refcount_t mk_active_refs; member
654 refcount_inc(&mk->mk_active_refs); in fscrypt_setup_encryption_info()