Lines Matching defs:conf
240 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios()
254 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio() local
262 struct r1conf *conf = r1_bio->mddev->private; in put_buf() local
281 struct r1conf *conf = mddev->private; in reschedule_retry() local
312 struct r1conf *conf = r1_bio->mddev->private; in raid_end_bio_io() local
338 struct r1conf *conf = r1_bio->mddev->private; in update_head_pos() local
350 struct r1conf *conf = r1_bio->mddev->private; in find_bio_disk() local
367 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_read_request() local
449 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_write_request() local
578 static void update_read_sectors(struct r1conf *conf, int disk, in update_read_sectors()
589 static int choose_first_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_first_rdev()
625 static int choose_bb_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_bb_rdev()
664 static int choose_slow_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_slow_rdev()
713 static bool is_sequential(struct r1conf *conf, int disk, struct r1bio *r1_bio) in is_sequential()
724 static bool should_choose_next(struct r1conf *conf, int disk) in should_choose_next()
766 static int choose_best_rdev(struct r1conf *conf, struct r1bio *r1_bio) in choose_best_rdev()
862 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, in read_balance()
893 static void wake_up_barrier(struct r1conf *conf) in wake_up_barrier()
899 static void flush_bio_list(struct r1conf *conf, struct bio *bio) in flush_bio_list()
914 static void flush_pending_writes(struct r1conf *conf) in flush_pending_writes()
969 static int raise_barrier(struct r1conf *conf, sector_t sector_nr) in raise_barrier()
1019 static void lower_barrier(struct r1conf *conf, sector_t sector_nr) in lower_barrier()
1030 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier()
1099 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier()
1142 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier()
1149 static void _allow_barrier(struct r1conf *conf, int idx) in _allow_barrier()
1155 static void allow_barrier(struct r1conf *conf, sector_t sector_nr) in allow_barrier()
1163 static int get_unqueued_pending(struct r1conf *conf) in get_unqueued_pending()
1175 static void freeze_array(struct r1conf *conf, int extra) in freeze_array()
1210 static void unfreeze_array(struct r1conf *conf) in unfreeze_array()
1272 struct r1conf *conf = mddev->private; in raid1_unplug() local
1303 struct r1conf *conf = mddev->private; in alloc_r1bio() local
1316 struct r1conf *conf = mddev->private; in raid1_read_request() local
1423 struct r1conf *conf = mddev->private; in wait_blocked_rdev() local
1458 struct r1conf *conf = mddev->private; in raid1_write_request() local
1719 struct r1conf *conf = mddev->private; in raid1_status() local
1753 struct r1conf *conf = mddev->private; in raid1_error() local
1785 static void print_conf(struct r1conf *conf) in print_conf()
1808 static void close_sync(struct r1conf *conf) in close_sync()
1823 struct r1conf *conf = mddev->private; in raid1_spare_active() local
1872 static bool raid1_add_conf(struct r1conf *conf, struct md_rdev *rdev, int disk, in raid1_add_conf()
1896 static bool raid1_remove_conf(struct r1conf *conf, int disk) in raid1_remove_conf()
1920 struct r1conf *conf = mddev->private; in raid1_add_disk() local
1978 struct r1conf *conf = mddev->private; in raid1_remove_disk() local
2086 struct r1conf *conf = mddev->private; in end_sync_write() local
2138 struct r1conf *conf = mddev->private; in fix_sync_read_error() local
2265 struct r1conf *conf = mddev->private; in process_checks() local
2343 struct r1conf *conf = mddev->private; in sync_request_write() local
2394 static void fix_read_error(struct r1conf *conf, struct r1bio *r1_bio) in fix_read_error()
2488 struct r1conf *conf = mddev->private; in narrow_write_error() local
2554 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_sync_write_finished()
2577 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_write_finished()
2621 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) in handle_read_error()
2669 struct r1conf *conf = mddev->private; in raid1d() local
2734 static int init_resync(struct r1conf *conf) in init_resync()
2745 static struct r1bio *raid1_alloc_init_r1buf(struct r1conf *conf) in raid1_alloc_init_r1buf()
2775 struct r1conf *conf = mddev->private; in raid1_sync_request() local
3078 struct r1conf *conf; in setup_conf() local
3225 struct r1conf *conf; in raid1_run() local
3306 struct r1conf *conf = priv; in raid1_free() local
3367 struct r1conf *conf = mddev->private; in raid1_reshape() local
3463 struct r1conf *conf = mddev->private; in raid1_quiesce() local
3477 struct r1conf *conf; in raid1_takeover() local