Lines Matching refs:l_state

495 L_state		l_state;  in hotplug()  local
684 &l_state, verbose_flag) == 1) { in hotplug()
749 &l_state, verbose_flag)) != 0) { in hotplug()
777 i < l_state.total_num_drv/2; in hotplug()
779 if ((l_state.drv_front[i].g_disk_state.d_state_flags[PORT_A] & in hotplug()
781 (l_state.drv_front[i].g_disk_state.d_state_flags[PORT_B] & in hotplug()
783 (l_state.drv_rear[i].g_disk_state.d_state_flags[PORT_A] & in hotplug()
785 (l_state.drv_rear[i].g_disk_state.d_state_flags[PORT_B] & in hotplug()
802 if ((err = l_get_slot(path_struct, &l_state, in hotplug()
810 tid = l_state.drv_front[slot].ib_status.sel_id; in hotplug()
811 code = l_state.drv_front[slot].ib_status.code; in hotplug()
813 l_state.drv_front[slot].g_disk_state.node_wwn_s); in hotplug()
815 tid = l_state.drv_rear[slot].ib_status.sel_id; in hotplug()
816 code = l_state.drv_rear[slot].ib_status.code; in hotplug()
818 l_state.drv_rear[slot].g_disk_state.node_wwn_s); in hotplug()
835 if ((l_state.drv_front[slot].l_state_flag in hotplug()
837 (!l_state.drv_front[slot].ib_status.dev_off)) in hotplug()
840 if ((l_state.drv_rear[slot].l_state_flag in hotplug()
842 (!l_state.drv_rear[slot].ib_status.dev_off)) in hotplug()
850 if ((l_state.drv_front[slot].g_disk_state.d_state_flags[PORT_A] & in hotplug()
852 (l_state.drv_front[slot].g_disk_state.d_state_flags[PORT_B] & in hotplug()
857 if ((l_state.drv_rear[slot].g_disk_state.d_state_flags[PORT_A] & in hotplug()
859 (l_state.drv_rear[slot].g_disk_state.d_state_flags[PORT_B] & in hotplug()
905 (char *)l_state.ib_tbl.enclosure_name); in hotplug()
1531 struct l_state_struct l_state; in h_pre_hotplug_sena() local
1548 if ((err = l_get_status(ses_path, &l_state, in h_pre_hotplug_sena()
1564 l_state.drv_front[slot].g_disk_state.node_wwn_s, WWN_SIZE); in h_pre_hotplug_sena()
1567 l_state.drv_rear[slot].g_disk_state.node_wwn_s, WWN_SIZE); in h_pre_hotplug_sena()
1579 l_state.drv_front[slot].ib_status.code; in h_pre_hotplug_sena()
1582 l_state.drv_rear[slot].ib_status.code; 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()
1638 l_state.drv_front[slot].ib_status.code in h_pre_hotplug_sena()
1648 l_state.drv_rear[slot].ib_status.code in h_pre_hotplug_sena()
1698 todo, ses_path, &l_state, f_r, in h_pre_hotplug_sena()
1737 struct l_state_struct l_state; in h_post_hotplug_sena() local
1867 if ((err = l_get_status(ses_path, &l_state, in h_post_hotplug_sena()
1879 &code, todo, ses_path, &l_state, f_r, slot, in h_post_hotplug_sena()