Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dauth.c258 struct key *keyring_key; in ubifs_init_authentication() local
279 keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL); in ubifs_init_authentication()
281 if (IS_ERR(keyring_key)) { in ubifs_init_authentication()
283 PTR_ERR(keyring_key)); in ubifs_init_authentication()
284 return PTR_ERR(keyring_key); in ubifs_init_authentication()
287 down_read(&keyring_key->sem); in ubifs_init_authentication()
289 if (keyring_key->type != &key_type_logon) { in ubifs_init_authentication()
295 ukp = user_key_payload_locked(keyring_key); in ubifs_init_authentication()
354 up_read(&keyring_key->sem); in ubifs_init_authentication()
355 key_put(keyring_key); in ubifs_init_authentication()