Lines Matching defs:conf
239 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios()
253 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio() local
261 struct r1conf *conf = r1_bio->mddev->private; in put_buf() local
280 struct r1conf *conf = mddev->private; in reschedule_retry() local
311 struct r1conf *conf = r1_bio->mddev->private; in raid_end_bio_io() local
337 struct r1conf *conf = r1_bio->mddev->private; in update_head_pos() local
349 struct r1conf *conf = r1_bio->mddev->private; in find_bio_disk() local
366 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_read_request() local
450 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_write_request() local
581 static void update_read_sectors(struct r1conf *conf, int disk, in update_read_sectors()
592 static int choose_first_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_first_rdev()
628 static int choose_bb_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_bb_rdev()
667 static int choose_slow_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_slow_rdev()
716 static bool is_sequential(struct r1conf *conf, int disk, struct r1bio *r1_bio) in is_sequential()
727 static bool should_choose_next(struct r1conf *conf, int disk) in should_choose_next()
769 static int choose_best_rdev(struct r1conf *conf, struct r1bio *r1_bio) in choose_best_rdev()
865 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, in read_balance()
896 static void wake_up_barrier(struct r1conf *conf) in wake_up_barrier()
902 static void flush_bio_list(struct r1conf *conf, struct bio *bio) in flush_bio_list()
917 static void flush_pending_writes(struct r1conf *conf) in flush_pending_writes()
972 static int raise_barrier(struct r1conf *conf, sector_t sector_nr) in raise_barrier()
1022 static void lower_barrier(struct r1conf *conf, sector_t sector_nr) in lower_barrier()
1033 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier()
1102 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier()
1145 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier()
1152 static void _allow_barrier(struct r1conf *conf, int idx) in _allow_barrier()
1158 static void allow_barrier(struct r1conf *conf, sector_t sector_nr) in allow_barrier()
1166 static int get_unqueued_pending(struct r1conf *conf) in get_unqueued_pending()
1178 static void freeze_array(struct r1conf *conf, int extra) in freeze_array()
1213 static void unfreeze_array(struct r1conf *conf) in unfreeze_array()
1275 struct r1conf *conf = mddev->private; in raid1_unplug() local
1306 struct r1conf *conf = mddev->private; in alloc_r1bio() local
1319 struct r1conf *conf = mddev->private; in raid1_read_request() local
1429 struct r1conf *conf = mddev->private; in wait_blocked_rdev() local
1464 struct r1conf *conf = mddev->private; in raid1_write_request() local
1741 struct r1conf *conf = mddev->private; in raid1_status() local
1775 struct r1conf *conf = mddev->private; in raid1_error() local
1807 static void print_conf(struct r1conf *conf) in print_conf()
1830 static void close_sync(struct r1conf *conf) in close_sync()
1845 struct r1conf *conf = mddev->private; in raid1_spare_active() local
1894 static bool raid1_add_conf(struct r1conf *conf, struct md_rdev *rdev, int disk, in raid1_add_conf()
1918 static bool raid1_remove_conf(struct r1conf *conf, int disk) in raid1_remove_conf()
1942 struct r1conf *conf = mddev->private; in raid1_add_disk() local
2000 struct r1conf *conf = mddev->private; in raid1_remove_disk() local
2108 struct r1conf *conf = mddev->private; in end_sync_write() local
2160 struct r1conf *conf = mddev->private; in fix_sync_read_error() local
2287 struct r1conf *conf = mddev->private; in process_checks() local
2365 struct r1conf *conf = mddev->private; in sync_request_write() local
2416 static void fix_read_error(struct r1conf *conf, struct r1bio *r1_bio) in fix_read_error()
2510 struct r1conf *conf = mddev->private; in narrow_write_error() local
2576 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_sync_write_finished()
2599 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_write_finished()
2645 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) in handle_read_error()
2693 struct r1conf *conf = mddev->private; in raid1d() local
2760 static int init_resync(struct r1conf *conf) in init_resync()
2771 static struct r1bio *raid1_alloc_init_r1buf(struct r1conf *conf) in raid1_alloc_init_r1buf()
2801 struct r1conf *conf = mddev->private; in raid1_sync_request() local
3104 struct r1conf *conf; in setup_conf() local
3253 struct r1conf *conf; in raid1_run() local
3329 struct r1conf *conf = priv; in raid1_free() local
3390 struct r1conf *conf = mddev->private; in raid1_reshape() local
3486 struct r1conf *conf = mddev->private; in raid1_quiesce() local
3500 struct r1conf *conf; in raid1_takeover() local