Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/raid1.c raid1_write_request() -> raid1_add_bio_to_plug()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->active_io.percpu_count_ptr 1-u64max
PARAM_VALUE 0 mddev->bio_set.rescue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->bitmap->pending_timer.flags 0-4294967295
PARAM_VALUE 0 mddev->bitmap_info.nodes 2-s32max
PARAM_VALUE 0 mddev->cluster_info 1-u64max
PARAM_VALUE 0 mddev->cluster_ops 4096-ptr_max
PARAM_VALUE 0 mddev->gendisk 0,4096-ptr_max
PARAM_VALUE 0 mddev->io_clone_set.rescue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->private 4096-ptr_max
PARAM_VALUE 0 mddev->private->device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->private->r1bio_pool 4096-ptr_max
PARAM_VALUE 0 mddev->private->r1bio_pool->curr_nr s32min-s32max
PARAM_VALUE 0 mddev->private->r1bio_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->__bi_cnt.counter 1
PARAM_VALUE 1 bio->__bi_nr_segments u32max
PARAM_VALUE 1 bio->__bi_remaining.counter 1
PARAM_VALUE 1 bio->bi_bdev 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev->bd_disk->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev->bd_disk->queue->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bio->bi_bvec_gap_bit 0
PARAM_VALUE 1 bio->bi_cookie u32max
PARAM_VALUE 1 bio->bi_crypt_context 0,4096-ptr_max
PARAM_VALUE 1 bio->bi_end_io 2443205304035201024
PARAM_VALUE 1 bio->bi_flags 0
PARAM_VALUE 1 bio->bi_integrity 0,4096-ptr_max
PARAM_VALUE 1 bio->bi_iocost_cost 0
PARAM_VALUE 1 bio->bi_iter.bi_bvec_done 0
PARAM_VALUE 1 bio->bi_iter.bi_idx 0
PARAM_VALUE 1 bio->bi_iter.bi_size 0
PARAM_VALUE 1 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 1 bio->bi_next 0
PARAM_VALUE 1 bio->bi_opf 0,256-u32max
PARAM_VALUE 1 bio->bi_pool 4096-ptr_max
PARAM_VALUE 1 bio->bi_private 4096-ptr_max
PARAM_VALUE 1 bio->bi_status 0
PARAM_VALUE 1 bio->bi_vcnt 0
PARAM_VALUE 1 bio->issue_time_ns 0
PARAM_VALUE 3 copies 1-s32max
BUF_SIZE 0 mddev s32min-(-1),1-s32max
BUF_SIZE 0 mddev s32min-(-1),1-s32max
BUF_SIZE 1 bio->bi_pool (-1),624
CAPPED_DATA 0 &mddev->bio_set 1
CAPPED_DATA 3 copies 1
DATA_SOURCE 0 mddev $0
BIT_INFO 1 bio->bi_opf 0x0,0xffdfffff
NOSPEC 1 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
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]
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bvec_pool.min_nr
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_write_one_disk() -> raid1_add_bio_to_plug()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->active_io.percpu_count_ptr 1-u64max
PARAM_VALUE 0 mddev->bio_set.rescue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->bitmap->pending_timer.flags 0-4294967295
PARAM_VALUE 0 mddev->bitmap_info.nodes 2-s32max
PARAM_VALUE 0 mddev->cluster_info 1-u64max
PARAM_VALUE 0 mddev->cluster_ops 4096-ptr_max
PARAM_VALUE 0 mddev->gendisk 0,4096-ptr_max
PARAM_VALUE 0 mddev->io_clone_set.bio_slab->object_size 0-4294967295
PARAM_VALUE 0 mddev->io_clone_set.rescue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->io_clone_set.rescue_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->private 4096-ptr_max
PARAM_VALUE 0 mddev->private->device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mddev->private->nr_pending.counter s32min-s32max
PARAM_VALUE 0 mddev->private->nr_waiting s32min-s32max
PARAM_VALUE 0 mddev->private->resync_lock.seqcount.seqcount.dep_map->name 0-255
PARAM_VALUE 0 mddev->private->resync_lock.seqcount.seqcount.sequence 0-4294967295
PARAM_VALUE 1 bio 4096-ptr_max
PARAM_VALUE 1 bio->__bi_cnt.counter 1
PARAM_VALUE 1 bio->__bi_nr_segments u32max
PARAM_VALUE 1 bio->__bi_remaining.counter 1
PARAM_VALUE 1 bio->bi_bdev 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev->bd_disk->queue->blkg_list.next 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev->bd_disk->queue->blkg_list.next->next 4096-ptr_max
PARAM_VALUE 1 bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bio->bi_bvec_gap_bit 0
PARAM_VALUE 1 bio->bi_cookie u32max
PARAM_VALUE 1 bio->bi_crypt_context 0,4096-ptr_max
PARAM_VALUE 1 bio->bi_end_io 3875590823445069824
PARAM_VALUE 1 bio->bi_flags 0
PARAM_VALUE 1 bio->bi_integrity 0,4096-ptr_max
PARAM_VALUE 1 bio->bi_iocost_cost 0
PARAM_VALUE 1 bio->bi_iter.bi_bvec_done 0
PARAM_VALUE 1 bio->bi_iter.bi_idx 0
PARAM_VALUE 1 bio->bi_iter.bi_size 0
PARAM_VALUE 1 bio->bi_max_vecs 0-4,16,64,128,256
PARAM_VALUE 1 bio->bi_next 0
PARAM_VALUE 1 bio->bi_opf 0,256-u32max
PARAM_VALUE 1 bio->bi_pool 4096-ptr_max
PARAM_VALUE 1 bio->bi_private 4096-ptr_max
PARAM_VALUE 1 bio->bi_status 0
PARAM_VALUE 1 bio->bi_vcnt 0
PARAM_VALUE 1 bio->issue_time_ns 0
BUF_SIZE 0 mddev s32min-(-1),1-s32max
BUF_SIZE 0 mddev s32min-(-1),1-s32max
BUF_SIZE 1 bio->bi_pool (-1),624
CAPPED_DATA 0 mddev 1
CAPPED_DATA 0 mddev->private->copies 1
CAPPED_DATA 0 &mddev->bio_set 1
DATA_SOURCE 0 mddev $0
DATA_SOURCE 1 bio r bio_alloc_clone
BIT_INFO 1 bio->bi_opf 0x0,0xffdfffff
NOSPEC 1 bio->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
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]
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bio_pool.min_nr
NO_OVERFLOW_SIMPLE 1 bio->bi_pool->bvec_pool.min_nr
UNITS 3 copies unit_byte
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier