Searched refs:enum_table (Results 1 – 3 of 3) sorted by relevance
257 if (def->enum_table[i].value == lldata) { in display_data()259 char *tmp = strdup(def->enum_table[i].text); in display_data()321 "/%s[%d]/%s", *ptr, iter, def.enum_table[count].text); in print_node_data()325 "/%s/%s", *ptr, def.enum_table[count].text); in print_node_data()336 def.enum_table[count].text, &def1)) != FRU_SUCCESS) { in print_node_data()434 if (strcmp(def.enum_table[i].text, in convert_update()437 def.enum_table[i].value; in convert_update()
812 if (def->enum_table != NULL) { in fru_destroy_elemdef()814 fru_destroy_enum(&(def->enum_table[i])); in fru_destroy_elemdef()815 free(def->enum_table); in fru_destroy_elemdef()2060 definition->enum_table = NULL; in make_definition()2064 definition->enum_table = (fru_enum_t *)malloc( in make_definition()2066 if ((definition->enum_table) == NULL) { in make_definition()2069 memset(definition->enum_table, 0x00, in make_definition()2074 definition->enum_table[i].value = def->enumTable[i].value; in make_definition()2075 definition->enum_table[i].text = strdup(def->enumTable[i].text); in make_definition()2076 if ((definition->enum_table[i].text) == NULL) { in make_definition()
223 fru_enum_t *enum_table; /* enum strings or sub-elements depending on */ member