Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/md/dm-clone-target.c trim_bio() -> to_bytes()

Type Parameter Key Value
DATA_SOURCE 0 n $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-ebs-target.c __ebs_rw_bvec() -> to_bytes()

Type Parameter Key Value
CAPPED_DATA 0 n 1
HALF_LOCKED2 &pool->lock

drivers/md/dm-ebs-target.c ebs_ctr() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u16max
HALF_LOCKED2 &md->type_lock

drivers/md/dm-ebs-target.c ebs_ctr() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-8388607
CAPPED_DATA 0 n 1
HALF_LOCKED2 &md->type_lock

drivers/md/dm-ebs-target.c ebs_io_hints() -> to_bytes()

Type Parameter Key Value
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-ebs-target.c ebs_io_hints() -> to_bytes()

Type Parameter Key Value
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-vdo/dm-vdo-target.c parse_device_config() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u64max
NO_OVERFLOW_SIMPLE 0 n
UNITS 0 n unit_byte

drivers/md/dm-vdo/dm-vdo-target.c vdo_initialize() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u64max
NO_OVERFLOW_SIMPLE 0 n
UNITS 0 n unit_byte

drivers/md/dm.c alloc_tio() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 0-8388607
RX_PATH
TASK_NOT_RUNNING
LOCK2 &md->io_barrier
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-io.c do_region() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u64max
CAPPED_DATA 0 n 1
UNITS 0 n unit_byte

drivers/md/dm-raid.c raid_io_hints() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 0-s32max,18446744071562067968-u64max
UNITS 0 n unit_byte
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-raid.c raid_preresume() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-s32max,18446744071562067968-u64max
LOCK2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-raid.c raid_preresume() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-s32max,18446744071562067968-u64max
LOCK2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-raid.c validate_region_size() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u64max
CAPPED_DATA 0 n 1
CAPPED_DATA 0 n 1
DATA_SOURCE 0 n $1 [m]
FUZZY_MAX 0 n 8192
USER_DATA 0 n 1-s32max[c]
UNITS 0 n unit_byte
HALF_LOCKED2 &md->type_lock

drivers/md/dm-vdo/data-vio.c launch_bio() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 0-7
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 n 0
USER_DATA 0 n 0[c]
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-stripe.c stripe_map_range() -> to_bytes()

Type Parameter Key Value
PARAM_VALUE 0 n 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &md->io_barrier
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->swap_bios_semaphore
TYPE_LOCK (struct mapped_device)->io_barrier