Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm.c __max_io_len() -> blk_boundary_sectors_left()

Type Parameter Key Value
PARAM_VALUE 1 boundary_sectors 1-u32max
CAPPED_DATA 0 offset 1
CAPPED_DATA 1 boundary_sectors 1
DATA_SOURCE 1 boundary_sectors $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 offset unit_byte
UNITS 1 boundary_sectors unit_byte
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

block/blk-merge.c blk_rq_get_max_sectors() -> blk_boundary_sectors_left()

Type Parameter Key Value
PARAM_VALUE 1 boundary_sectors 1-u32max
CAPPED_DATA 0 offset 1
CAPPED_DATA 1 boundary_sectors 1
DATA_SOURCE 0 offset $1
NOSPEC 0 offset
NOSPEC 0 offset
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 offset 0-u64max
USER_DATA 0 offset 0-u64max
UNITS 0 offset unit_byte
UNITS 1 boundary_sectors unit_byte

block/blk-merge.c get_max_io_size() -> blk_boundary_sectors_left()

Type Parameter Key Value
PARAM_VALUE 1 boundary_sectors 1-u32max
CAPPED_DATA 0 offset 1
CAPPED_DATA 1 boundary_sectors 1
NOSPEC 0 offset
NOSPEC 0 offset
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 offset 0-u64max
USER_DATA 0 offset 0-u64max
UNITS 0 offset unit_byte
UNITS 1 boundary_sectors unit_byte
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock