Lines Matching refs:guid_tbl
46 static struct uuid_table guid_tbl [] =
93 for (i = 0; i < nitems(guid_tbl); i++) {
94 uuid_from_string(guid_tbl[i].uuid_str, &guid_tbl[i].guid,
99 guid_tbl[i].uuid_str, guid_tbl[i].name, (int)status);
108 *tbl = guid_tbl;
109 return (nitems(guid_tbl));
312 for (i = 0; i < nitems(guid_tbl); i++) {
313 if (uuid_equal(guid, &guid_tbl[i].guid, &status)) {
314 *name = strdup(guid_tbl[i].name);
349 for (i = 0; i < nitems(guid_tbl); i++) {
350 if (strcmp(name, guid_tbl[i].name) == 0) {
351 *guid = guid_tbl[i].guid;