Home
last modified time | relevance | path

Searched refs:mk_active_refs (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/crypto/
Dkeyring.c76 WARN_ON(refcount_read(&mk->mk_active_refs) != 0); in fscrypt_put_master_key()
88 if (!refcount_dec_and_test(&mk->mk_active_refs)) in fscrypt_put_master_key_activeref()
239 WARN_ON(refcount_read(&mk->mk_active_refs) != 1); in fscrypt_destroy_keyring()
442 refcount_set(&mk->mk_active_refs, 1); /* ->mk_secret is present */ in add_new_master_key()
483 if (!refcount_inc_not_zero(&mk->mk_active_refs)) in add_existing_master_key()
1031 inodes_remain = refcount_read(&mk->mk_active_refs) > 0; in do_remove_key()
1122 arg.status = refcount_read(&mk->mk_active_refs) > 0 ? in fscrypt_ioctl_get_key_status()
Dfscrypt_private.h463 refcount_t mk_active_refs; member
Dkeysetup.c570 refcount_inc(&mk->mk_active_refs); in fscrypt_setup_encryption_info()