Lines Matching defs:ses_path

524 char			ses_path[MAXPATHLEN];
549 ses_path, &map, verbose)) != 0) {
554 (void) strcpy(ses_path, path_struct->p_physical_path);
570 ses_path, &map, verbose)) != 0) {
575 if ((err = l_get_status(ses_path, l_state, verbose)) != 0) {
597 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDWR)) == -1) {
614 if (err = l_get_status(ses_path, l_state, verbose)) {
802 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN];
823 ses_path, &map, verbose)) {
833 if (err = g_get_inquiry(ses_path, &inq)) {
848 if (err = l_get_status(ses_path, l_state, verbose)) {
964 err = pwr_up_down(ses_path, l_state, path_struct->f_flag,
1802 char ses_path[MAXPATHLEN];
1836 if ((err = l_get_ses_path(phys_path, ses_path, &map, verbose)) != 0) {
1852 if ((err = g_get_inquiry(ses_path, &inq)) != 0) {
1878 if ((err = l_get_ib_status(ses_path, l_state, verbose)) != 0) {
1930 char tmp_name[MAXPATHLEN], ses_path[MAXPATHLEN];
2117 (void) strcpy(ses_path, result);
2118 if ((err = l_get_status(ses_path, l_state,
2137 if (g_get_inquiry(ses_path, &inq)) {
2479 char path_a[MAXPATHLEN], path_b[MAXPATHLEN], ses_path[MAXPATHLEN];
2592 if ((err = l_get_ses_path(ml->dev_path, ses_path,
2604 if (err = l_get_port(ses_path, &local_port_a_flag, verbose)) {
3116 l_get_port(char *ses_path, int *port_a, int verbose)
3122 if ((ses_path == NULL) || (port_a == NULL)) {
3131 if (err = l_get_ib_status(ses_path, ib_state, verbose)) {
4636 * ses_path: This must be a pointer to an already allocated path string.
4643 l_get_ses_path(char *path_phys, char *ses_path, gfc_map_t *map,
4652 if ((path_phys == NULL) || (ses_path == NULL) || (map == NULL)) {
4656 (void) strcpy(ses_path, path_phys);
4657 if ((char_ptr = strrchr(ses_path, '/')) == NULL) {
4662 (void) strcat(ses_path, SLSH_SES_NAME);
4803 (void) strcat(ses_path, id_buf);
4807 ses_path);
4813 if ((fd = g_object_open(ses_path, O_NDELAY | O_RDONLY)) == -1) {
4819 char_ptr = strrchr(ses_path, '/');
4821 (void) strcat(ses_path, SLSH_SES_NAME);
4828 strcat(ses_path, id_buf);