Lines Matching defs:disk_list
68 int disklist_index; /* index to disk_list of the mapped path */
73 #define DISKS_LIST_INCR 20 /* increment for resizing disk_list */
104 static char **disk_list = NULL; /* array of physical device pathnames */
105 static int disk_list_len = 0; /* length of disk_list */
106 static int disk_list_valid = 0; /* number of valid entries in disk_list */
147 newsize = newlen * sizeof (*disk_list);
149 newlist = (char **)realloc(disk_list, newsize);
154 disk_list = newlist;
159 disk_list[disk_list_valid] = devfspath;
201 if (disk_list) {
203 di_devfs_path_free(disk_list[i]);
205 free(disk_list);
315 if (strcmp(disk_list[i], path) == 0) {
356 * path exists. Return the index of in disk_list for the mapped
503 * disk_list. If none matched return -1.
520 DEVFS_PREFIX, disk_list[i]);
629 disk_list[matchedindex]);
660 disk_list[mapinfo[i].disklist_index]);
688 disk_list[matchedindex]);
713 disk_list[mapinfo[i].disklist_index]);
718 disk_list[mapinfo[i].disklist_index],