Lines Matching refs:r1conf
69 static void allow_barrier(struct r1conf *conf, sector_t start_next_window,
71 static void lower_barrier(struct r1conf *conf);
181 static void put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) in put_all_bios()
195 struct r1conf *conf = r1_bio->mddev->private; in free_r1bio()
203 struct r1conf *conf = r1_bio->mddev->private; in put_buf()
221 struct r1conf *conf = mddev->private; in reschedule_retry()
241 struct r1conf *conf = r1_bio->mddev->private; in call_bio_endio()
293 struct r1conf *conf = r1_bio->mddev->private; in update_head_pos()
305 struct r1conf *conf = r1_bio->mddev->private; in find_bio_disk()
323 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_read_request()
407 struct r1conf *conf = r1_bio->mddev->private; in raid1_end_write_request()
513 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) in read_balance()
714 struct r1conf *conf = mddev->private; in raid1_congested()
742 static void flush_pending_writes(struct r1conf *conf) in flush_pending_writes()
795 static void raise_barrier(struct r1conf *conf, sector_t sector_nr) in raise_barrier()
828 static void lower_barrier(struct r1conf *conf) in lower_barrier()
839 static bool need_to_wait_for_sync(struct r1conf *conf, struct bio *bio) in need_to_wait_for_sync()
858 static sector_t wait_barrier(struct r1conf *conf, struct bio *bio) in wait_barrier()
906 static void allow_barrier(struct r1conf *conf, sector_t start_next_window, in allow_barrier()
938 static void freeze_array(struct r1conf *conf, int extra) in freeze_array()
959 static void unfreeze_array(struct r1conf *conf) in unfreeze_array()
1014 struct r1conf *conf = mddev->private; in raid1_unplug()
1049 struct r1conf *conf = mddev->private; in make_request()
1427 struct r1conf *conf = mddev->private; in status()
1445 struct r1conf *conf = mddev->private; in error()
1486 static void print_conf(struct r1conf *conf) in print_conf()
1511 static void close_sync(struct r1conf *conf) in close_sync()
1531 struct r1conf *conf = mddev->private; in raid1_spare_active()
1582 struct r1conf *conf = mddev->private; in raid1_add_disk()
1646 struct r1conf *conf = mddev->private; in raid1_remove_disk()
1723 struct r1conf *conf = mddev->private; in end_sync_write()
1804 struct r1conf *conf = mddev->private; in fix_sync_read_error()
1921 struct r1conf *conf = mddev->private; in process_checks()
2006 struct r1conf *conf = mddev->private; in sync_request_write()
2062 static void fix_read_error(struct r1conf *conf, int read_disk, in fix_read_error()
2151 struct r1conf *conf = mddev->private; in narrow_write_error()
2225 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_sync_write_finished()
2248 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_write_finished()
2287 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) in handle_read_error()
2384 struct r1conf *conf = mddev->private; in raid1d()
2454 static int init_resync(struct r1conf *conf) in init_resync()
2480 struct r1conf *conf = mddev->private; in sync_request()
2774 static struct r1conf *setup_conf(struct mddev *mddev) in setup_conf()
2776 struct r1conf *conf; in setup_conf()
2782 conf = kzalloc(sizeof(struct r1conf), GFP_KERNEL); in setup_conf()
2898 struct r1conf *conf; in run()
2986 struct r1conf *conf = priv; in raid1_free()
3042 struct r1conf *conf = mddev->private; in raid1_reshape()
3137 struct r1conf *conf = mddev->private; in raid1_quiesce()
3158 struct r1conf *conf; in raid1_takeover()