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()
864 pdev_info->dev_state = MYRS_DEVICE_ONLINE; in myrs_log_event()
867 pdev_info->dev_state = MYRS_DEVICE_STANDBY; in myrs_log_event()
870 pdev_info->dev_state = MYRS_DEVICE_OFFLINE; in myrs_log_event()
873 pdev_info->dev_state = MYRS_DEVICE_MISSING; in myrs_log_event()
876 pdev_info->dev_state = MYRS_DEVICE_UNCONFIGURED; in myrs_log_event()
950 name = myrs_devstate_name(ldev_info->dev_state); in raid_state_show()
955 ldev_info->dev_state); in raid_state_show()
961 name = myrs_devstate_name(pdev_info->dev_state); in raid_state_show()
966 pdev_info->dev_state); in raid_state_show()
997 if (pdev_info->dev_state == new_state) { in raid_state_store()
1011 if (ldev_info->dev_state == new_state) { in raid_state_store()
1037 pdev_info->dev_state = new_state; in raid_state_store()
1041 ldev_info->dev_state = new_state; in raid_state_store()
1072 ldev_info->dev_state); in raid_level_show()
1858 if (ldev_info->dev_state != MYRS_DEVICE_ONLINE) { in myrs_slave_alloc()
1861 name = myrs_devstate_name(ldev_info->dev_state); in myrs_slave_alloc()
2011 switch (ldev_info->dev_state) { in myrs_get_state()