Lines Matching defs:r10bio
71 /* allocate a r10bio with room for raid_disks entries in the bios array */
163 r10bio_t *r10bio = __r10_bio;
167 struct bio *bio = r10bio->devs[j].bio;
176 r10bio_pool_free(r10bio, conf);
375 static void raid10_find_phys(conf_t *conf, r10bio_t *r10bio)
386 chunk = r10bio->sector >> conf->chunk_shift;
387 sector = r10bio->sector & conf->chunk_mask;
401 r10bio->devs[slot].addr = sector;
402 r10bio->devs[slot].devnum = d;
410 r10bio->devs[slot].devnum = d;
411 r10bio->devs[slot].addr = s;
1884 * Both must result in an r10bio with a list of bios that
1886 * and bi_private set to the r10bio.