Lines Matching refs:dev_state
261 if (new->dev_state != old->dev_state) { in myrs_get_ldev_info()
264 name = myrs_devstate_name(new->dev_state); in myrs_get_ldev_info()
862 pdev_info->dev_state = MYRS_DEVICE_ONLINE; in myrs_log_event()
865 pdev_info->dev_state = MYRS_DEVICE_STANDBY; in myrs_log_event()
868 pdev_info->dev_state = MYRS_DEVICE_OFFLINE; in myrs_log_event()
871 pdev_info->dev_state = MYRS_DEVICE_MISSING; in myrs_log_event()
874 pdev_info->dev_state = MYRS_DEVICE_UNCONFIGURED; in myrs_log_event()
948 name = myrs_devstate_name(ldev_info->dev_state); in raid_state_show()
953 ldev_info->dev_state); in raid_state_show()
959 name = myrs_devstate_name(pdev_info->dev_state); in raid_state_show()
964 pdev_info->dev_state); in raid_state_show()
995 if (pdev_info->dev_state == new_state) { in raid_state_store()
1009 if (ldev_info->dev_state == new_state) { in raid_state_store()
1035 pdev_info->dev_state = new_state; in raid_state_store()
1039 ldev_info->dev_state = new_state; in raid_state_store()
1070 ldev_info->dev_state); in raid_level_show()
1856 if (ldev_info->dev_state != MYRS_DEVICE_ONLINE) { in myrs_slave_alloc()
1859 name = myrs_devstate_name(ldev_info->dev_state); in myrs_slave_alloc()
2009 switch (ldev_info->dev_state) { in myrs_get_state()