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()
345 struct r10conf *conf = r10_bio->mddev->private; in update_head_pos()
354 static int find_bio_disk(struct r10conf *conf, struct r10bio *r10_bio, in find_bio_disk()
384 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_read_request()
460 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_write_request()
652 static void raid10_find_phys(struct r10conf *conf, struct r10bio *r10bio) in raid10_find_phys()
667 static sector_t raid10_find_virt(struct r10conf *conf, sector_t sector, int dev) in raid10_find_virt()
731 static struct md_rdev *read_balance(struct r10conf *conf, in read_balance()
879 static void flush_pending_writes(struct r10conf *conf) in flush_pending_writes()
952 static void raise_barrier(struct r10conf *conf, int force) in raise_barrier()
970 static void lower_barrier(struct r10conf *conf) in lower_barrier()
980 static bool stop_waiting_barrier(struct r10conf *conf) in stop_waiting_barrier()
1007 static bool wait_barrier_nolock(struct r10conf *conf) in wait_barrier_nolock()
1024 static bool wait_barrier(struct r10conf *conf, bool nowait) in wait_barrier()
1052 static void allow_barrier(struct r10conf *conf) in allow_barrier()
1059 static void freeze_array(struct r10conf *conf, int extra) in freeze_array()
1083 static void unfreeze_array(struct r10conf *conf) in unfreeze_array()
1107 struct r10conf *conf = mddev->private; in raid10_unplug()
1149 static bool regular_request_wait(struct mddev *mddev, struct r10conf *conf, in regular_request_wait()
1178 struct r10conf *conf = mddev->private; in raid10_read_request()
1280 struct r10conf *conf = mddev->private; in raid10_write_one_disk()
1337 struct r10conf *conf = mddev->private; in wait_blocked_dev()
1403 struct r10conf *conf = mddev->private; in raid10_write_request()
1565 struct r10conf *conf = mddev->private; in __make_request()
1588 struct r10conf *conf = r10bio->mddev->private; in raid_end_discard_bio()
1611 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_discard_request()
1647 struct r10conf *conf = mddev->private; in raid10_handle_discard()
1898 struct r10conf *conf = mddev->private; in raid10_make_request()
1935 struct r10conf *conf = mddev->private; in raid10_status()
1966 static int _enough(struct r10conf *conf, int previous, int ignore) in _enough()
2002 static int enough(struct r10conf *conf, int ignore) in enough()
2030 struct r10conf *conf = mddev->private; in raid10_error()
2058 static void print_conf(struct r10conf *conf) in print_conf()
2083 static void close_sync(struct r10conf *conf) in close_sync()
2094 struct r10conf *conf = mddev->private; in raid10_spare_active()
2141 struct r10conf *conf = mddev->private; in raid10_add_disk()
2207 struct r10conf *conf = mddev->private; in raid10_remove_disk()
2271 struct r10conf *conf = r10_bio->mddev->private; in __end_sync_read()
2298 struct r10conf *conf = r10_bio->mddev->private; in end_sync_read()
2343 struct r10conf *conf = mddev->private; in end_sync_write()
2396 struct r10conf *conf = mddev->private; in sync_request_write()
2535 struct r10conf *conf = mddev->private; in fix_recovery_read_error()
2610 struct r10conf *conf = mddev->private; in recovery_request_write()
2714 static void fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) in fix_read_error()
2895 struct r10conf *conf = mddev->private; in narrow_write_error()
2956 struct r10conf *conf = mddev->private; in handle_read_error()
2986 static void handle_write_completed(struct r10conf *conf, struct r10bio *r10_bio) in handle_write_completed()
3092 struct r10conf *conf = mddev->private; in raid10d()
3161 static int init_resync(struct r10conf *conf) in init_resync()
3179 static struct r10bio *raid10_alloc_init_r10buf(struct r10conf *conf) in raid10_alloc_init_r10buf()
3212 static void raid10_set_cluster_sync_high(struct r10conf *conf) in raid10_set_cluster_sync_high()
3280 struct r10conf *conf = mddev->private; in raid10_sync_request()
3904 struct r10conf *conf = mddev->private; in raid10_size()
3920 static void calc_sectors(struct r10conf *conf, sector_t size) in calc_sectors()
4007 static struct r10conf *setup_conf(struct mddev *mddev) in setup_conf()
4009 struct r10conf *conf = NULL; in setup_conf()
4029 conf = kzalloc(sizeof(struct r10conf), GFP_KERNEL); in setup_conf()
4099 static void raid10_set_io_opt(struct r10conf *conf) in raid10_set_io_opt()
4111 struct r10conf *conf; in raid10_run()
4297 struct r10conf *conf = priv; in raid10_free()
4310 struct r10conf *conf = mddev->private; in raid10_quiesce()
4332 struct r10conf *conf = mddev->private; in raid10_resize()
4366 struct r10conf *conf; in raid10_takeover_raid0()
4437 struct r10conf *conf = mddev->private; in raid10_check_reshape()
4484 static int calc_degraded(struct r10conf *conf) in calc_degraded()
4544 struct r10conf *conf = mddev->private; in raid10_start_reshape()
4786 struct r10conf *conf = mddev->private; in reshape_request()
5032 struct r10conf *conf = mddev->private; in reshape_request_write()
5072 static void end_reshape(struct r10conf *conf) in end_reshape()
5092 struct r10conf *conf = mddev->private; in raid10_update_reshape_pos()
5108 struct r10conf *conf = mddev->private; in handle_reshape_read_error()
5182 struct r10conf *conf = mddev->private; in end_reshape_write()
5216 struct r10conf *conf = mddev->private; in raid10_finish_reshape()