Lines Matching refs:dev_entry
978 dev_ent_t *dev_entry; /* Ptr to current device name entry */
1027 dev_entry = malloc(sizeof(dev_ent_t) + file_len);
1028 if (dev_entry == NULL) {
1033 strcpy(dev_entry->name, dir_entry->d_name);
1043 (strcmp(dev_entry->name, dev_next->name) < 0)) {
1044 dev_entry->next = dev_next;
1045 *dev_ent_pptr = dev_entry;
1057 for (dev_entry = dev_list; dev_entry != NULL; dev_entry = dev_next) {
1074 file_len = strlen(dev_entry->name);
1075 strcpy(&device_path[dir_len], dev_entry->name);
1080 dev_next = dev_entry->next;
1081 free(dev_entry);
1167 dev_entry = dev_next;
1172 dev_entry->name);
1188 dev_next = dev_entry->next;
1189 free(dev_entry);