Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-raid1.c dispatch_bios() -> queue_bio()

Type Parameter Key Value
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->bi_next 0
PARAM_VALUE 2 rw 1
BUF_SIZE 0 ms 576-856
BUF_SIZE 0 ms 576-856
DATA_SOURCE 0 ms $0
DATA_SOURCE 1 bio r bio_list_pop
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/md/dm-raid1.c mirror_end_io() -> queue_bio()

Type Parameter Key Value
PARAM_VALUE 0 ms->rh 4096-ptr_max
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev 1-u64max
PARAM_VALUE 1 bio->bi_bdev->bd_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 bio->bi_status 0
PARAM_VALUE 2 rw 0
BUF_SIZE 0 ms 16,40-s32max
BUF_SIZE 0 ms 16,40-s32max
BUF_SIZE 1 bio (-1)-s32max
BUF_SIZE 1 bio (-1)-s32max
BUF_SIZE 1 bio->bi_pool (-1),624
BUF_SIZE 1 bio->bi_private (-1)-s32max
DATA_SOURCE 1 bio $1
STR_LEN 0 ms (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
STR_LEN 1 bio (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
STR_LEN 1 bio->bi_private (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
BIT_INFO 1 bio->bi_opf 0x0,0xfff7ffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 bio->bi_bdev->bd_queue->last_merge->__sector 0-18446744073709551614
HOST_DATA 1 bio->bi_iter.bi_sector 0-u64max
HOST_DATA 1 bio->bi_iter.bi_size 0-u32max[c]
HOST_DATA 1 bio->bi_max_vecs 0-u16max[c]
NO_OVERFLOW_SIMPLE 1 bio->bi_bdev->bd_disk->queue->queue_hw_ctx
NO_OVERFLOW_SIMPLE 1 bio->bi_bdev->bd_disk->queue->stats
NO_OVERFLOW_SIMPLE 1 bio->bi_next->bi_iter.bi_sector
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 1 bio->bio.bi_bdev->bd_disk->queue->queue_hw_ctx
NO_OVERFLOW_SIMPLE 1 bio->bio.bi_bdev->bd_disk->queue->stats
NO_OVERFLOW_SIMPLE 1 bio->bio.bi_max_vecs
HALF_LOCKED2 1 &bio->bi_bdev->bd_queue->queue_lock

drivers/md/dm-raid1.c mirror_map() -> queue_bio()

Type Parameter Key Value
PARAM_VALUE 0 ms 4096-ptr_max
PARAM_VALUE 0 ms->rh 4096-ptr_max
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->bi_end_io 3905977605003870208
PARAM_VALUE 1 bio->bi_next 0
PARAM_VALUE 2 rw 1
BUF_SIZE 0 ms 16,40-s32max
BUF_SIZE 0 ms 16,40-s32max
BUF_SIZE 1 bio (-1),144
BUF_SIZE 1 bio (-1),144
DATA_SOURCE 1 bio $1
NOSPEC 1 bio->bi_iter.bi_sector
NOSPEC 1 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 bio->bi_iter.bi_sector 0
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_sector 0
USER_DATA 1 bio->bi_iter.bi_size 0
USER_DATA 1 bio->bi_max_vecs 0-4,16,64,128,256[c]
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bvec_pool.min_nr
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

drivers/md/dm-raid1.c mirror_map() -> queue_bio()

Type Parameter Key Value
PARAM_VALUE 0 ms 4096-ptr_max
PARAM_VALUE 0 ms->rh 4096-ptr_max
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->bi_end_io 3905977605003870208
PARAM_VALUE 1 bio->bi_next 0
PARAM_VALUE 2 rw 0
BUF_SIZE 0 ms 16,40-s32max
BUF_SIZE 0 ms 16,40-s32max
BUF_SIZE 1 bio (-1),144
BUF_SIZE 1 bio (-1),144
DATA_SOURCE 1 bio $1
BIT_INFO 1 bio->bi_opf 0x0,0xfff7ffff
NOSPEC 1 bio->bi_iter.bi_sector
NOSPEC 1 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 bio->bi_iter.bi_sector 0
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_sector 0
USER_DATA 1 bio->bi_iter.bi_size 0
USER_DATA 1 bio->bi_max_vecs 0-4,16,64,128,256[c]
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bvec_pool.min_nr
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

drivers/md/dm-raid1.c read_callback() -> queue_bio()

Type Parameter Key Value
PARAM_VALUE 0 ms 4096-ptr_max
PARAM_VALUE 0 ms->leg_failure 1
PARAM_VALUE 0 ms->rh 4096-ptr_max
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->bi_next 0
PARAM_VALUE 1 bio->bi_next->dev 4096-ptr_max
PARAM_VALUE 1 bio->bi_next->ms 4096-ptr_max
PARAM_VALUE 1 bio->bi_next->ms->features 1-u64max
PARAM_VALUE 1 bio->bi_next->ms->leg_failure 1
PARAM_VALUE 1 bio->bi_next->ms->mirror 4096-u64max
PARAM_VALUE 1 bio->bi_next->ms->mirror->error_count.counter s32min-s32max
PARAM_VALUE 1 bio->bi_next->ms->rh 4096-ptr_max
PARAM_VALUE 2 rw 0-1
BUF_SIZE 1 bio (-1),104,112,176
BUF_SIZE 1 bio (-1),104,112,176
DATA_SOURCE 1 bio $2
FUZZY_MAX 2 rw 1
HARD_MAX 2 rw 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL