Home
last modified time | relevance | path

Searched refs:mk_users (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/crypto/
H A Dkeyring.c72 * No structural references left, so free ->mk_users, and also free the in fscrypt_put_master_key()
77 key_put(mk->mk_users); in fscrypt_put_master_key()
78 mk->mk_users = NULL; in fscrypt_put_master_key()
144 * Type of key in ->mk_users. Each key of this type represents a particular
335 mk->mk_users = keyring; in allocate_master_key_users_keyring()
340 * Find the current user's "key" in the master key's ->mk_users.
354 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
366 * Give the current user a "key" in ->mk_users. This charges the user's quota
384 err = key_instantiate_and_link(mk_user, NULL, 0, mk->mk_users, NULL); in add_master_key_user()
390 * Remove the current user's "key" from ->mk_users
[all...]
H A Dfscrypt_private.h446 /* Semaphore that protects ->mk_secret and ->mk_users */
501 * subsystem semaphore ->mk_users->sem, as we need support for atomic
504 struct key *mk_users; member
/kernel/linux/linux-6.6/fs/crypto/
H A Dkeyring.c72 * No structural references left, so free ->mk_users, and also free the in fscrypt_put_master_key()
77 key_put(mk->mk_users); in fscrypt_put_master_key()
78 mk->mk_users = NULL; in fscrypt_put_master_key()
148 * Type of key in ->mk_users. Each key of this type represents a particular
336 mk->mk_users = keyring; in allocate_master_key_users_keyring()
341 * Find the current user's "key" in the master key's ->mk_users.
355 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
367 * Give the current user a "key" in ->mk_users. This charges the user's quota
385 err = key_instantiate_and_link(mk_user, NULL, 0, mk->mk_users, NULL); in add_master_key_user()
391 * Remove the current user's "key" from ->mk_users
[all...]
H A Dfscrypt_private.h447 /* Semaphore that protects ->mk_secret and ->mk_users */
502 * subsystem semaphore ->mk_users->sem, as we need support for atomic
505 struct key *mk_users; member

Completed in 5 milliseconds