Lines Matching defs:dev_list
118 static struct name_list **dev_list;
123 /* mutex to protect bootdev_list and dev_list */
1544 * set the global vars bootdev_list and dev_list for use by nftw
1545 * dev_list is an array of lists - one for each boot-device
1548 * dev_list.
1550 dev_list = (struct name_list **)
1552 if (dev_list == NULL) {
1563 free_name_list(dev_list[i], 1);
1565 /* don't free dev_list here because it's been handed off */
1566 dev_list = NULL;
1572 * now we have a filled in dev_list. So for each logical device
1573 * list in dev_list, count the number of entries in the list,
1579 list = dev_list[i];
1592 list = dev_list[i];
1618 free_name_list(dev_list[i], 0);
1620 free(dev_list);
1621 dev_list = NULL;
1629 * name off in the appropriate list in dev_list
1676 if (dev_list[i] == NULL) {
1677 dev_list[i] = dev;
1678 dev_list[i]->next = NULL;
1680 dev->next = dev_list[i];
1681 dev_list[i] = dev;