Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/common/
Dkeyring.c98 key_ref_t keyref; in nvme_tls_psk_lookup() local
113 keyref = keyring_search(make_key_ref(keyring, true), in nvme_tls_psk_lookup()
116 if (IS_ERR(keyref)) { in nvme_tls_psk_lookup()
118 identity, PTR_ERR(keyref)); in nvme_tls_psk_lookup()
124 return key_ref_to_ptr(keyref); in nvme_tls_psk_lookup()
/linux-6.12.1/fs/crypto/
Dkeyring.c362 key_ref_t keyref; in find_master_key_user() local
370 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
372 if (IS_ERR(keyref)) { in find_master_key_user()
373 if (PTR_ERR(keyref) == -EAGAIN || /* not found */ in find_master_key_user()
374 PTR_ERR(keyref) == -EKEYREVOKED) /* recently invalidated */ in find_master_key_user()
375 keyref = ERR_PTR(-ENOKEY); in find_master_key_user()
376 return ERR_CAST(keyref); in find_master_key_user()
378 return key_ref_to_ptr(keyref); in find_master_key_user()
/linux-6.12.1/drivers/nvdimm/
Dsecurity.c93 key_ref_t keyref; in nvdimm_lookup_user_key() local
98 keyref = lookup_user_key(id, 0, KEY_NEED_SEARCH); in nvdimm_lookup_user_key()
99 if (IS_ERR(keyref)) in nvdimm_lookup_user_key()
102 key = key_ref_to_ptr(keyref); in nvdimm_lookup_user_key()