Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
block/blk-map.c bio_copy_kern() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 1237167795584647168 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| CAPPED_DATA | 0 | bio->bi_vcnt | 1 |
| DATA_SOURCE | 0 | bio | r blk_rq_map_bio_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vblk->vdev_mutex |
block/blk-map.c bio_copy_kern_endio() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio->bi_pool | (-1),624 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| CAPPED_DATA | 0 | bio->bi_vcnt | 1 |
| DATA_SOURCE | 0 | bio | $0 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio->bi_private | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-18446744073709551614 |
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-u16max[c] |
| HOST_DATA | 0 | bio->bi_next->bi_iter.bi_sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |
block/blk-map.c bio_copy_user_iov() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 1237167795584647168 |
| PARAM_VALUE | 0 | bio->bi_private | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio->bi_private | (-1),48-16432 |
| CAPPED_DATA | 0 | bio->bi_max_vecs | 1 |
| DATA_SOURCE | 0 | bio | r blk_rq_map_bio_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr |
block/blk-map.c bio_map_kern() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 1237167795584647168 |
| PARAM_VALUE | 0 | bio->bi_private | 1-u64max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| DATA_SOURCE | 0 | bio | r blk_rq_map_bio_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| USER_PTR | 0 | bio->bi_private | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vblk->vdev_mutex |
block/blk-map.c bio_map_kern_endio() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio->bi_pool | (-1),624 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| DATA_SOURCE | 0 | bio | $0 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio->bi_private | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-18446744073709551614 |
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-u16max[c] |
| HOST_DATA | 0 | bio->bi_next->bi_iter.bi_sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |
block/blk-map.c bio_map_user_iov() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 1237167795584647168 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| DATA_SOURCE | 0 | bio | r blk_rq_map_bio_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bio->bi_iter.bi_offset | 0-u32max[c] |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr |
block/blk-map.c blk_rq_map_kern() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 1546085957511704576,5532357797899038720,9159806833869467648 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 1237167795584647168 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| BIT_INFO | 0 | bio->bi_end_io | 0x404000800203000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| USER_PTR | 0 | bio->bi_private | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vblk->vdev_mutex |
block/blk-map.c blk_rq_map_user_bvec() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0-1000000000 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 1237167795584647168 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| DATA_SOURCE | 0 | bio | r blk_rq_map_bio_alloc |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | bio->bi_iter.bi_offset | 0-u32max[c] |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0-1000000000 |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr |
block/blk-map.c blk_rq_unmap_user() -> blk_mq_map_bio_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_private | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_iter.bi_sector | |
| UNITS | 0 | bio | unit_jiffy |
| HALF_LOCKED2 | &cd->lock |