Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-zoned-reclaim.c78 dmz_start_sect(zmd, zone) + dmz_blk2sect(wp_block), in dmz_reclaim_align_wp()
79 dmz_blk2sect(nr_blocks), GFP_NOIO, 0); in dmz_reclaim_align_wp()
159 src.sector = dmz_blk2sect(src_zone_block + block); in dmz_reclaim_copy()
160 src.count = dmz_blk2sect(nr_blocks); in dmz_reclaim_copy()
163 dst.sector = dmz_blk2sect(dst_zone_block + block); in dmz_reclaim_copy()
Ddm-zoned.h42 #define dmz_blk2sect(b) ((sector_t)(b) << DMZ_BLOCK_SECTORS_SHIFT) macro
Ddm-zoned-target.c128 dmz_start_sect(dmz->metadata, zone) + dmz_blk2sect(chunk_block); in dmz_submit_bio()
129 clone->bi_iter.bi_size = dmz_blk2sect(nr_blocks) << SECTOR_SHIFT; in dmz_submit_bio()
Ddm-zoned-metadata.c441 bio->bi_iter.bi_sector = dmz_blk2sect(block); in dmz_get_mblock_slow()
594 bio->bi_iter.bi_sector = dmz_blk2sect(block); in dmz_write_mblock()
621 bio->bi_iter.bi_sector = dmz_blk2sect(block); in dmz_rdwr_block()