Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

block/blk-mq-dma.c blk_map_iter_next() -> get_max_segment_size()

Type Parameter Key Value
PARAM_VALUE 0 lim 4096-ptr_max
PARAM_VALUE 2 len u32max
DATA_SOURCE 1 paddr r bvec_phys
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 paddr unit_byte

block/blk-merge.c bvec_split_segs() -> get_max_segment_size()

Type Parameter Key Value
PARAM_VALUE 0 lim 4096-ptr_max
PARAM_VALUE 2 len 1-u32max
BUF_SIZE 0 lim (-1),200
BUF_SIZE 0 lim (-1),200
DATA_SOURCE 0 lim $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 lim->discard_granularity
NO_OVERFLOW_SIMPLE 0 lim->io_min
NO_OVERFLOW_SIMPLE 0 lim->logical_block_size
NO_OVERFLOW_SIMPLE 0 lim->max_discard_sectors
NO_OVERFLOW_SIMPLE 0 lim->max_hw_discard_sectors
NO_OVERFLOW_SIMPLE 0 lim->max_open_zones
NO_OVERFLOW_SIMPLE 0 lim->physical_block_size
NO_OVERFLOW_SIMPLE 0 lim->zone_write_granularity
UNITS 1 paddr unit_byte
UNITS 2 len unit_byte