Lines Matching refs:r10conf
67 static void allow_barrier(struct r10conf *conf);
68 static void lower_barrier(struct r10conf *conf);
69 static int _enough(struct r10conf *conf, int previous, int ignore);
70 static int enough(struct r10conf *conf, int ignore);
75 static void end_reshape(struct r10conf *conf);
108 struct r10conf *conf = data; in r10bio_pool_alloc()
133 struct r10conf *conf = data; in r10buf_pool_alloc()
231 struct r10conf *conf = data; in r10buf_pool_free()
259 static void put_all_bios(struct r10conf *conf, struct r10bio *r10_bio) in put_all_bios()
277 struct r10conf *conf = r10_bio->mddev->private; in free_r10bio()
285 struct r10conf *conf = r10_bio->mddev->private; in put_buf()
292 static void wake_up_barrier(struct r10conf *conf) in wake_up_barrier()
302 struct r10conf *conf = mddev->private; in reschedule_retry()
323 struct r10conf *conf = r10_bio->mddev->private; in raid_end_bio_io()
343 struct r10conf *conf = r10_bio->mddev->private; in update_head_pos()
352 static int find_bio_disk(struct r10conf *conf, struct r10bio *r10_bio, in find_bio_disk()
382 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_read_request()
458 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_write_request()
650 static void raid10_find_phys(struct r10conf *conf, struct r10bio *r10bio) in raid10_find_phys()
665 static sector_t raid10_find_virt(struct r10conf *conf, sector_t sector, int dev) in raid10_find_virt()
729 static struct md_rdev *read_balance(struct r10conf *conf, in read_balance()
885 static void flush_pending_writes(struct r10conf *conf) in flush_pending_writes()
948 static void raise_barrier(struct r10conf *conf, int force) in raise_barrier()
968 static void lower_barrier(struct r10conf *conf) in lower_barrier()
978 static bool stop_waiting_barrier(struct r10conf *conf) in stop_waiting_barrier()
1012 static bool wait_barrier_nolock(struct r10conf *conf) in wait_barrier_nolock()
1029 static bool wait_barrier(struct r10conf *conf, bool nowait) in wait_barrier()
1057 static void allow_barrier(struct r10conf *conf) in allow_barrier()
1064 static void freeze_array(struct r10conf *conf, int extra) in freeze_array()
1088 static void unfreeze_array(struct r10conf *conf) in unfreeze_array()
1112 struct r10conf *conf = mddev->private; in raid10_unplug()
1146 static bool regular_request_wait(struct mddev *mddev, struct r10conf *conf, in regular_request_wait()
1175 struct r10conf *conf = mddev->private; in raid10_read_request()
1277 struct r10conf *conf = mddev->private; in raid10_write_one_disk()
1346 struct r10conf *conf = mddev->private; in wait_blocked_dev()
1410 struct r10conf *conf = mddev->private; in raid10_write_request()
1570 struct r10conf *conf = mddev->private; in __make_request()
1593 struct r10conf *conf = r10bio->mddev->private; in raid_end_discard_bio()
1616 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_discard_request()
1652 struct r10conf *conf = mddev->private; in raid10_handle_discard()
1902 struct r10conf *conf = mddev->private; in raid10_make_request()
1939 struct r10conf *conf = mddev->private; in raid10_status()
1970 static int _enough(struct r10conf *conf, int previous, int ignore) in _enough()
2006 static int enough(struct r10conf *conf, int ignore) in enough()
2034 struct r10conf *conf = mddev->private; in raid10_error()
2062 static void print_conf(struct r10conf *conf) in print_conf()
2087 static void close_sync(struct r10conf *conf) in close_sync()
2098 struct r10conf *conf = mddev->private; in raid10_spare_active()
2145 struct r10conf *conf = mddev->private; in raid10_add_disk()
2216 struct r10conf *conf = mddev->private; in raid10_remove_disk()
2280 struct r10conf *conf = r10_bio->mddev->private; in __end_sync_read()
2307 struct r10conf *conf = r10_bio->mddev->private; in end_sync_read()
2352 struct r10conf *conf = mddev->private; in end_sync_write()
2405 struct r10conf *conf = mddev->private; in sync_request_write()
2544 struct r10conf *conf = mddev->private; in fix_recovery_read_error()
2619 struct r10conf *conf = mddev->private; in recovery_request_write()
2726 static void fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) in fix_read_error()
2907 struct r10conf *conf = mddev->private; in narrow_write_error()
2968 struct r10conf *conf = mddev->private; in handle_read_error()
3002 static void handle_write_completed(struct r10conf *conf, struct r10bio *r10_bio) in handle_write_completed()
3108 struct r10conf *conf = mddev->private; in raid10d()
3177 static int init_resync(struct r10conf *conf) in init_resync()
3195 static struct r10bio *raid10_alloc_init_r10buf(struct r10conf *conf) in raid10_alloc_init_r10buf()
3228 static void raid10_set_cluster_sync_high(struct r10conf *conf) in raid10_set_cluster_sync_high()
3296 struct r10conf *conf = mddev->private; in raid10_sync_request()
3933 struct r10conf *conf = mddev->private; in raid10_size()
3949 static void calc_sectors(struct r10conf *conf, sector_t size) in calc_sectors()
4036 static void raid10_free_conf(struct r10conf *conf) in raid10_free_conf()
4050 static struct r10conf *setup_conf(struct mddev *mddev) in setup_conf()
4052 struct r10conf *conf = NULL; in setup_conf()
4072 conf = kzalloc(sizeof(struct r10conf), GFP_KERNEL); in setup_conf()
4137 static void raid10_set_io_opt(struct r10conf *conf) in raid10_set_io_opt()
4149 struct r10conf *conf; in raid10_run()
4337 struct r10conf *conf = mddev->private; in raid10_quiesce()
4359 struct r10conf *conf = mddev->private; in raid10_resize()
4393 struct r10conf *conf; in raid10_takeover_raid0()
4463 struct r10conf *conf = mddev->private; in raid10_check_reshape()
4510 static int calc_degraded(struct r10conf *conf) in calc_degraded()
4570 struct r10conf *conf = mddev->private; in raid10_start_reshape()
4812 struct r10conf *conf = mddev->private; in reshape_request()
5058 struct r10conf *conf = mddev->private; in reshape_request_write()
5098 static void end_reshape(struct r10conf *conf) in end_reshape()
5118 struct r10conf *conf = mddev->private; in raid10_update_reshape_pos()
5134 struct r10conf *conf = mddev->private; in handle_reshape_read_error()
5208 struct r10conf *conf = mddev->private; in end_reshape_write()
5242 struct r10conf *conf = mddev->private; in raid10_finish_reshape()