Lines Matching refs:key
2129 struct key *key; in cifs_set_cifscreds() local
2157 key = request_key(&key_type_logon, desc, ""); in cifs_set_cifscreds()
2158 if (IS_ERR(key)) { in cifs_set_cifscreds()
2161 rc = PTR_ERR(key); in cifs_set_cifscreds()
2168 key = request_key(&key_type_logon, desc, ""); in cifs_set_cifscreds()
2169 if (IS_ERR(key)) { in cifs_set_cifscreds()
2170 rc = PTR_ERR(key); in cifs_set_cifscreds()
2176 down_read(&key->sem); in cifs_set_cifscreds()
2177 upayload = user_key_payload_locked(key); in cifs_set_cifscreds()
2211 len = key->datalen - (len + 1); in cifs_set_cifscreds()
2254 up_read(&key->sem); in cifs_set_cifscreds()
2255 key_put(key); in cifs_set_cifscreds()