Lines Matching refs:copies

75 	int size = offsetof(struct r10bio, devs[conf->copies]);  in r10bio_pool_alloc()
116 nalloc = conf->copies; /* resync */ in r10buf_pool_alloc()
186 for (j=0; j < conf->copies; j++) { in r10buf_pool_free()
206 for (i = 0; i < conf->copies; i++) { in put_all_bios()
304 for (slot = 0; slot < conf->copies; slot++) { in find_bio_disk()
313 BUG_ON(slot == conf->copies); in find_bio_disk()
562 BUG_ON(slot != conf->copies); in raid10_find_phys()
627 struct r10dev devs[conf->copies]; in raid10_mergeable_bvec()
634 for (s = 0; s < conf->copies; s++) { in raid10_mergeable_bvec()
718 for (slot = 0; slot < conf->copies ; slot++) { in read_balance()
793 if (slot >= conf->copies) { in read_balance()
1178 for (i = 0; i < conf->copies; i++) { in make_request()
1307 for (i = 0; i < conf->copies; i++) { in make_request()
1420 int n = conf->copies; in enough()
1819 for (i=0; i<conf->copies; i++) in sync_request_write()
1823 if (i == conf->copies) in sync_request_write()
1831 for (i=0 ; i < conf->copies ; i++) { in sync_request_write()
1896 for (i = 0; i < conf->copies; i++) { in sync_request_write()
2195 if (sl == conf->copies) in fix_read_error()
2227 sl = conf->copies; in fix_read_error()
2265 sl = conf->copies; in fix_read_error()
2502 for (m = 0; m < conf->copies; m++) { in handle_write_completed()
2539 for (m = 0; m < conf->copies; m++) { in handle_write_completed()
2855 for (j=0; j<conf->copies;j++) { in sync_request()
2894 for (k=0; k<conf->copies; k++) in sync_request()
2897 BUG_ON(k == conf->copies); in sync_request()
2945 if (j == conf->copies) { in sync_request()
2953 for (k = 0; k < conf->copies; k++) in sync_request()
3024 for (i=0; i<conf->copies; i++) { in sync_request()
3086 for (i=0; i<conf->copies; i++) { in sync_request()
3215 size = size * conf->copies; in calc_sectors()
3275 conf->copies = nc*fc; in setup_conf()