Home
last modified time | relevance | path

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

/drivers/md/
Ddm-ebs-target.c41 static inline sector_t __block_mod(sector_t sector, unsigned int bs) in __block_mod() function
49 sector_t end_sector = __block_mod(bio->bi_iter.bi_sector, ec->u_bs) + bio_sectors(bio); in __nr_blocks()
51 return __sector_to_block(ec, end_sector) + (__block_mod(end_sector, ec->u_bs) ? 1 : 0); in __nr_blocks()
70 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec()
152 if (__block_mod(sector, ec->u_bs)) { in __ebs_discard_bio()
158 if (blocks && __block_mod(bio_end_sector(bio), ec->u_bs)) in __ebs_discard_bio()
198 if (__block_mod(bio->bi_iter.bi_sector, ec->u_bs)) in __ebs_process_bios()
200 if (__block_mod(bio_end_sector(bio), ec->u_bs) && block2 != block1) in __ebs_process_bios()
310 if (__block_mod(ec->start, ec->u_bs)) { in ebs_ctr()
373 if (likely(__block_mod(bio->bi_iter.bi_sector, ec->u_bs) || in ebs_map()
[all …]