Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
block/blk-map.c bio_map_user_iov() -> bio_iov_iter_get_pages()
| 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_iter.bi_size | 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_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 |
| PARAM_VALUE | 1 | iter | 978679771613659136 |
| PARAM_VALUE | 1 | iter->iter_type | 0-1 |
| PARAM_VALUE | 2 | mem_align_mask | 0 |
| PARAM_VALUE | 3 | len_align_mask | 0 |
| DATA_SOURCE | 0 | bio | r blk_rq_map_bio_alloc |
| DATA_SOURCE | 1 | iter | $1 |
| NOSPEC | 1 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | iter->count | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr |
block/fops.c blkdev_iov_iter_get_pages() -> bio_iov_iter_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 0,2351913159879864320,5517568451483779072,5954865042762321920 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0-18014398509481983,18428729675200069632-u64max |
| PARAM_VALUE | 0 | bio->bi_private | 0,4096-ptr_max |
| PARAM_VALUE | 1 | iter | 4096-ptr_max |
| BUF_SIZE | 0 | bio->bi_bdev | (-1),2136 |
| BUF_SIZE | 0 | bio->bi_pool | (-1),624 |
| DATA_SOURCE | 0 | bio | $0 |
| DATA_SOURCE | 1 | iter | $1 |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 1 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 0 | bio->bi_max_vecs | 0-256[c] |
| USER_DATA | 1 | iter->count | 0-18446744073709551614 |
| USER_DATA | 1 | iter->iov_offset | 0-u64max[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 | &pool->lock |
fs/iomap/direct-io.c __iomap_dio_read_simple() -> bio_iov_iter_get_pages()
| 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_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0-36028797018963967 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 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 | 4757132552690814976 |
| 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 |
| PARAM_VALUE | 1 | iter | 4096-ptr_max |
| BUF_SIZE | 0 | bio->bi_pool | 624 |
| DATA_SOURCE | 0 | bio | r bio_alloc_bioset |
| DATA_SOURCE | 1 | iter | $1 |
| NOSPEC | 1 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-22348536[c] |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | iter->count | 1-1000000000 |
| USER_DATA | 1 | iter->iov_offset | 0-u64max[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 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/iomap/direct-io.c iomap_dio_bio_iter_one() -> bio_iov_iter_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 6144032059269255168 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0-36028797018963967,u64max |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | iter | 4096-ptr_max |
| DATA_SOURCE | 0 | bio | r iomap_dio_alloc_bio |
| NOSPEC | 1 | iter->count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-36028797018963967[c] |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | iter->count | 0-u64max[c] |
| USER_DATA | 1 | iter->iov_offset | 0-u64max[c] |