Lines Matching defs:region
84 * We need to keep track of which region a bio is doing io for.
87 * always zero and then combine it with the region number directly in
91 unsigned region)
98 bio->bi_private = (void *)((unsigned long)io | region);
102 unsigned *region)
107 *region = val & (DM_IO_MAX_REGIONS - 1);
128 static void dec_count(struct io *io, unsigned int region, blk_status_t error)
131 set_bit(region, &io->error_bits);
140 unsigned region;
149 retrieve_io_and_region_from_bio(bio, &io, ®ion);
154 dec_count(io, region, error);
296 static void do_region(int op, int op_flags, unsigned region,
323 dec_count(io, region, BLK_STS_NOTSUPP);
353 store_io_and_region_in_bio(bio, io, region);