Lines Matching defs:conf
83 #define cmd_before(conf, cmd) \ argument
88 #define cmd_after(conf) write_seqlock_irq(&(conf)->resync_lock) argument
90 #define wait_event_barrier_cmd(conf, cond, cmd) \ argument
94 #define wait_event_barrier(conf, cond) \ argument
108 struct r10conf *conf = data; in r10bio_pool_alloc() local
133 struct r10conf *conf = data; in r10buf_pool_alloc() local
231 struct r10conf *conf = data; in r10buf_pool_free() local
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() local
285 struct r10conf *conf = r10_bio->mddev->private; in put_buf() local
292 static void wake_up_barrier(struct r10conf *conf) in wake_up_barrier()
302 struct r10conf *conf = mddev->private; in reschedule_retry() local
323 struct r10conf *conf = r10_bio->mddev->private; in raid_end_bio_io() local
345 struct r10conf *conf = r10_bio->mddev->private; in update_head_pos() local
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() local
460 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_write_request() local
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() local
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() local
1280 struct r10conf *conf = mddev->private; in raid10_write_one_disk() local
1337 struct r10conf *conf = mddev->private; in wait_blocked_dev() local
1403 struct r10conf *conf = mddev->private; in raid10_write_request() local
1565 struct r10conf *conf = mddev->private; in __make_request() local
1588 struct r10conf *conf = r10bio->mddev->private; in raid_end_discard_bio() local
1611 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_discard_request() local
1647 struct r10conf *conf = mddev->private; in raid10_handle_discard() local
1898 struct r10conf *conf = mddev->private; in raid10_make_request() local
1935 struct r10conf *conf = mddev->private; in raid10_status() local
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() local
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() local
2141 struct r10conf *conf = mddev->private; in raid10_add_disk() local
2207 struct r10conf *conf = mddev->private; in raid10_remove_disk() local
2271 struct r10conf *conf = r10_bio->mddev->private; in __end_sync_read() local
2298 struct r10conf *conf = r10_bio->mddev->private; in end_sync_read() local
2343 struct r10conf *conf = mddev->private; in end_sync_write() local
2396 struct r10conf *conf = mddev->private; in sync_request_write() local
2535 struct r10conf *conf = mddev->private; in fix_recovery_read_error() local
2610 struct r10conf *conf = mddev->private; in recovery_request_write() local
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() local
2956 struct r10conf *conf = mddev->private; in handle_read_error() local
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() local
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() local
3904 struct r10conf *conf = mddev->private; in raid10_size() local
3920 static void calc_sectors(struct r10conf *conf, sector_t size) in calc_sectors()
4009 struct r10conf *conf = NULL; in setup_conf() local
4099 static void raid10_set_io_opt(struct r10conf *conf) in raid10_set_io_opt()
4111 struct r10conf *conf; in raid10_run() local
4299 struct r10conf *conf = priv; in raid10_free() local
4312 struct r10conf *conf = mddev->private; in raid10_quiesce() local
4334 struct r10conf *conf = mddev->private; in raid10_resize() local
4368 struct r10conf *conf; in raid10_takeover_raid0() local
4439 struct r10conf *conf = mddev->private; in raid10_check_reshape() local
4486 static int calc_degraded(struct r10conf *conf) in calc_degraded()
4546 struct r10conf *conf = mddev->private; in raid10_start_reshape() local
4788 struct r10conf *conf = mddev->private; in reshape_request() local
5034 struct r10conf *conf = mddev->private; in reshape_request_write() local
5074 static void end_reshape(struct r10conf *conf) in end_reshape()
5094 struct r10conf *conf = mddev->private; in raid10_update_reshape_pos() local
5110 struct r10conf *conf = mddev->private; in handle_reshape_read_error() local
5184 struct r10conf *conf = mddev->private; in end_reshape_write() local
5218 struct r10conf *conf = mddev->private; in raid10_finish_reshape() local