Lines Matching defs:conf

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() local
263 struct r1conf *conf = r1_bio->mddev->private; in put_buf() local
282 struct r1conf *conf = mddev->private; in reschedule_retry() local
313 struct r1conf *conf = r1_bio->mddev->private; in raid_end_bio_io() local
339 struct r1conf *conf = r1_bio->mddev->private; in update_head_pos() local
351 struct r1conf *conf = r1_bio->mddev->private; in find_bio_disk() local
368 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
579 static void update_read_sectors(struct r1conf *conf, int disk, in update_read_sectors()
590 static int choose_first_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_first_rdev()
626 static int choose_bb_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_bb_rdev()
665 static int choose_slow_rdev(struct r1conf *conf, struct r1bio *r1_bio, in choose_slow_rdev()
714 static bool is_sequential(struct r1conf *conf, int disk, struct r1bio *r1_bio) in is_sequential()
725 static bool should_choose_next(struct r1conf *conf, int disk) in should_choose_next()
767 static int choose_best_rdev(struct r1conf *conf, struct r1bio *r1_bio) in choose_best_rdev()
863 static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, in read_balance()
894 static void wake_up_barrier(struct r1conf *conf) in wake_up_barrier()
900 static void flush_bio_list(struct r1conf *conf, struct bio *bio) in flush_bio_list()
915 static void flush_pending_writes(struct r1conf *conf) in flush_pending_writes()
970 static int raise_barrier(struct r1conf *conf, sector_t sector_nr) in raise_barrier()
1020 static void lower_barrier(struct r1conf *conf, sector_t sector_nr) in lower_barrier()
1031 static bool _wait_barrier(struct r1conf *conf, int idx, bool nowait) in _wait_barrier()
1100 static bool wait_read_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_read_barrier()
1143 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier()
1150 static void _allow_barrier(struct r1conf *conf, int idx) in _allow_barrier()
1156 static void allow_barrier(struct r1conf *conf, sector_t sector_nr) in allow_barrier()
1164 static int get_unqueued_pending(struct r1conf *conf) in get_unqueued_pending()
1176 static void freeze_array(struct r1conf *conf, int extra) in freeze_array()
1211 static void unfreeze_array(struct r1conf *conf) in unfreeze_array()
1273 struct r1conf *conf = mddev->private; in raid1_unplug() local
1304 struct r1conf *conf = mddev->private; in alloc_r1bio() local
1317 struct r1conf *conf = mddev->private; in raid1_read_request() local
1424 struct r1conf *conf = mddev->private; in wait_blocked_rdev() local
1459 struct r1conf *conf = mddev->private; in raid1_write_request() local
1720 struct r1conf *conf = mddev->private; in raid1_status() local
1754 struct r1conf *conf = mddev->private; in raid1_error() local
1786 static void print_conf(struct r1conf *conf) in print_conf()
1809 static void close_sync(struct r1conf *conf) in close_sync()
1824 struct r1conf *conf = mddev->private; in raid1_spare_active() local
1873 static bool raid1_add_conf(struct r1conf *conf, struct md_rdev *rdev, int disk, in raid1_add_conf()
1897 static bool raid1_remove_conf(struct r1conf *conf, int disk) in raid1_remove_conf()
1921 struct r1conf *conf = mddev->private; in raid1_add_disk() local
1979 struct r1conf *conf = mddev->private; in raid1_remove_disk() local
2087 struct r1conf *conf = mddev->private; in end_sync_write() local
2139 struct r1conf *conf = mddev->private; in fix_sync_read_error() local
2261 struct r1conf *conf = mddev->private; in process_checks() local
2339 struct r1conf *conf = mddev->private; in sync_request_write() local
2401 static void fix_read_error(struct r1conf *conf, struct r1bio *r1_bio) in fix_read_error()
2495 struct r1conf *conf = mddev->private; in narrow_write_error() local
2561 static void handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_sync_write_finished()
2584 static void handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) in handle_write_finished()
2628 static void handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) in handle_read_error()
2676 struct r1conf *conf = mddev->private; in raid1d() local
2741 static int init_resync(struct r1conf *conf) in init_resync()
2752 static struct r1bio *raid1_alloc_init_r1buf(struct r1conf *conf) in raid1_alloc_init_r1buf()
2782 struct r1conf *conf = mddev->private; in raid1_sync_request() local
3085 struct r1conf *conf; in setup_conf() local
3232 struct r1conf *conf; in raid1_run() local
3313 struct r1conf *conf = priv; in raid1_free() local
3374 struct r1conf *conf = mddev->private; in raid1_reshape() local
3470 struct r1conf *conf = mddev->private; in raid1_quiesce() local
3484 struct r1conf *conf; in raid1_takeover() local