Home
last modified time | relevance | path

Searched refs:u_bs (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/md/
H A Ddm-ebs-target.c32 …unsigned int u_bs; /* Underlying block size in sectors retrieved from/set on lower layer device. … member
50 sector_t end_sector = __block_mod(bio->bi_iter.bi_sector, ec->u_bs) + bio_sectors(bio); in __nr_blocks()
52 return __sector_to_block(ec, end_sector) + (__block_mod(end_sector, ec->u_bs) ? 1 : 0); in __nr_blocks()
72 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec()
154 if (__block_mod(sector, ec->u_bs)) { in __ebs_discard_bio()
160 if (blocks && __block_mod(bio_end_sector(bio), ec->u_bs)) in __ebs_discard_bio()
200 if (__block_mod(bio->bi_iter.bi_sector, ec->u_bs)) in __ebs_process_bios()
202 if (__block_mod(bio_end_sector(bio), ec->u_bs) && block2 != block1) in __ebs_process_bios()
288 ec->u_bs = tmp1; in ebs_ctr()
302 ec->u_bs = to_sector(bdev_logical_block_size(ec->dev->bdev)); in ebs_ctr()
[all …]