Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-ebs-target.c71 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec()
276 to_bytes(tmp1) > PAGE_SIZE) { in ebs_ctr()
316 ec->bufio = dm_bufio_client_create(ec->dev->bdev, to_bytes(ec->u_bs), 1, in ebs_ctr()
427 limits->logical_block_size = to_bytes(ec->e_bs); in ebs_io_hints()
428 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
Ddm-io.c358 len = min(len, to_bytes(remaining)); in do_region()
Ddm-stripe.c263 bio->bi_iter.bi_size = to_bytes(end - begin); in stripe_map_range()
Ddm-raid.c987 rs->md.bitmap_info.chunksize = to_bytes(region_size); in validate_region_size()
3787 unsigned int chunk_size_bytes = to_bytes(rs->md.chunk_sectors); in raid_io_hints()
4007 mddev->bitmap_info.chunksize != to_bytes(rs->requested_bitmap_chunk_sectors)))) { in raid_preresume()
4008 int chunksize = to_bytes(rs->requested_bitmap_chunk_sectors) ?: mddev->bitmap_info.chunksize; in raid_preresume()
Ddm-clone-target.c452 bio->bi_iter.bi_size = to_bytes(len); in trim_bio()
Ddm.c644 clone->bi_iter.bi_size = to_bytes(*len); in alloc_tio()
/linux-6.1.9/include/linux/
Ddevice-mapper.h676 static inline unsigned long to_bytes(sector_t n) in to_bytes() function
/linux-6.1.9/tools/perf/scripts/python/
Dintel-pt-events.py108 s = payload.to_bytes(8, "little").decode("ascii").rstrip("\x00")
/linux-6.1.9/fs/reiserfs/
Dfix_node.c376 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()