Lines Matching refs:ldrv
787 uint32_t ldrv; in amr_query_controller() local
807 for (ldrv = 0; ldrv < aex->ae_numldrives; ldrv++) { in amr_query_controller()
808 softs->logic_drive[ldrv].al_size = in amr_query_controller()
809 aex->ae_drivesize[ldrv]; in amr_query_controller()
810 softs->logic_drive[ldrv].al_state = in amr_query_controller()
811 aex->ae_drivestate[ldrv]; in amr_query_controller()
812 softs->logic_drive[ldrv].al_properties = in amr_query_controller()
813 aex->ae_driveprop[ldrv]; in amr_query_controller()
816 ldrv, in amr_query_controller()
817 softs->logic_drive[ldrv].al_size, in amr_query_controller()
818 softs->logic_drive[ldrv].al_state, in amr_query_controller()
819 softs->logic_drive[ldrv].al_properties)); in amr_query_controller()
821 if (softs->logic_drive[ldrv].al_state == in amr_query_controller()
825 instance, ldrv); in amr_query_controller()
877 for (ldrv = 0; ldrv < ae->ae_ldrv.al_numdrives; ldrv++) { in amr_query_controller()
878 softs->logic_drive[ldrv].al_size = in amr_query_controller()
879 ae->ae_ldrv.al_size[ldrv]; in amr_query_controller()
880 softs->logic_drive[ldrv].al_state = in amr_query_controller()
881 ae->ae_ldrv.al_state[ldrv]; in amr_query_controller()
882 softs->logic_drive[ldrv].al_properties = in amr_query_controller()
883 ae->ae_ldrv.al_properties[ldrv]; in amr_query_controller()
886 ldrv, in amr_query_controller()
887 softs->logic_drive[ldrv].al_size, in amr_query_controller()
888 softs->logic_drive[ldrv].al_state, in amr_query_controller()
889 softs->logic_drive[ldrv].al_properties)); in amr_query_controller()
891 if (softs->logic_drive[ldrv].al_state == in amr_query_controller()
895 instance, ldrv); in amr_query_controller()
909 for (; ldrv < AMR_MAXLD; ldrv++) in amr_query_controller()
910 softs->logic_drive[ldrv].al_state = AMR_LDRV_OFFLINE; in amr_query_controller()