Lines Matching defs:rdev

129 static void rdev_uninit_serial(struct md_rdev *rdev)  in rdev_uninit_serial()
140 struct md_rdev *rdev; in rdevs_uninit_serial() local
146 static int rdev_init_serial(struct md_rdev *rdev) in rdev_init_serial()
176 struct md_rdev *rdev; in rdevs_init_serial() local
197 static int rdev_need_serial(struct md_rdev *rdev) in rdev_need_serial()
209 void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev, in mddev_create_serial_pool()
253 void mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev, in mddev_destroy_serial_pool()
488 struct md_rdev *rdev = bio->bi_private; in md_end_flush() local
505 struct md_rdev *rdev; in submit_flushes() local
772 struct md_rdev *rdev; in mddev_unlock() local
831 struct md_rdev *rdev; in md_find_rdev_nr_rcu() local
843 struct md_rdev *rdev; in find_rdev() local
854 struct md_rdev *rdev; in md_find_rdev_rcu() local
877 static inline sector_t calc_dev_sboffset(struct md_rdev *rdev) in calc_dev_sboffset()
882 static int alloc_disk_sb(struct md_rdev *rdev) in alloc_disk_sb()
890 void md_rdev_clear(struct md_rdev *rdev) in md_rdev_clear()
909 struct md_rdev *rdev = bio->bi_private; in super_written() local
932 void md_super_write(struct mddev *mddev, struct md_rdev *rdev, in md_super_write()
980 int sync_page_io(struct md_rdev *rdev, sector_t sector, int size, in sync_page_io()
1007 static int read_disk_sb(struct md_rdev *rdev, int size) in read_disk_sb()
1164 static int super_90_load(struct md_rdev *rdev, struct md_rdev *refdev, int minor_version) in super_90_load()
1273 static int super_90_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) in super_90_validate()
1402 static void super_90_sync(struct mddev *mddev, struct md_rdev *rdev) in super_90_sync()
1547 super_90_rdev_size_change(struct md_rdev *rdev, sector_t num_sectors) in super_90_rdev_size_change()
1569 super_90_allow_new_offset(struct md_rdev *rdev, unsigned long long new_offset) in super_90_allow_new_offset()
1601 static int super_1_load(struct md_rdev *rdev, struct md_rdev *refdev, int minor_version) in super_1_load()
1785 static int super_1_validate(struct mddev *mddev, struct md_rdev *freshest, struct md_rdev *rdev) in super_1_validate()
1990 static void super_1_sync(struct mddev *mddev, struct md_rdev *rdev) in super_1_sync()
2177 super_1_rdev_size_change(struct md_rdev *rdev, sector_t num_sectors) in super_1_rdev_size_change()
2226 super_1_allow_new_offset(struct md_rdev *rdev, in super_1_allow_new_offset()
2279 static void sync_super(struct mddev *mddev, struct md_rdev *rdev) in sync_super()
2293 struct md_rdev *rdev, *rdev2; in match_mddev_units() local
2327 struct md_rdev *rdev, *reference = NULL; in md_integrity_register() local
2380 int md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev) in md_integrity_add_rdev()
2402 static bool rdev_read_only(struct md_rdev *rdev) in rdev_read_only()
2408 static int bind_rdev_to_array(struct md_rdev *rdev, struct mddev *mddev) in bind_rdev_to_array()
2500 static void export_rdev(struct md_rdev *rdev, struct mddev *mddev) in export_rdev()
2514 static void md_kick_rdev_from_array(struct md_rdev *rdev) in md_kick_rdev_from_array()
2544 struct md_rdev *rdev; in export_array() local
2590 struct md_rdev *rdev; in sync_sbs() local
2607 struct md_rdev *rdev = NULL, *iter; in does_sb_need_changing() local
2648 struct md_rdev *rdev; in md_update_sb() local
2838 static int add_bound_rdev(struct md_rdev *rdev) in add_bound_rdev()
2899 state_show(struct md_rdev *rdev, char *page) in state_show()
2941 state_store(struct md_rdev *rdev, const char *buf, size_t len) in state_store()
3117 errors_show(struct md_rdev *rdev, char *page) in errors_show()
3123 errors_store(struct md_rdev *rdev, const char *buf, size_t len) in errors_store()
3138 slot_show(struct md_rdev *rdev, char *page) in slot_show()
3149 slot_store(struct md_rdev *rdev, const char *buf, size_t len) in slot_store()
3238 offset_show(struct md_rdev *rdev, char *page) in offset_show()
3244 offset_store(struct md_rdev *rdev, const char *buf, size_t len) in offset_store()
3263 static ssize_t new_offset_show(struct md_rdev *rdev, char *page) in new_offset_show()
3269 static ssize_t new_offset_store(struct md_rdev *rdev, in new_offset_store()
3322 rdev_size_show(struct md_rdev *rdev, char *page) in rdev_size_show()
3337 static bool md_rdev_overlaps(struct md_rdev *rdev) in md_rdev_overlaps()
3378 rdev_size_store(struct md_rdev *rdev, const char *buf, size_t len) in rdev_size_store()
3429 static ssize_t recovery_start_show(struct md_rdev *rdev, char *page) in recovery_start_show()
3440 static ssize_t recovery_start_store(struct md_rdev *rdev, const char *buf, size_t len) in recovery_start_store()
3475 static ssize_t bb_show(struct md_rdev *rdev, char *page) in bb_show()
3479 static ssize_t bb_store(struct md_rdev *rdev, const char *page, size_t len) in bb_store()
3490 static ssize_t ubb_show(struct md_rdev *rdev, char *page) in ubb_show()
3494 static ssize_t ubb_store(struct md_rdev *rdev, const char *page, size_t len) in ubb_store()
3502 ppl_sector_show(struct md_rdev *rdev, char *page) in ppl_sector_show()
3508 ppl_sector_store(struct md_rdev *rdev, const char *buf, size_t len) in ppl_sector_store()
3541 ppl_size_show(struct md_rdev *rdev, char *page) in ppl_size_show()
3547 ppl_size_store(struct md_rdev *rdev, const char *buf, size_t len) in ppl_size_store()
3592 struct md_rdev *rdev = container_of(kobj, struct md_rdev, kobj); in rdev_attr_show() local
3606 struct md_rdev *rdev = container_of(kobj, struct md_rdev, kobj); in rdev_attr_store() local
3636 struct md_rdev *rdev = container_of(ko, struct md_rdev, kobj); in rdev_free() local
3649 int md_rdev_init(struct md_rdev *rdev) in md_rdev_init()
3688 struct md_rdev *rdev; in md_import_device() local
3764 struct md_rdev *rdev, *freshest, *tmp; in analyze_sbs() local
3925 struct md_rdev *rdev; in level_store() local
4199 struct md_rdev *rdev; in raid_disks_store() local
4578 struct md_rdev *rdev; in new_dev_store() local
5268 struct md_rdev *rdev; in reshape_position_store() local
5849 struct md_rdev *rdev; in md_run() local
6189 struct md_rdev *rdev; in restart_array() local
6445 struct md_rdev *rdev; in do_md_stop() local
6533 struct md_rdev *rdev; in autorun_array() local
6567 struct md_rdev *rdev0, *rdev, *tmp; in autorun_devices() local
6658 struct md_rdev *rdev; in get_array_info() local
6749 struct md_rdev *rdev; in get_disk_info() local
6788 struct md_rdev *rdev; in md_add_new_disk() local
6993 struct md_rdev *rdev; in hot_remove_disk() local
7035 struct md_rdev *rdev; in hot_add_disk() local
7305 struct md_rdev *rdev; in update_size() local
7350 struct md_rdev *rdev; in update_raid_disks() local
7525 struct md_rdev *rdev; in set_disk_faulty() local
8071 void md_error(struct mddev *mddev, struct md_rdev *rdev) in md_error()
8102 struct md_rdev *rdev; in status_unused() local
8152 struct md_rdev *rdev; in status_resync() local
8335 struct md_rdev *rdev; in md_seq_show() local
8551 struct md_rdev *rdev; in is_mddev_idle() local
8697 void md_submit_discard_bio(struct mddev *mddev, struct md_rdev *rdev, in md_submit_discard_bio()
8807 struct md_rdev *rdev; in md_do_sync() local
9218 struct md_rdev *rdev; in remove_and_add_spares() local
9406 struct md_rdev *rdev; in md_check_recovery() local
9435 struct md_rdev *rdev, *tmp; in md_check_recovery() local
9545 struct md_rdev *rdev; in md_reap_sync_thread() local
9608 void md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev) in md_wait_for_blocked_rdev()
9622 struct md_rdev *rdev; in md_finish_reshape() local
9637 int rdev_set_badblocks(struct md_rdev *rdev, sector_t s, int sectors, in rdev_set_badblocks()
9661 int rdev_clear_badblocks(struct md_rdev *rdev, sector_t s, int sectors, in rdev_clear_badblocks()
9769 static void check_sb_changes(struct mddev *mddev, struct md_rdev *rdev) in check_sb_changes()
9869 static int read_rdev(struct mddev *mddev, struct md_rdev *rdev) in read_rdev()
9918 struct md_rdev *rdev = NULL, *iter; in md_reload_sb() local
9977 struct md_rdev *rdev; in md_autostart_arrays() local