Lines Matching refs:far_copies
611 stripe *= geo->far_copies; in __raid10_find_phys()
624 for (f = 1; f < geo->far_copies; f++) { in __raid10_find_phys()
691 fc = sector_div(chunk, geo->far_copies); in raid10_find_virt()
852 else if (geo->far_copies > 1) in read_balance()
1654 int far_copies = geo->far_copies; in raid10_handle_discard() local
1747 first_stripe_index *= geo->far_copies; in raid10_handle_discard()
1756 last_stripe_index *= geo->far_copies; in raid10_handle_discard()
1881 if (!geo->far_offset && --far_copies) { in raid10_handle_discard()
1946 if (conf->geo.far_copies > 1) { in raid10_status()
1948 seq_printf(seq, " %d offset-copies", conf->geo.far_copies); in raid10_status()
1950 seq_printf(seq, " %d far-copies", conf->geo.far_copies); in raid10_status()
3942 sector_div(size, conf->geo.far_copies); in raid10_size()
3957 sector_div(size, conf->geo.far_copies); in calc_sectors()
3974 sector_div(size, conf->geo.far_copies); in calc_sectors()
4013 geo->far_copies = fc; in setup_geo()
4236 if (conf->geo.far_copies != 1 && in raid10_run()
4239 if (conf->prev.far_copies != 1 && in raid10_run()
4299 conf->prev.far_copies); in raid10_run()
4301 conf->geo.far_copies); in raid10_run()
4365 if (conf->geo.far_copies > 1 && !conf->geo.far_offset) in raid10_resize()
4466 if (conf->geo.far_copies != 1 && !conf->geo.far_offset) in raid10_check_reshape()
4472 if (geo.far_copies > 1 && !geo.far_offset) in raid10_check_reshape()
4582 conf->prev.far_copies); in raid10_start_reshape()
4584 conf->geo.far_copies); in raid10_start_reshape()
4753 s *= geo->far_copies; in last_dev_address()
4767 s *= geo->far_copies; in first_dev_address()