Home
last modified time | relevance | path

Searched refs:sysfs_state (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/md/
Dmd.h112 struct sysfs_dirent *sysfs_state; /* handle for 'state' member
274 struct sysfs_dirent *sysfs_state; /* handle for 'array_state' member
Dmd.c1904 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()
[all …]
Draid1.c1042 sysfs_notify_dirent(rdev->sysfs_state); in raid1_spare_active()
Draid10.c1087 sysfs_notify_dirent(tmp->rdev->sysfs_state); in raid10_spare_active()
Draid5.c5285 sysfs_notify_dirent_safe(tmp->rdev->sysfs_state); in raid5_spare_active()