Lines Matching refs:sysfs_state
1904 rdev->sysfs_state = sysfs_get_dirent_safe(rdev->kobj.sd, "state"); in bind_rdev_to_array()
1939 sysfs_put(rdev->sysfs_state); in unbind_rdev_from_array()
1940 rdev->sysfs_state = NULL; in unbind_rdev_from_array()
2408 sysfs_notify_dirent_safe(rdev->sysfs_state); in state_store()
2510 sysfs_notify_dirent_safe(rdev->sysfs_state); in slot_store()
2524 sysfs_notify_dirent_safe(rdev->sysfs_state); in slot_store()
3517 sysfs_notify_dirent_safe(mddev->sysfs_state); in array_state_store()
4249 if (mddev->sysfs_state) in md_free()
4250 sysfs_put(mddev->sysfs_state); in md_free()
4376 mddev->sysfs_state = sysfs_get_dirent_safe(mddev->kobj.sd, "array_state"); in md_alloc()
4414 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_safemode_timeout()
4484 sysfs_notify_dirent_safe(rdev->sysfs_state); in md_run()
4621 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_run()
4668 sysfs_notify_dirent_safe(mddev->sysfs_state); in restart_array()
4799 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_set_readonly()
4834 sysfs_notify_dirent_safe(mddev->sysfs_state); in do_md_stop()
4875 sysfs_notify_dirent_safe(mddev->sysfs_state); in do_md_stop()
5241 sysfs_notify_dirent_safe(rdev->sysfs_state); in add_new_disk()
5922 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_ioctl()
6185 sysfs_notify_dirent_safe(rdev->sysfs_state); in md_error()
6649 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_write_start()
6692 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_allow_write()
7212 sysfs_notify_dirent_safe(mddev->sysfs_state); in md_check_recovery()
7307 sysfs_notify_dirent_safe(rdev->sysfs_state); in md_wait_for_blocked_rdev()