Searched refs:sysfs_get_dirent_safe (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | md.h | 643 static inline struct kernfs_node *sysfs_get_dirent_safe(struct kernfs_node *sd, char *name) in sysfs_get_dirent_safe() function
|
D | md.c | 2434 rdev->sysfs_state = sysfs_get_dirent_safe(rdev->kobj.sd, "state"); in bind_rdev_to_array() 2436 sysfs_get_dirent_safe(rdev->kobj.sd, "unacknowledged_bad_blocks"); in bind_rdev_to_array() 2438 sysfs_get_dirent_safe(rdev->kobj.sd, "bad_blocks"); in bind_rdev_to_array() 4028 mddev->sysfs_completed = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_completed"); in level_store() 4029 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded"); in level_store() 5703 mddev->sysfs_state = sysfs_get_dirent_safe(mddev->kobj.sd, "array_state"); in md_alloc() 5704 mddev->sysfs_level = sysfs_get_dirent_safe(mddev->kobj.sd, "level"); in md_alloc() 6001 mddev->sysfs_action = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_action"); in md_run() 6002 mddev->sysfs_completed = sysfs_get_dirent_safe(mddev->kobj.sd, "sync_completed"); in md_run() 6003 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded"); in md_run()
|