Lines Matching defs:hotplug_dev

332 h_chk_dev_busy(Hotplug_Devlist *hotplug_dev, WWN_list *wwn_list,
338 if (hotplug_dev->dev_type == DTYPE_ESI) {
339 if ((err = l_offline_photon(hotplug_dev, wwn_list,
347 for (dlist = hotplug_dev->dlhead;
353 if ((err = g_offline_drive(hotplug_dev->dlhead,
361 (void) g_online_drive(hotplug_dev->dlhead, force_flag);
1524 h_pre_hotplug_sena(Hotplug_Devlist *hotplug_dev,
1535 if (hotplug_dev->dev_type == DTYPE_ESI) {
1537 if ((err = l_offline_photon(hotplug_dev, wwn_list,
1545 dl = hotplug_dev->seslist;
1557 f_r = hotplug_dev->f_flag;
1558 slot = hotplug_dev->slot;
1559 (void) l_get_drive_name(device_name, slot, f_r, hotplug_dev->box_name);
1577 if (hotplug_dev->f_flag) {
1636 if (hotplug_dev->f_flag) {
1659 if (hotplug_dev->dlhead == NULL) {
1662 dev_path = hotplug_dev->dlhead->dev_path;
1676 if ((err = g_offline_drive(hotplug_dev->dlhead,
1681 (void) g_online_drive(hotplug_dev->dlhead, force_flag);
1696 if (hotplug_dev->dev_location == SENA) {
1724 h_post_hotplug_sena(Hotplug_Devlist *hotplug_dev,
1740 dl = hotplug_dev->seslist;
1741 slot = hotplug_dev->slot;
1742 f_r = hotplug_dev->f_flag;
1743 tid = hotplug_dev->tid;
1745 if (hotplug_dev->dev_type == DTYPE_ESI) {
1787 hotplug_dev->box_name);
1788 for (dl = hotplug_dev->dlhead; dl; ) {
1796 hotplug_dev->dlhead = NULL;
1814 for (dl = hotplug_dev->dlhead;
1826 for (dl = hotplug_dev->dlhead;
1832 for (dl = hotplug_dev->dlhead; dl != NULL; ) {
1838 hotplug_dev->dlhead = NULL;
1839 if ((err = h_remove_ses_nodes(hotplug_dev->seslist)) != 0) {
1849 hotplug_dev->box_name,
1855 hotplug_dev->box_name, slot);
1859 hotplug_dev->box_name, slot);
1864 dl = hotplug_dev->seslist;
1931 dl = hotplug_dev->seslist;
2101 hotplug_dev->dlhead);