Lines Matching refs:parents
2142 fru_get_tagged_parents(const char *element, fru_strlist_t *parents)
2155 parents->num = 0;
2156 parents->strs = NULL;
2160 parents->strs = (char **)malloc(number * sizeof (char *));
2161 if (parents->strs == NULL) {
2164 memset(parents->strs, 0x00, (number * sizeof (char *)));
2169 fru_destroy_strlist(parents);
2172 parents->strs[i] = strdup(cur->getDef()->name);
2173 if (parents->strs[i] == NULL) {
2174 fru_destroy_strlist(parents);
2177 parents->num++;