Lines Matching defs:user
150 session = cred->user->session_keyring;
305 key_get(cred->user->session_keyring);
309 dest_keyring = key_get(cred->user->uid_keyring);
333 struct key_user *user,
346 mutex_lock(&user->cons_lock);
385 mutex_unlock(&user->cons_lock);
404 mutex_unlock(&user->cons_lock);
410 mutex_unlock(&user->cons_lock);
416 mutex_unlock(&user->cons_lock);
421 mutex_unlock(&user->cons_lock);
436 struct key_user *user;
442 user = key_user_lookup(current_fsuid());
443 if (!user)
448 ret = construct_alloc_key(ctx, dest_keyring, flags, user, &key);
449 key_user_put(user);
608 * to a keyring if found, new keys are always allocated in the user's quota,
647 * to a keyring if found and new keys are always allocated in the user's quota.
682 * to a keyring if found, new keys are always allocated in the user's quota and
708 * to a keyring if found and new keys are always allocated in the user's quota.