Lines Matching refs:far_copies
613 stripe *= geo->far_copies; in __raid10_find_phys()
626 for (f = 1; f < geo->far_copies; f++) { in __raid10_find_phys()
693 fc = sector_div(chunk, geo->far_copies); in raid10_find_virt()
846 else if (geo->far_copies > 1) in read_balance()
1649 int far_copies = geo->far_copies; in raid10_handle_discard() local
1742 first_stripe_index *= geo->far_copies; in raid10_handle_discard()
1751 last_stripe_index *= geo->far_copies; in raid10_handle_discard()
1877 if (!geo->far_offset && --far_copies) { in raid10_handle_discard()
1942 if (conf->geo.far_copies > 1) { in raid10_status()
1944 seq_printf(seq, " %d offset-copies", conf->geo.far_copies); in raid10_status()
1946 seq_printf(seq, " %d far-copies", conf->geo.far_copies); in raid10_status()
3913 sector_div(size, conf->geo.far_copies); in raid10_size()
3928 sector_div(size, conf->geo.far_copies); in calc_sectors()
3945 sector_div(size, conf->geo.far_copies); in calc_sectors()
3984 geo->far_copies = fc; in setup_geo()
4198 if (conf->geo.far_copies != 1 && in raid10_run()
4201 if (conf->prev.far_copies != 1 && in raid10_run()
4261 conf->prev.far_copies); in raid10_run()
4263 conf->geo.far_copies); in raid10_run()
4338 if (conf->geo.far_copies > 1 && !conf->geo.far_offset) in raid10_resize()
4440 if (conf->geo.far_copies != 1 && !conf->geo.far_offset) in raid10_check_reshape()
4446 if (geo.far_copies > 1 && !geo.far_offset) in raid10_check_reshape()
4556 conf->prev.far_copies); in raid10_start_reshape()
4558 conf->geo.far_copies); in raid10_start_reshape()
4727 s *= geo->far_copies; in last_dev_address()
4741 s *= geo->far_copies; in first_dev_address()