Lines Matching refs:user
150 session = cred->user->session_keyring; in call_sbin_request_key()
305 key_get(cred->user->session_keyring); in construct_get_dest_keyring()
309 dest_keyring = key_get(cred->user->uid_keyring); in construct_get_dest_keyring()
333 struct key_user *user, in construct_alloc_key() argument
346 mutex_lock(&user->cons_lock); in construct_alloc_key()
385 mutex_unlock(&user->cons_lock); in construct_alloc_key()
404 mutex_unlock(&user->cons_lock); in construct_alloc_key()
410 mutex_unlock(&user->cons_lock); in construct_alloc_key()
416 mutex_unlock(&user->cons_lock); in construct_alloc_key()
422 mutex_unlock(&user->cons_lock); in construct_alloc_key()
437 struct key_user *user; in construct_key_and_link() local
446 user = key_user_lookup(current_fsuid()); in construct_key_and_link()
447 if (!user) in construct_key_and_link()
452 ret = construct_alloc_key(ctx, dest_keyring, flags, user, &key); in construct_key_and_link()
453 key_user_put(user); in construct_key_and_link()