Searched refs:disk_list (Results 1 – 15 of 15) sorted by relevance
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 500 Hotplug_Devlist *disk_list, *disk_list_head, *disk_list_tail; in hotplug() local 867 if ((disk_list = (Hotplug_Devlist *) in hotplug() 881 &(disk_list->dlhead), in hotplug() 883 if (disk_list->dlhead != NULL) { in hotplug() 885 disk_list->dlhead); in hotplug() 890 disk_list->dev_type = dtype; in hotplug() 891 disk_list->dev_location = dev_location; in hotplug() 892 (void) strcpy(disk_list->dev_name, in hotplug() 894 disk_list->tid = tid; in hotplug() 895 (void) strcpy(disk_list->node_wwn_s, node_wwn_s); in hotplug() [all …]
|
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 102 static char **disk_list = NULL; /* array of physical device pathnames */ variable 145 newsize = newlen * sizeof (*disk_list); in new_disk_list_entry() 147 newlist = (char **)realloc(disk_list, newsize); in new_disk_list_entry() 152 disk_list = newlist; in new_disk_list_entry() 157 disk_list[disk_list_valid] = devfspath; in new_disk_list_entry() 199 if (disk_list) { in free_disks() 201 di_devfs_path_free(disk_list[i]); in free_disks() 203 free(disk_list); in free_disks() 313 if (strcmp(disk_list[i], path) == 0) { in search_disklist_match_path() 518 DEVFS_PREFIX, disk_list[i]); in match_first_block() [all …]
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | hot.c | 440 g_forcelip_all(struct hotplug_disk_list *disk_list) in g_forcelip_all() argument 453 while (disk_list) { in g_forcelip_all() 454 if (disk_list->dev_location == SENA) { in g_forcelip_all() 455 dl = disk_list->seslist; in g_forcelip_all() 457 dl = disk_list->dlhead; in g_forcelip_all() 462 if (disk_list->dev_location == SENA) { in g_forcelip_all() 517 disk_list = disk_list->next; in g_forcelip_all()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | diskmon_conf.c | 404 cdp->disk_list = dmp; in new_cfgdata() 421 if (cfgp->disk_list == NULL) { in cfgdata_add_diskmon() 422 cfgp->disk_list = dmp; in cfgdata_add_diskmon() 424 diskmon_t *disklist = cfgp->disk_list; in cfgdata_add_diskmon() 437 diskmon_free(cdp->disk_list); in cfgdata_free() 778 print_disks(cfgp->disk_list, fp, prefix); in print_cfgdata()
|
H A D | diskmon_conf.h | 188 diskmon_t *disk_list; member
|
H A D | disk_monitor.c | 368 if ((disk_count = count_disks(config_data->disk_list)) == 0) { in _fmd_init()
|
H A D | schg_mgr.c | 474 cfgdatap->disk_list); in init_state_change_manager()
|
H A D | hotplug_mgr.c | 618 if ((diskp = match_sysevent_to_disk(config_data->disk_list, dupev)) in dm_process_sysevent()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 80 struct disk_info *disk_list; variable 1456 if (disk_list == NULL) { in do_search() 1472 for (disk = disk_list; disk != NULL; disk = disk->disk_next) { in do_search() 1784 if (disk_list == NULL) in add_device_to_disklist() 1785 disk_list = search_disk; in add_device_to_disklist() 1787 for (dptr = disk_list; dptr->disk_next != NULL; in add_device_to_disklist() 2221 dp = disk_list; in disk_is_known() 2867 for (d = disk_list; d != NULL; d = d->disk_next) { in sort_disk_list() 2881 for (d = disk_list; d != NULL; d = d->disk_next) { in sort_disk_list() 2896 disk_list = *dp; in sort_disk_list()
|
H A D | menu_developer.c | 81 diskp = disk_list; in dv_disk()
|
H A D | main.c | 206 disk = disk_list; in main() 221 for (disk = disk_list; disk != NULL; disk = disk->disk_next) in main()
|
H A D | global.h | 79 extern struct disk_info *disk_list; /* list of found disks */
|
H A D | menu_command.c | 150 for (disk = disk_list; disk != NULL; disk = disk->disk_next) { in c_disk() 194 for (disk = disk_list; disk != NULL; disk = disk->disk_next) { in c_disk() 255 for (disk = disk_list; disk != NULL; disk = disk->disk_next) { in c_disk() 275 for (disk = disk_list; disk != NULL; disk = disk->disk_next) { in c_disk()
|
H A D | auto_sense.c | 432 for (disk = disk_list; disk != NULL; disk = disk->disk_next) { in find_disk_info() 2009 for (disk = disk_list; disk != NULL; disk = disk->disk_next) {
|
/illumos-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg.c | 3229 int num_of_comp, raid_obj_id_t *disk_list, char **plugin_err_str) in obj_array_create() argument 3246 if (disk_list[0] != OBJ_SEPARATOR_BEGIN || in obj_array_create() 3247 disk_list[num_of_comp - 1] != OBJ_SEPARATOR_END) in obj_array_create() 3250 if (disk_list[i] == OBJ_SEPARATOR_BEGIN) { in obj_array_create() 3256 if (disk_list[i] == OBJ_SEPARATOR_END) { in obj_array_create() 3320 if (*(disk_list + i) == OBJ_SEPARATOR_BEGIN) { in obj_array_create() 3326 if (*(disk_list + i) == OBJ_SEPARATOR_END) { in obj_array_create() 3334 if (raid_obj_get_type(raid_tab, *(disk_list + i)) != in obj_array_create() 3340 if (*(disk_list + j) == *(disk_list + i)) { in obj_array_create() 3346 ret = obj_get_attr(raid_tab, *(disk_list + i), in obj_array_create() [all …]
|