Lines Matching refs:disk_list

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()
898 &(disk_list->seslist), 0)) != 0) { in hotplug()
899 if (disk_list->seslist != NULL) { in hotplug()
900 (void) g_free_multipath(disk_list->seslist); in hotplug()
904 (void) strcpy(disk_list->box_name, in hotplug()
906 disk_list->slot = slot; in hotplug()
907 disk_list->f_flag = path_struct->f_flag; in hotplug()
910 if ((err = h_chk_dev_busy(disk_list, wwn_list, in hotplug()
918 disk_list->reserve_flag = 1; in hotplug()
920 disk_list->busy_flag = 1; in hotplug()
924 bsyRsrv_dskLst_tail = disk_list; in hotplug()
926 disk_list->prev = bsyRsrv_dskLst_tail; in hotplug()
927 bsyRsrv_dskLst_tail->next = disk_list; in hotplug()
928 bsyRsrv_dskLst_tail = disk_list; in hotplug()
934 disk_list_head = disk_list_tail = disk_list; in hotplug()
936 disk_list->prev = disk_list_tail; in hotplug()
937 disk_list_tail->next = disk_list; in hotplug()
938 disk_list_tail = disk_list; in hotplug()
2433 Hotplug_Devlist *list, *disk_list; in h_pre_hotplug() local
2436 disk_list = *disk_list_head_ptr; in h_pre_hotplug()
2437 while (disk_list != NULL) { in h_pre_hotplug()
2438 if ((disk_list->dev_type == DTYPE_ESI) || in h_pre_hotplug()
2439 (disk_list->dev_location == SENA)) { in h_pre_hotplug()
2440 if ((err = h_pre_hotplug_sena(disk_list, wwn_list, in h_pre_hotplug()
2443 disk_list->dev_name); in h_pre_hotplug()
2446 } else if (disk_list->dev_location == NON_SENA) { in h_pre_hotplug()
2447 if ((err = h_pre_remove_dev(disk_list, wwn_list, in h_pre_hotplug()
2450 disk_list->dev_name); in h_pre_hotplug()
2454 disk_list = disk_list->next; in h_pre_hotplug()
2457 list = disk_list->prev; in h_pre_hotplug()
2459 list->next = disk_list->next; in h_pre_hotplug()
2463 list = disk_list; in h_pre_hotplug()
2464 disk_list = disk_list->next; in h_pre_hotplug()
2466 *disk_list_head_ptr = disk_list; in h_pre_hotplug()
2655 h_print_logical_nodes(struct dlist *disk_list) in h_print_logical_nodes() argument
2665 for (dlist = disk_list; dlist != NULL; dlist = dlist->next) { in h_print_logical_nodes()
2685 for (dlist = disk_list; dlist != NULL; dlist = dlist->next) { in h_print_logical_nodes()
2780 Hotplug_Devlist *disk_list = disk_list_head; in h_print_list_warn() local
2795 for (i = 1; disk_list; i++, disk_list = disk_list->next) { in h_print_list_warn()
2796 if ((disk_list->dev_type == DTYPE_DIRECT) && in h_print_list_warn()
2797 (disk_list->dev_location == SENA)) { in h_print_list_warn()
2798 if (disk_list->f_flag != 0) { in h_print_list_warn()
2802 i, disk_list->box_name, disk_list->slot); in h_print_list_warn()
2806 i, disk_list->box_name, disk_list->slot); in h_print_list_warn()
2812 i, disk_list->box_name, in h_print_list_warn()
2813 disk_list->slot + (MAX_DRIVES_DAK/2)); in h_print_list_warn()
2817 i, disk_list->box_name, disk_list->slot); in h_print_list_warn()
2820 } else if (((disk_list->dev_type == DTYPE_DIRECT) || in h_print_list_warn()
2821 (disk_list->dev_type == DTYPE_SEQUENTIAL)) && in h_print_list_warn()
2822 (disk_list->dev_location == NON_SENA)) { in h_print_list_warn()
2825 i, disk_list->dev_name); in h_print_list_warn()
2826 } else if (disk_list->dev_type == DTYPE_ESI) { in h_print_list_warn()
2829 i, disk_list->box_name); in h_print_list_warn()
2832 if (disk_list->dev_location == SENA) { in h_print_list_warn()
2835 disk_list->tid); in h_print_list_warn()
2836 if (disk_list->dev_type != DTYPE_ESI) { in h_print_list_warn()
2840 disk_list->f_flag in h_print_list_warn()
2841 ? disk_list->slot in h_print_list_warn()
2842 : disk_list->slot in h_print_list_warn()
2847 disk_list->slot, disk_list->f_flag in h_print_list_warn()
2857 disk_list->node_wwn_s); in h_print_list_warn()
2861 if (disk_list->dev_type == DTYPE_ESI) { in h_print_list_warn()
2864 dtype[disk_list->dev_type]); in h_print_list_warn()
2867 dtype[disk_list->dev_type]); in h_print_list_warn()
2870 if (disk_list->dev_type == DTYPE_ESI) { in h_print_list_warn()
2871 dl_ses = disk_list->seslist; in h_print_list_warn()
2880 dl_multi = disk_list->dlhead; in h_print_list_warn()