Searched refs:to_bytes (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-ebs-target.c | 72 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec() 277 to_bytes(tmp1) > PAGE_SIZE) { in ebs_ctr() 317 ec->bufio = dm_bufio_client_create(ec->dev->bdev, to_bytes(ec->u_bs), 1, in ebs_ctr() 428 limits->logical_block_size = to_bytes(ec->e_bs); in ebs_io_hints() 429 limits->physical_block_size = to_bytes(ec->u_bs); in ebs_io_hints()
|
D | dm-stripe.c | 263 bio->bi_iter.bi_size = to_bytes(end - begin); in stripe_map_range()
|
D | dm-io.c | 370 len = min(len, to_bytes(remaining)); in do_region()
|
D | dm-raid.c | 994 rs->md.bitmap_info.chunksize = to_bytes(region_size); in validate_region_size() 3812 unsigned int chunk_size_bytes = to_bytes(rs->md.chunk_sectors); in raid_io_hints() 4068 mddev->bitmap_info.chunksize != to_bytes(rs->requested_bitmap_chunk_sectors)))) { in raid_preresume() 4069 int chunksize = to_bytes(rs->requested_bitmap_chunk_sectors) ?: mddev->bitmap_info.chunksize; in raid_preresume()
|
D | dm-clone-target.c | 452 bio->bi_iter.bi_size = to_bytes(len); in trim_bio()
|
D | dm.c | 653 clone->bi_iter.bi_size = to_bytes(*len); in alloc_tio()
|
/linux-6.12.1/include/linux/ |
D | device-mapper.h | 737 static inline unsigned long to_bytes(sector_t n) in to_bytes() function
|
/linux-6.12.1/tools/perf/scripts/python/ |
D | intel-pt-events.py | 144 s = payload.to_bytes(8, "little").decode("ascii").rstrip("\x00")
|
/linux-6.12.1/tools/testing/selftests/net/openvswitch/ |
D | ovs-dpctl.py | 181 def to_bytes(mac): function 193 return to_bytes(mac_str), to_bytes(mask_str)
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | dm-vdo-target.c | 712 size_t logical_bytes = to_bytes(ti->len); in parse_device_config() 1453 u64 logical_size = to_bytes(ti->len); in vdo_initialize()
|
D | data-vio.c | 545 data_vio->offset = to_bytes(bio->bi_iter.bi_sector & VDO_SECTORS_PER_BLOCK_MASK); in launch_bio()
|