Searched refs:to_bytes (Results 1 – 7 of 7) sorted by relevance
611 static inline unsigned long to_bytes(sector_t n) in to_bytes() function
277 bio->bi_iter.bi_size = to_bytes(end - begin); in stripe_map_range()
376 len = min(len, to_bytes(remaining)); in do_region()
984 rs->md.bitmap_info.chunksize = to_bytes(region_size); in validate_region_size()3741 unsigned int chunk_size_bytes = to_bytes(rs->md.chunk_sectors); in raid_io_hints()3960 mddev->bitmap_info.chunksize != to_bytes(rs->requested_bitmap_chunk_sectors)) { in raid_preresume()3962 to_bytes(rs->requested_bitmap_chunk_sectors), 0); in raid_preresume()
1315 bio->bi_iter.bi_size = to_bytes(len); in bio_setup_sector()1344 bio_advance(clone, to_bytes(sector - clone->bi_iter.bi_sector)); in clone_bio()1345 clone->bi_iter.bi_size = to_bytes(len); in clone_bio()
448 bio->bi_iter.bi_size = to_bytes(len); in trim_bio()
376 int to, int to_bytes, short *snum012, int flow) in get_num_ver() argument449 end_bytes = (to_bytes != -1) ? to_bytes : 0; in get_num_ver()