Lines Matching refs:mk_users
77 if (mk->mk_users) { in fscrypt_put_master_key()
79 keyring_clear(mk->mk_users); in fscrypt_put_master_key()
80 key_put(mk->mk_users); in fscrypt_put_master_key()
81 mk->mk_users = NULL; in fscrypt_put_master_key()
351 mk->mk_users = keyring; in allocate_master_key_users_keyring()
370 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
400 err = key_instantiate_and_link(mk_user, NULL, 0, mk->mk_users, NULL); in add_master_key_user()
419 err = key_unlink(mk->mk_users, mk_user); in remove_master_key_user()
483 if (mk->mk_users) { in add_existing_master_key()
1055 if (mk->mk_users && mk->mk_users->keys.nr_leaves_on_tree != 0) { in do_remove_key()
1057 err = keyring_clear(mk->mk_users); in do_remove_key()
1064 if (mk->mk_users->keys.nr_leaves_on_tree != 0) { in do_remove_key()
1182 if (mk->mk_users) { in fscrypt_ioctl_get_key_status()
1185 arg.user_count = mk->mk_users->keys.nr_leaves_on_tree; in fscrypt_ioctl_get_key_status()