Lines Matching refs:dev_state
262 if (new->dev_state != old->dev_state) { in myrs_get_ldev_info()
265 name = myrs_devstate_name(new->dev_state); in myrs_get_ldev_info()
865 pdev_info->dev_state = MYRS_DEVICE_ONLINE; in myrs_log_event()
868 pdev_info->dev_state = MYRS_DEVICE_STANDBY; in myrs_log_event()
871 pdev_info->dev_state = MYRS_DEVICE_OFFLINE; in myrs_log_event()
874 pdev_info->dev_state = MYRS_DEVICE_MISSING; in myrs_log_event()
877 pdev_info->dev_state = MYRS_DEVICE_UNCONFIGURED; in myrs_log_event()
951 name = myrs_devstate_name(ldev_info->dev_state); in raid_state_show()
956 ldev_info->dev_state); in raid_state_show()
962 name = myrs_devstate_name(pdev_info->dev_state); in raid_state_show()
967 pdev_info->dev_state); in raid_state_show()
998 if (pdev_info->dev_state == new_state) { in raid_state_store()
1012 if (ldev_info->dev_state == new_state) { in raid_state_store()
1038 pdev_info->dev_state = new_state; in raid_state_store()
1042 ldev_info->dev_state = new_state; in raid_state_store()
1073 ldev_info->dev_state); in raid_level_show()
1860 if (ldev_info->dev_state != MYRS_DEVICE_ONLINE) { in myrs_slave_alloc()
1863 name = myrs_devstate_name(ldev_info->dev_state); in myrs_slave_alloc()
2014 switch (ldev_info->dev_state) { in myrs_get_state()