Lines Matching refs:dev_path

487 char		ses_path[MAXPATHLEN], dev_path[MAXPATHLEN];  in hotplug()  local
690 *dev_path = NULL; in hotplug()
714 (void) strcpy(dev_path, path_phys); in hotplug()
715 if ((err = g_get_wwn(dev_path, port_wwn, in hotplug()
769 *dev_path = '\0'; in hotplug()
825 l_make_node(ses_path, tid, dev_path, &map, 0); in hotplug()
880 if ((err = g_get_multipath(dev_path, in hotplug()
1472 char *dev_path, device_name[MAXNAMELEN]; in h_pre_remove_dev() local
1476 dev_path = NULL; in h_pre_remove_dev()
1479 dev_path = hotplug_disk->dlhead->dev_path; in h_pre_remove_dev()
1485 if (!(strstr(dev_path, SLSH_DRV_NAME_ST))) { in h_pre_remove_dev()
1486 if ((err = g_dev_stop(dev_path, wwn_list, verbose_flag)) != 0) in h_pre_remove_dev()
1503 if ((err = g_dev_start(dev_path, 0)) != 0) { in h_pre_remove_dev()
1529 char *ses_path, *dev_path, code; in h_pre_hotplug_sena() local
1547 ses_path = dl->dev_path; in h_pre_hotplug_sena()
1660 dev_path = NULL; in h_pre_hotplug_sena()
1662 dev_path = hotplug_dev->dlhead->dev_path; in h_pre_hotplug_sena()
1668 if ((err = g_dev_stop(dev_path, wwn_list, 0)) != 0) { in h_pre_hotplug_sena()
1686 (void) g_dev_start(dev_path, 0); in h_pre_hotplug_sena()
1728 char *ses_path, *dev_path = NULL, device_name[MAXNAMELEN]; in h_post_hotplug_sena() local
1753 tid, dl->dev_path); in h_post_hotplug_sena()
1756 ses_path = dl->dev_path; in h_post_hotplug_sena()
1866 ses_path = dl->dev_path; in h_post_hotplug_sena()
1934 ses_path = dl->dev_path; in h_post_hotplug_sena()
1991 verbose_flag, &dev_path) == 1) in h_post_hotplug_sena()
2038 if ((err = g_get_multipath(dev_path, &dl, in h_post_hotplug_sena()
2198 char device_name[MAXNAMELEN], *dev_path = NULL; in h_post_remove_dev() local
2212 dev_path = (hotplug_disk->dlhead)->dev_path; in h_post_remove_dev()
2222 if ((err = g_get_dev_map(dev_path, &map, verbose_flag)) != 0) { in h_post_remove_dev()
2224 (strstr(dev_path, "SUNW,qlc@") != NULL)) { in h_post_remove_dev()
2226 if ((err = g_get_dev_map(dev_path, &map, verbose_flag)) in h_post_remove_dev()
2566 (void) strcpy(path, dlist->dev_path); in h_remove_nodes()
2631 if (strstr(link, dl->dev_path)) { in h_remove_ses_nodes()
2746 (void) strcpy(path, dl->dev_path); in h_display_logical_nodes()
2876 " %s\n"), dl_ses->dev_path); in h_print_list_warn()