Lines Matching refs:hash_map
93 } hash_map[] = { variable
113 if (hmac_id >= ARRAY_SIZE(hash_map)) in nvme_auth_hmac_name()
115 return hash_map[hmac_id].hmac; in nvme_auth_hmac_name()
121 if (hmac_id >= ARRAY_SIZE(hash_map)) in nvme_auth_digest_name()
123 return hash_map[hmac_id].digest; in nvme_auth_digest_name()
134 for (i = 0; i < ARRAY_SIZE(hash_map); i++) { in nvme_auth_hmac_id()
135 if (!strlen(hash_map[i].hmac)) in nvme_auth_hmac_id()
137 if (!strncmp(hash_map[i].hmac, hmac_name, in nvme_auth_hmac_id()
138 strlen(hash_map[i].hmac))) in nvme_auth_hmac_id()
147 if (hmac_id >= ARRAY_SIZE(hash_map)) in nvme_auth_hmac_hash_len()
149 return hash_map[hmac_id].len; in nvme_auth_hmac_hash_len()