Lines Matching refs:devices
78 static char ** devices;
165 if (strcmp(name, devices[i]) == 0) {
881 STAILQ_FOREACH(fwdev, &fc->devices, link) {
900 STAILQ_FOREACH(fwdev, &fc->devices, link)
950 return (const char **)devices;
1000 devices = malloc(sizeof(char *) * (devices_count + 1));
1001 if (!devices) {
1006 devices[i] = strdup(fwname);
1007 snprintf(devices[i], FWNAMEMAX, fwname, i);
1009 devices[devices_count] = NULL;
1021 free(devices[i]);
1023 free(devices);
1024 devices = NULL;