Lines Matching defs:gpt_nv
67 } gpt_nv[] = {
144 for (i = 0; i < __arraycount(gpt_nv); i++)
145 if (memcmp(&gpt_nv[i].u, u, sizeof(*u)) == 0)
146 return (int)strlcpy(buf, gpt_nv[i].n, bufsiz);
155 for (i = 0; i < __arraycount(gpt_nv); i++)
156 if (memcmp(&gpt_nv[i].u, u, sizeof(*u)) == 0)
157 return (int)strlcpy(buf, gpt_nv[i].d, bufsiz);
215 for (i = 0; i < __arraycount(gpt_nv); i++)
216 if (strcmp(gpt_nv[i].n, s) == 0) {
217 *u = gpt_nv[i].u;
248 for (i = 0; i < __arraycount(gpt_nv); i++) {
249 gpt_uuid_numeric(buf, sizeof(buf), &gpt_nv[i].u);
250 (*func)(buf, gpt_nv[i].n, gpt_nv[i].d);
253 return __arraycount(gpt_nv);
262 for (i = 0; i < __arraycount(gpt_nv); i++)
263 printf("%s%18.18s\t%s\n", prefix, gpt_nv[i].n, gpt_nv[i].d);
269 gpt_dce_to_uuid(&gpt_nv[t].u, u);
271 utf8_to_utf16((const uint8_t *)gpt_nv[t].d, b, s / sizeof(*b));