Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-clone-target.c complete_discard_bio() -> bio_region_range()

Type Parameter Key Value
PARAM_VALUE 0 clone 4096-ptr_max
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 2 rs 6241346510602326016
PARAM_VALUE 3 nr_regions 2132763325597229056
BUF_SIZE 0 clone (-1),16,40-s32max
BUF_SIZE 0 clone (-1),16,40-s32max
BUF_SIZE 1 bio (-1),144
BUF_SIZE 1 bio (-1),144
DATA_SOURCE 0 clone $0
DATA_SOURCE 1 bio $1
NOSPEC 1 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 bio->bi_iter.bi_size 0[c]
HOST_DATA 1 bio->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 1 bio->bi_ioprio 0-u16max
USER_DATA 1 bio->bi_iter.bi_size 0
USER_DATA 1 bio->bi_max_vecs 0-4,16,64,128,256[c]
UNITS 1 bio unit_jiffy
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-clone-target.c process_deferred_discards() -> bio_region_range()

Type Parameter Key Value
PARAM_VALUE 0 clone 4096-ptr_max
PARAM_VALUE 1 bio 1-u64max
PARAM_VALUE 2 rs 2585625818247098368
PARAM_VALUE 3 nr_regions 7005066792307126272
DATA_SOURCE 0 clone $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 *rs
NO_OVERFLOW_SIMPLE 3 *nr_regions
UNITS 1 bio unit_jiffy
HALF_LOCKED2 &pool->lock

drivers/md/dm-clone-target.c process_discard_bio() -> bio_region_range()

Type Parameter Key Value
PARAM_VALUE 0 clone 4096-ptr_max
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 2 rs 3877962812404985856
PARAM_VALUE 3 nr_regions 3684072192965111808
BUF_SIZE 0 clone 16,40-s32max
BUF_SIZE 0 clone 16,40-s32max
BUF_SIZE 1 bio (-1),144
BUF_SIZE 1 bio (-1),144
DATA_SOURCE 0 clone $0
DATA_SOURCE 1 bio $1
BIT_INFO 1 bio->bi_opf 0x0,0xfffbffff
NOSPEC 1 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 bio->bi_iter.bi_size 0-u32max[c]
USER_DATA 1 bio->bi_ioprio 0-u16max
USER_DATA 1 bio->bi_iter.bi_size 0-u32max
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