Lines Matching defs:conf

82 #define cmd_before(conf, cmd) \  argument
87 #define cmd_after(conf) write_seqlock_irq(&(conf)->resync_lock) argument
89 #define wait_event_barrier_cmd(conf, cond, cmd) \ argument
93 #define wait_event_barrier(conf, cond) \ argument
107 struct r10conf *conf = data; in r10bio_pool_alloc() local
132 struct r10conf *conf = data; in r10buf_pool_alloc() local
230 struct r10conf *conf = data; in r10buf_pool_free() local
258 static void put_all_bios(struct r10conf *conf, struct r10bio *r10_bio) in put_all_bios()
276 struct r10conf *conf = r10_bio->mddev->private; in free_r10bio() local
284 struct r10conf *conf = r10_bio->mddev->private; in put_buf() local
291 static void wake_up_barrier(struct r10conf *conf) in wake_up_barrier()
301 struct r10conf *conf = mddev->private; in reschedule_retry() local
322 struct r10conf *conf = r10_bio->mddev->private; in raid_end_bio_io() local
342 struct r10conf *conf = r10_bio->mddev->private; in update_head_pos() local
351 static int find_bio_disk(struct r10conf *conf, struct r10bio *r10_bio, in find_bio_disk()
381 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_read_request() local
458 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_write_request() local
645 static void raid10_find_phys(struct r10conf *conf, struct r10bio *r10bio) in raid10_find_phys()
660 static sector_t raid10_find_virt(struct r10conf *conf, sector_t sector, int dev) in raid10_find_virt()
724 static struct md_rdev *read_balance(struct r10conf *conf, in read_balance()
862 static void flush_pending_writes(struct r10conf *conf) in flush_pending_writes()
925 static void raise_barrier(struct r10conf *conf, int force) in raise_barrier()
945 static void lower_barrier(struct r10conf *conf) in lower_barrier()
955 static bool stop_waiting_barrier(struct r10conf *conf) in stop_waiting_barrier()
989 static bool wait_barrier_nolock(struct r10conf *conf) in wait_barrier_nolock()
1006 static bool wait_barrier(struct r10conf *conf, bool nowait) in wait_barrier()
1034 static void allow_barrier(struct r10conf *conf) in allow_barrier()
1041 static void freeze_array(struct r10conf *conf, int extra) in freeze_array()
1065 static void unfreeze_array(struct r10conf *conf) in unfreeze_array()
1089 struct r10conf *conf = mddev->private; in raid10_unplug() local
1123 static bool regular_request_wait(struct mddev *mddev, struct r10conf *conf, in regular_request_wait()
1152 struct r10conf *conf = mddev->private; in raid10_read_request() local
1260 struct r10conf *conf = mddev->private; in raid10_write_one_disk() local
1299 struct r10conf *conf = mddev->private; in wait_blocked_dev() local
1356 struct r10conf *conf = mddev->private; in raid10_write_request() local
1556 struct r10conf *conf = mddev->private; in __make_request() local
1579 struct r10conf *conf = r10bio->mddev->private; in raid_end_discard_bio() local
1602 struct r10conf *conf = r10_bio->mddev->private; in raid10_end_discard_request() local
1629 struct r10conf *conf = mddev->private; in raid10_handle_discard() local
1888 struct r10conf *conf = mddev->private; in raid10_make_request() local
1924 struct r10conf *conf = mddev->private; in raid10_status() local
1956 static int _enough(struct r10conf *conf, int previous, int ignore) in _enough()
1990 static int enough(struct r10conf *conf, int ignore) in enough()
2018 struct r10conf *conf = mddev->private; in raid10_error() local
2046 static void print_conf(struct r10conf *conf) in print_conf()
2070 static void close_sync(struct r10conf *conf) in close_sync()
2081 struct r10conf *conf = mddev->private; in raid10_spare_active() local
2128 struct r10conf *conf = mddev->private; in raid10_add_disk() local
2194 struct r10conf *conf = mddev->private; in raid10_remove_disk() local
2246 struct r10conf *conf = r10_bio->mddev->private; in __end_sync_read() local
2273 struct r10conf *conf = r10_bio->mddev->private; in end_sync_read() local
2318 struct r10conf *conf = mddev->private; in end_sync_write() local
2368 struct r10conf *conf = mddev->private; in sync_request_write() local
2507 struct r10conf *conf = mddev->private; in fix_recovery_read_error() local
2582 struct r10conf *conf = mddev->private; in recovery_request_write() local
2650 static void fix_read_error(struct r10conf *conf, struct mddev *mddev, struct r10bio *r10_bio) in fix_read_error()
2810 struct r10conf *conf = mddev->private; in narrow_write_error() local
2871 struct r10conf *conf = mddev->private; in handle_read_error() local
2905 static void handle_write_completed(struct r10conf *conf, struct r10bio *r10_bio) in handle_write_completed()
3011 struct r10conf *conf = mddev->private; in raid10d() local
3080 static int init_resync(struct r10conf *conf) in init_resync()
3098 static struct r10bio *raid10_alloc_init_r10buf(struct r10conf *conf) in raid10_alloc_init_r10buf()
3131 static void raid10_set_cluster_sync_high(struct r10conf *conf) in raid10_set_cluster_sync_high()
3199 struct r10conf *conf = mddev->private; in raid10_sync_request() local
3820 struct r10conf *conf = mddev->private; in raid10_size() local
3836 static void calc_sectors(struct r10conf *conf, sector_t size) in calc_sectors()
3923 static void raid10_free_conf(struct r10conf *conf) in raid10_free_conf()
3939 struct r10conf *conf = NULL; in setup_conf() local
4024 static unsigned int raid10_nr_stripes(struct r10conf *conf) in raid10_nr_stripes()
4035 struct r10conf *conf = mddev->private; in raid10_set_queue_limits() local
4054 struct r10conf *conf; in raid10_run() local
4235 struct r10conf *conf = mddev->private; in raid10_quiesce() local
4257 struct r10conf *conf = mddev->private; in raid10_resize() local
4292 struct r10conf *conf; in raid10_takeover_raid0() local
4362 struct r10conf *conf = mddev->private; in raid10_check_reshape() local
4409 static int calc_degraded(struct r10conf *conf) in calc_degraded()
4467 struct r10conf *conf = mddev->private; in raid10_start_reshape() local
4701 struct r10conf *conf = mddev->private; in reshape_request() local
4945 struct r10conf *conf = mddev->private; in reshape_request_write() local
4982 static void end_reshape(struct r10conf *conf) in end_reshape()
5001 struct r10conf *conf = mddev->private; in raid10_update_reshape_pos() local
5017 struct r10conf *conf = mddev->private; in handle_reshape_read_error() local
5087 struct r10conf *conf = mddev->private; in end_reshape_write() local
5117 struct r10conf *conf = mddev->private; in raid10_finish_reshape() local