Home | History | Annotate | Download | only in nvmectl

Lines Matching defs:kv

70 kv_lookup(const struct kv_name *kv, size_t kv_count, uint32_t key)
75 for (i = 0; i < kv_count; i++, kv++)
76 if (kv->key == key)
77 return kv->name;
450 static struct kv_name kv[] = {
478 name = kv_lookup(kv, __arraycount(kv), *walker);
546 const struct kv_name *kv, size_t kv_count)
564 printf(" %-30s: %jd\n", kv_lookup(kv, kv_count, ptype),
573 static const struct kv_name kv[] = {
586 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv));
593 static const struct kv_name kv[] = {
607 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv));
614 static const struct kv_name kv[] = {
626 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv));
751 static const struct kv_name kv[] = {
767 print_hgst_info_subpage_gen(buf, subtype, size, kv, __arraycount(kv));