Lines Matching refs:r1conf
46 static void allow_barrier(struct r1conf *conf, sector_t sector_nr);
47 static void lower_barrier(struct r1conf *conf, sector_t sector_nr);
241 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios()
255 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio()
263 struct r1conf *conf = r1_bio->mddev->private; in put_buf()
282 struct r1conf *conf = mddev->private; in reschedule_retry()
315 struct r1conf *conf = r1_bio->mddev->private; in raid_end_bio_io()
340 struct r1conf *conf = r1_bio->mddev->private; in update_head_pos()
352 struct r1conf *conf = r1_bio->mddev->private; in find_bio_disk()
369 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_read_request()
451 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_write_request()
599 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) in read_balance()
794 static void flush_bio_list(struct r1conf *conf, struct bio *bio) in flush_bio_list()
818 static void flush_pending_writes(struct r1conf *conf) in flush_pending_writes()
873 static int raise_barrier(struct r1conf *conf, sector_t sector_nr) in raise_barrier()
923 static void lower_barrier(struct r1conf *conf, sector_t sector_nr) in lower_barrier()
934 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier()
1003 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier()
1046 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier()
1053 static void _allow_barrier(struct r1conf *conf, int idx) in _allow_barrier()
1059 static void allow_barrier(struct r1conf *conf, sector_t sector_nr) in allow_barrier()
1067 static int get_unqueued_pending(struct r1conf *conf) in get_unqueued_pending()
1079 static void freeze_array(struct r1conf *conf, int extra) in freeze_array()
1114 static void unfreeze_array(struct r1conf *conf) in unfreeze_array()
1175 struct r1conf *conf = mddev->private; in raid1_unplug()
1206 struct r1conf *conf = mddev->private; in alloc_r1bio()
1219 struct r1conf *conf = mddev->private; in raid1_read_request()
1340 struct r1conf *conf = mddev->private; in raid1_write_request()
1628 struct r1conf *conf = mddev->private; in raid1_status()
1661 struct r1conf *conf = mddev->private; in raid1_error()
1693 static void print_conf(struct r1conf *conf) in print_conf()
1717 static void close_sync(struct r1conf *conf) in close_sync()
1732 struct r1conf *conf = mddev->private; in raid1_spare_active()
1783 struct r1conf *conf = mddev->private; in raid1_add_disk()
1845 struct r1conf *conf = mddev->private; in raid1_remove_disk()
1966 struct r1conf *conf = mddev->private; in end_sync_write()
2023 struct r1conf *conf = mddev->private; in fix_sync_read_error()
2150 struct r1conf *conf = mddev->private; in process_checks()
2228 struct r1conf *conf = mddev->private; in sync_request_write()
2279 static void fix_read_error(struct r1conf *conf, int read_disk, in fix_read_error()
2377 struct r1conf *conf = mddev->private; in narrow_write_error()
2443 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_sync_write_finished()
2466 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_write_finished()
2512 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) in handle_read_error()
2559 struct r1conf *conf = mddev->private; in raid1d()
2626 static int init_resync(struct r1conf *conf) in init_resync()
2637 static struct r1bio *raid1_alloc_init_r1buf(struct r1conf *conf) in raid1_alloc_init_r1buf()
2667 struct r1conf *conf = mddev->private; in raid1_sync_request()
2971 static struct r1conf *setup_conf(struct mddev *mddev) in setup_conf()
2973 struct r1conf *conf; in setup_conf()
2979 conf = kzalloc(sizeof(struct r1conf), GFP_KERNEL); in setup_conf()
3112 struct r1conf *conf; in raid1_run()
3200 struct r1conf *conf = priv; in raid1_free()
3259 struct r1conf *conf = mddev->private; in raid1_reshape()
3355 struct r1conf *conf = mddev->private; in raid1_quiesce()
3369 struct r1conf *conf; in raid1_takeover()