Home
last modified time | relevance | path

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

/Linux-v6.6/fs/crypto/
Dkeyring.c375 struct key *mk_user; in add_master_key_user() local
379 mk_user = key_alloc(&key_type_fscrypt_user, description, in add_master_key_user()
382 if (IS_ERR(mk_user)) in add_master_key_user()
383 return PTR_ERR(mk_user); in add_master_key_user()
385 err = key_instantiate_and_link(mk_user, NULL, 0, mk->mk_users, NULL); in add_master_key_user()
386 key_put(mk_user); in add_master_key_user()
398 struct key *mk_user; in remove_master_key_user() local
401 mk_user = find_master_key_user(mk); in remove_master_key_user()
402 if (IS_ERR(mk_user)) in remove_master_key_user()
403 return PTR_ERR(mk_user); in remove_master_key_user()
[all …]