Lines Matching refs:path_struct

95 static	void	display_fc_disk(struct path_struct *, char *, gfc_map_t *,
117 static int lun_display(Path_struct *path_struct, L_inquiry inq_struct,
119 static int non_encl_fc_disk_display(Path_struct *path_struct,
271 Path_struct *path_struct; in adm_inquiry() local
277 &path_struct, Options & PVERBOSE)) != 0) { in adm_inquiry()
289 slot = path_struct->slot; in adm_inquiry()
290 f_r = path_struct->f_flag; in adm_inquiry()
293 &path_struct, Options & PVERBOSE)) != 0) { in adm_inquiry()
309 path_struct->p_physical_path, in adm_inquiry()
365 if (strcasecmp(wwn_list_ptr->port_wwn_s, path_struct->argv) == in adm_inquiry()
371 path_struct->argv) == 0) { in adm_inquiry()
413 path_struct->argv) != 0) { in adm_inquiry()
420 path_struct->argv) != 0) { in adm_inquiry()
468 Path_struct *path_struct = NULL; in adm_forcelip() local
474 &path_struct, Options & PVERBOSE)) != 0) { in adm_forcelip()
486 slot = path_struct->slot; in adm_forcelip()
487 f_r = path_struct->f_flag; in adm_forcelip()
490 &path_phys, &path_struct, in adm_forcelip()
506 path_struct->p_physical_path, in adm_forcelip()
530 if (path_struct != NULL) { in adm_forcelip()
531 (void) free(path_struct); in adm_forcelip()
551 Path_struct *path_struct; in adm_display_config() local
561 &path_struct, Options & PVERBOSE)) != 0) { in adm_display_config()
577 slot = path_struct->slot; in adm_display_config()
578 f_r = path_struct->f_flag; in adm_display_config()
580 &path_struct, Options & PVERBOSE)) in adm_display_config()
599 path_struct->p_physical_path, in adm_display_config()
658 if ((err = lun_display(path_struct, in adm_display_config()
704 ((path_struct->slot_valid == 1) || in adm_display_config()
716 display_fc_disk(path_struct, ses_path, &map, inq, in adm_display_config()
748 } else if (non_encl_fc_disk_display(path_struct, in adm_display_config()
779 (void) free(path_struct); in adm_display_config()
798 Path_struct *path_struct; in adm_power_off() local
802 &path_struct, Options & PVERBOSE)) != 0) { in adm_power_off()
809 if (path_struct->ib_path_flag) { in adm_power_off()
810 path_phys = path_struct->p_physical_path; in adm_power_off()
827 if (path_struct->ib_path_flag) { in adm_power_off()
833 path_struct, off_flag, Options & PVERBOSE, in adm_power_off()
840 path_struct->p_physical_path, in adm_power_off()
841 path_struct->f_flag, path_struct->slot, in adm_power_off()
875 path_struct, off_flag, Options & PVERBOSE, in adm_power_off()
900 Path_struct *path_struct; in adm_bypass_enable() local
903 &path_struct, Options & PVERBOSE)) != 0) { in adm_bypass_enable()
910 if (path_struct->ib_path_flag) { in adm_bypass_enable()
911 path_phys = path_struct->p_physical_path; in adm_bypass_enable()
925 if (path_struct->ib_path_flag) { in adm_bypass_enable()
937 if (err = l_dev_bypass_enable(path_struct, in adm_bypass_enable()
975 if (err = l_dev_bypass_enable(path_struct, in adm_bypass_enable()
998 Path_struct *path_struct; in adm_download() local
1005 &path_struct, Options & PVERBOSE)) != 0) { in adm_download()
1054 Path_struct *path_struct; in display_link_status() local
1059 &path_struct, Options & PVERBOSE)) != 0) { in display_link_status()
1695 Path_struct *path_struct; in up_password() local
1710 &path_struct, Options & PVERBOSE)) != 0) { in up_password()
1862 Path_struct *path_struct; in up_encl_name() local
1895 &path_struct, Options & PVERBOSE)) != 0) { in up_encl_name()
2055 Path_struct *path_struct; in adm_led() local
2062 &path_struct, Options & PVERBOSE)) != 0) { in adm_led()
2064 if (path_struct->ib_path_flag) { in adm_led()
2065 path_phys = path_struct->p_physical_path; in adm_led()
2080 if (!path_struct->ib_path_flag) { in adm_led()
2107 if (err = l_led(path_struct, led_action, &status, in adm_led()
2123 if (!path_struct->slot_valid) { in adm_led()
2129 if (path_struct->f_flag) { in adm_led()
2133 path_struct->slot); in adm_led()
2138 path_struct->slot + in adm_led()
2143 (path_struct->f_flag) ? in adm_led()
2148 path_struct->slot); in adm_led()
2153 if (!path_struct->slot_valid) { in adm_led()
2159 if (path_struct->f_flag) { in adm_led()
2163 path_struct->slot); in adm_led()
2168 path_struct->slot + (MAX_DRIVES_DAK/2)); in adm_led()
2172 (path_struct->f_flag) ? in adm_led()
2177 path_struct->slot); in adm_led()
2181 if (!path_struct->slot_valid) { in adm_led()
2187 if (path_struct->f_flag) { in adm_led()
2191 path_struct->slot); in adm_led()
2196 path_struct->slot + MAX_DRIVES_DAK/2); in adm_led()
2200 (path_struct->f_flag) ? in adm_led()
2205 path_struct->slot); in adm_led()
2235 Path_struct *path_struct; in dump() local
2249 &path_struct, Options & PVERBOSE)) != 0) { in dump()
2921 Path_struct *path_struct; in dump_map() local
2934 &path_struct, Options & PVERBOSE)) != 0) { in dump_map()
2961 path_struct->argv) != NULL) { in dump_map()
2976 path_struct->argv) != NULL) { in dump_map()
3853 display_fc_disk(struct path_struct *path_struct, char *ses_path, in display_fc_disk() argument
3876 if (strcmp(path_phys, path_struct->p_physical_path) == 0) in display_fc_disk()
3879 (void) strcpy(path_phys, path_struct->p_physical_path); in display_fc_disk()
3887 if (path_struct->slot_valid == 1) { in display_fc_disk()
4004 path_struct->argv); in display_fc_disk()
4008 path_struct->argv); in display_fc_disk()
4012 path_struct->argv); in display_fc_disk()
4023 if (path_struct->f_flag) { in display_fc_disk()
4025 (l_state.drv_front[path_struct->slot].ib_status.bypass_a_en)) { in display_fc_disk()
4032 (l_state.drv_rear[path_struct->slot].ib_status.bypass_a_en)) { in display_fc_disk()
4046 if (path_struct->f_flag) { in display_fc_disk()
4048 (l_state.drv_front[path_struct->slot].ib_status.bypass_b_en)) { in display_fc_disk()
4055 (l_state.drv_rear[path_struct->slot].ib_status.bypass_b_en)) { in display_fc_disk()
4079 (void) display_disk_info(inq, l_disk_state, path_struct, pg_hdr, in display_fc_disk()
4095 non_encl_fc_disk_display(Path_struct *path_struct, in non_encl_fc_disk_display() argument
4113 (void) strcpy(phys_path, path_struct->p_physical_path); in non_encl_fc_disk_display()
4128 path_struct->argv) == 0) { in non_encl_fc_disk_display()
4133 path_struct->argv) == 0) { in non_encl_fc_disk_display()
4146 path_struct->argv) != 0) { in non_encl_fc_disk_display()
4159 path_struct->argv) != 0) { in non_encl_fc_disk_display()
4210 path_struct->argv); in non_encl_fc_disk_display()
4214 path_struct->argv); in non_encl_fc_disk_display()
4218 path_struct->argv); in non_encl_fc_disk_display()
4336 (void) display_disk_info(local_inq, l_disk_state, path_struct, in non_encl_fc_disk_display()
4360 Path_struct *path_struct, struct mode_page *pg_hdr, in display_disk_info() argument
4376 err = g_get_serial_number(path_struct->p_physical_path, in display_disk_info()
4380 print_errString(err, path_struct->p_physical_path); in display_disk_info()
4473 if (path_struct->slot_valid) { in display_disk_info()
4489 if (path_struct->f_flag) { in display_disk_info()
4492 path_struct->slot, name_buf); in display_disk_info()
4496 path_struct->slot + (MAX_DRIVES_DAK/2), in display_disk_info()
4500 (void) fprintf(stdout, path_struct->f_flag ? in display_disk_info()
4505 path_struct->slot, name_buf); in display_disk_info()
4533 if (path_struct->slot_valid) { in display_disk_info()
4543 adm_display_verbose_disk(path_struct->p_physical_path, options); in display_disk_info()
4546 adm_display_verbose_disk(path_struct->p_physical_path, options); in display_disk_info()
5387 Path_struct *path_struct; in adm_start() local
5392 &path_struct, Options & PVERBOSE)) != 0) { in adm_start()
5430 Path_struct *path_struct; in adm_stop() local
5435 &path_struct, Options & PVERBOSE)) != 0) { in adm_stop()
5500 Path_struct *path_struct = NULL; in adm_port_offline_online() local
5504 &path_struct, Options & PVERBOSE)) != 0) { in adm_port_offline_online()
5554 free(path_struct); in adm_port_offline_online()
5664 Path_struct *path_struct = NULL; in adm_port_loopback() local
5668 &path_struct, Options & PVERBOSE)) != 0) { in adm_port_loopback()
5698 free(path_struct); in adm_port_loopback()
5706 free(path_struct); in adm_port_loopback()
5738 free(path_struct); in adm_port_loopback()
5854 lun_display(Path_struct *path_struct, L_inquiry inq_struct, int verbose) in lun_display() argument
5873 strcpy(phys_path, path_struct->p_physical_path); in lun_display()
5882 if (strstr(path_struct->argv, "/") != NULL) { in lun_display()
5899 path_struct->argv) == 0) { in lun_display()
5904 path_struct->argv) == 0) { in lun_display()
5917 path_struct->argv) != 0) { in lun_display()
5927 path_struct->argv) != 0) { in lun_display()
6051 path_struct->argv); in lun_display()
6055 path_struct->argv); in lun_display()
6059 path_struct->argv); in lun_display()
6063 (void) display_lun_info(l_disk_state, path_struct, pg_hdr, in lun_display()
6087 display_lun_info(L_disk_state l_disk_state, Path_struct *path_struct, in display_lun_info() argument
6194 path_struct->argv); in display_lun_info()
6210 if ((strcmp(mlist->dev_path, path_struct->p_physical_path)) in display_lun_info()
6224 if ((strcmp(mlist->dev_path, path_struct->p_physical_path)) in display_lun_info()