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)
255 struct r1conf *conf = r1_bio->mddev->private;
263 struct r1conf *conf = r1_bio->mddev->private;
282 struct r1conf *conf = mddev->private;
313 struct r1conf *conf = r1_bio->mddev->private;
339 struct r1conf *conf = r1_bio->mddev->private;
351 struct r1conf *conf = r1_bio->mddev->private;
368 struct r1conf *conf = r1_bio->mddev->private;
450 struct r1conf *conf = r1_bio->mddev->private;
598 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors)
793 static void wake_up_barrier(struct r1conf *conf)
799 static void flush_bio_list(struct r1conf *conf, struct bio *bio)
814 static void flush_pending_writes(struct r1conf *conf)
869 static int raise_barrier(struct r1conf *conf, sector_t sector_nr)
919 static void lower_barrier(struct r1conf *conf, sector_t sector_nr)
930 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait)
999 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait)
1042 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait)
1049 static void _allow_barrier(struct r1conf *conf, int idx)
1055 static void allow_barrier(struct r1conf *conf, sector_t sector_nr)
1063 static int get_unqueued_pending(struct r1conf *conf)
1075 static void freeze_array(struct r1conf *conf, int extra)
1110 static void unfreeze_array(struct r1conf *conf)
1174 struct r1conf *conf = mddev->private;
1205 struct r1conf *conf = mddev->private;
1218 struct r1conf *conf = mddev->private;
1339 struct r1conf *conf = mddev->private;
1616 struct r1conf *conf = mddev->private;
1649 struct r1conf *conf = mddev->private;
1681 static void print_conf(struct r1conf *conf)
1705 static void close_sync(struct r1conf *conf)
1720 struct r1conf *conf = mddev->private;
1771 struct r1conf *conf = mddev->private;
1837 struct r1conf *conf = mddev->private;
1961 struct r1conf *conf = mddev->private;
2018 struct r1conf *conf = mddev->private;
2145 struct r1conf *conf = mddev->private;
2223 struct r1conf *conf = mddev->private;
2274 static void fix_read_error(struct r1conf *conf, int read_disk,
2372 struct r1conf *conf = mddev->private;
2438 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio)
2461 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio)
2507 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio)
2556 struct r1conf *conf = mddev->private;
2623 static int init_resync(struct r1conf *conf)
2634 static struct r1bio *raid1_alloc_init_r1buf(struct r1conf *conf)
2664 struct r1conf *conf = mddev->private;
2968 static struct r1conf *setup_conf(struct mddev *mddev)
2970 struct r1conf *conf;
2976 conf = kzalloc(sizeof(struct r1conf), GFP_KERNEL);
3110 struct r1conf *conf;
3199 struct r1conf *conf = priv;
3258 struct r1conf *conf = mddev->private;
3354 struct r1conf *conf = mddev->private;
3368 struct r1conf *conf;