Lines Matching defs:dev_list
98 static struct name_list **dev_list;
103 /* mutex to protect bootdev_list and dev_list */
1115 * set the global vars bootdev_list and dev_list for use by nftw
1116 * dev_list is an array of lists - one for each boot-device
1119 * dev_list.
1121 dev_list = (struct name_list **)
1123 if (dev_list == NULL) {
1134 free_name_list(dev_list[i], 1);
1136 /* don't free dev_list here because it's been handed off */
1137 dev_list = NULL;
1143 * now we have a filled in dev_list. So for each logical device
1144 * list in dev_list, count the number of entries in the list,
1150 list = dev_list[i];
1163 list = dev_list[i];
1189 free_name_list(dev_list[i], 0);
1191 free(dev_list);
1192 dev_list = NULL;
1200 * name off in the appropriate list in dev_list
1247 if (dev_list[i] == NULL) {
1248 dev_list[i] = dev;
1249 dev_list[i]->next = NULL;
1251 dev->next = dev_list[i];
1252 dev_list[i] = dev;