Lines Matching defs:ses_path

104  * the given ses_path.
107 * ses_path - pointer to the ses_path
121 l_make_node(char *ses_path, int tid, char *dev_path,
132 if ((ses_path == NULL) || (dev_path == NULL) || (map == NULL)) {
159 if (strstr(ses_path, SCSI_VHCI) != NULL) {
180 len = strlen(ses_path) -
181 strlen(strrchr(ses_path, '/'));
192 (void) strncpy(dev_path, ses_path, len);
200 if (err = l_get_pid_from_path(ses_path, map, &ses_pid)) {
235 if (strstr(ses_path, SCSI_VHCI) != NULL) {
253 len = strlen(ses_path) -
254 strlen(strrchr(ses_path, '/'));
263 (void) strncpy(dev_path, ses_path, len);
289 * char *ses_path
296 l_chk_null_wwn(Path_struct *path_struct, char *ses_path,
304 if ((path_struct == NULL) || (ses_path == NULL) ||
335 *ses_path = NULL;
350 (void) strcpy(ses_path, boxlist->b_physical_path);
359 if ((ses_path != NULL) && (strstr(ses_path, "ses") != NULL)) {
360 if (l_get_status(ses_path, l_state,
373 "and Node WWN: %s\n", ses_path, node_wwn_s);
399 l_encl_status_page_funcs(int func, char *code, int todo, char *ses_path,
408 if ((ses_path == NULL) || (l_state == NULL)) {
416 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDWR)) == -1) {
513 * ses_path - pointer to a ses path
528 l_device_present(char *ses_path, int tid, gfc_map_t *map,
543 if ((ses_path == NULL) || (map == NULL)) {
591 if (err = l_get_pid_from_path(ses_path, map, &ses_pid))
646 if (strstr(ses_path, SCSI_VHCI) != NULL) {
668 len = strlen(ses_path) - strlen(strrchr(ses_path, '/'));
672 (void) strncpy(sf_path, ses_path, len);
734 char *dev_path, ses_path[MAXPATHLEN];
749 (void) strcpy(ses_path, dl_ses->dev_path);
750 if (l_get_status(ses_path, l_state, verbose_flag) == 0)