Home
last modified time | relevance | path

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

/openbmc/linux/fs/crypto/
H A Dkeyring.c76 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()
240 WARN_ON_ONCE(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()
1063 inodes_remain = refcount_read(&mk->mk_active_refs) > 0; in do_remove_key()
1154 arg.status = refcount_read(&mk->mk_active_refs) > 0 ? in fscrypt_ioctl_get_key_status()
H A Dfscrypt_private.h464 refcount_t mk_active_refs; member
H A Dkeysetup.c600 refcount_inc(&mk->mk_active_refs); in fscrypt_setup_encryption_info()