Searched refs:sysfs_get_dirent_safe (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | md.h | 673 static inline struct kernfs_node *sysfs_get_dirent_safe(struct kernfs_node *sd, char *name) in sysfs_get_dirent_safe() function
|
H A D | md.c | 2474 rdev->sysfs_state = sysfs_get_dirent_safe(rdev->kobj.sd, "state"); in bind_rdev_to_array() 2476 sysfs_get_dirent_safe(rdev->kobj.sd, "unacknowledged_bad_blocks"); in bind_rdev_to_array() 2478 sysfs_get_dirent_safe(rdev->kobj.sd, "bad_blocks"); in bind_rdev_to_array() 4063 mddev->sysfs_completed = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_completed"); in level_store() 4064 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded"); in level_store() 5766 mddev->sysfs_state = sysfs_get_dirent_safe(mddev->kobj.sd, "array_state"); in md_alloc() 5767 mddev->sysfs_level = sysfs_get_dirent_safe(mddev->kobj.sd, "level"); in md_alloc() 6082 mddev->sysfs_action = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_action"); in md_run() 6083 mddev->sysfs_completed = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_completed"); in md_run() 6084 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded"); in md_run()
|