Searched refs:to_bytes (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-ebs-target.c | 70 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec() 275 to_bytes(tmp1) > PAGE_SIZE) { in ebs_ctr() 315 ec->bufio = dm_bufio_client_create(ec->dev->bdev, to_bytes(ec->u_bs), 1, 0, NULL, NULL); in ebs_ctr() 423 limits->logical_block_size = to_bytes(ec->e_bs); in ebs_io_hints() 424 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
|
D | dm-io.c | 376 len = min(len, to_bytes(remaining)); in do_region()
|
D | dm-stripe.c | 264 bio->bi_iter.bi_size = to_bytes(end - begin); in stripe_map_range()
|
D | dm-raid.c | 988 rs->md.bitmap_info.chunksize = to_bytes(region_size); in validate_region_size() 3749 unsigned int chunk_size_bytes = to_bytes(rs->md.chunk_sectors); in raid_io_hints() 3978 mddev->bitmap_info.chunksize != to_bytes(rs->requested_bitmap_chunk_sectors)))) { in raid_preresume() 3979 int chunksize = to_bytes(rs->requested_bitmap_chunk_sectors) ?: mddev->bitmap_info.chunksize; in raid_preresume()
|
D | dm.c | 1356 bio->bi_iter.bi_size = to_bytes(len); in bio_setup_sector() 1388 bio_advance(clone, to_bytes(sector - clone->bi_iter.bi_sector)); in clone_bio() 1389 clone->bi_iter.bi_size = to_bytes(len); in clone_bio()
|
D | dm-clone-target.c | 458 bio->bi_iter.bi_size = to_bytes(len); in trim_bio()
|
/kernel/linux/linux-5.10/include/linux/ |
D | device-mapper.h | 635 static inline unsigned long to_bytes(sector_t n) in to_bytes() function
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | fix_node.c | 376 int to, int to_bytes, short *snum012, int flow) in get_num_ver() argument 449 end_bytes = (to_bytes != -1) ? to_bytes : 0; in get_num_ver()
|