Lines Matching refs:id
22 uint8_t id;
28 uint8_t id;
38 (q)->ctrlr->opts.hostnqn, (q)->id, ## __VA_ARGS__)
41 (q)->id, ## __VA_ARGS__)
61 nvme_auth_get_digest(int id)
66 if (g_digests[i].id == id) {
81 return g_digests[i].id;
89 spdk_nvme_dhchap_get_digest_name(int id)
91 const struct nvme_auth_digest *digest = nvme_auth_get_digest(id);
103 return g_dhgroups[i].id;
111 spdk_nvme_dhchap_get_dhgroup_name(int id)
116 if (g_dhgroups[i].id == id) {
125 spdk_nvme_dhchap_get_digest_length(int id)
127 const struct nvme_auth_digest *digest = nvme_auth_get_digest(id);
751 AUTH_ERRLOG(qpair, "received unexpected DH-HMAC-CHAP message id: %u (expected: %u)\n",
757 AUTH_ERRLOG(qpair, "received unexpected common message id: %u\n",
793 if (!nvme_auth_digest_allowed(qpair, g_digests[i].id)) {
796 AUTH_DEBUGLOG(qpair, "digest: %u (%s)\n", g_digests[i].id,
797 spdk_nvme_dhchap_get_digest_name(g_digests[i].id));
798 desc->hash_id_list[desc->halen++] = g_digests[i].id;
801 if (!nvme_auth_dhgroup_allowed(qpair, g_dhgroups[i].id)) {
804 AUTH_DEBUGLOG(qpair, "dhgroup: %u (%s)\n", g_dhgroups[i].id,
805 spdk_nvme_dhchap_get_dhgroup_name(g_dhgroups[i].id));
806 desc->dhg_id_list[desc->dhlen++] = g_dhgroups[i].id;