Home
last modified time | relevance | path

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

/linux-6.12.1/fs/crypto/
Dkeyring.c390 struct key *mk_user; in add_master_key_user() local
394 mk_user = key_alloc(&key_type_fscrypt_user, description, in add_master_key_user()
397 if (IS_ERR(mk_user)) in add_master_key_user()
398 return PTR_ERR(mk_user); in add_master_key_user()
400 err = key_instantiate_and_link(mk_user, NULL, 0, mk->mk_users, NULL); in add_master_key_user()
401 key_put(mk_user); in add_master_key_user()
413 struct key *mk_user; in remove_master_key_user() local
416 mk_user = find_master_key_user(mk); in remove_master_key_user()
417 if (IS_ERR(mk_user)) in remove_master_key_user()
418 return PTR_ERR(mk_user); in remove_master_key_user()
[all …]