Lines Matching refs:ses_path
487 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN]; in hotplug() local
683 if (l_chk_null_wwn(path_struct, ses_path, in hotplug()
696 (void) strcpy(ses_path, path_phys); in hotplug()
698 if (strstr(ses_path, "ses") == NULL && in hotplug()
699 l_get_ses_path(path_phys, ses_path, &map, in hotplug()
731 if (strstr(ses_path, "ses") != NULL) { in hotplug()
733 if ((err = l_convert_name(ses_path, &physpath, in hotplug()
748 if ((err = l_get_status(ses_path, in hotplug()
758 if ((err = g_get_wwn(ses_path, port_wwn, in hotplug()
825 l_make_node(ses_path, tid, dev_path, &map, 0); in hotplug()
897 if ((err = l_get_allses(ses_path, box_list, in hotplug()
1529 char *ses_path, *dev_path, code; in h_pre_hotplug_sena() local
1547 ses_path = dl->dev_path; in h_pre_hotplug_sena()
1548 if ((err = l_get_status(ses_path, &l_state, in h_pre_hotplug_sena()
1592 ses_path, &l_state, f_r, slot, in h_pre_hotplug_sena()
1608 ses_path, &l_state, f_r, slot, in h_pre_hotplug_sena()
1698 todo, ses_path, &l_state, f_r, in h_pre_hotplug_sena()
1728 char *ses_path, *dev_path = NULL, device_name[MAXNAMELEN]; in h_post_hotplug_sena() local
1756 ses_path = dl->dev_path; in h_post_hotplug_sena()
1757 if ((err = g_get_dev_map(ses_path, &map, 0)) == 0) { in h_post_hotplug_sena()
1769 if ((err = g_get_wwn(ses_path, port_wwn, in h_post_hotplug_sena()
1866 ses_path = dl->dev_path; in h_post_hotplug_sena()
1867 if ((err = l_get_status(ses_path, &l_state, in h_post_hotplug_sena()
1873 print_errString(err, ses_path); in h_post_hotplug_sena()
1879 &code, todo, ses_path, &l_state, f_r, slot, in h_post_hotplug_sena()
1882 (void) print_errString(err, ses_path); in h_post_hotplug_sena()
1934 ses_path = dl->dev_path; in h_post_hotplug_sena()
1935 if ((err = g_get_dev_map(ses_path, in h_post_hotplug_sena()
1941 ses_path); in h_post_hotplug_sena()
1990 if (l_device_present(ses_path, tid, &map, in h_post_hotplug_sena()
2053 if ((err = g_get_dev_map(ses_path, &map, in h_post_hotplug_sena()