Searched refs:keyref (Results 1 – 3 of 3) sorted by relevance
98 key_ref_t keyref; in nvme_tls_psk_lookup() local113 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()
362 key_ref_t keyref; in find_master_key_user() local370 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()
93 key_ref_t keyref; in nvdimm_lookup_user_key() local98 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()