Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- block/bio.c, line 654
- block/blk-map.c, line 241
- drivers/block/loop.c, line 309
- drivers/block/null_blk/main.c, line 1391
- drivers/block/zloop.c, line 822
- drivers/md/bcache/request.c, line 1258
- drivers/md/dm-io.c, line 155
- drivers/md/dm-thin.c
- drivers/md/dm-vdo/data-vio.c, line 1532
- drivers/md/dm-zero.c, line 46
- drivers/md/dm-zoned-target.c
- fs/btrfs/compression.c, line 1066
Smatch caller information:
drivers/md/dm-zoned-target.c dmz_handle_read() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| DATA_SOURCE | 0 | bio | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &zmd->mblk_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dmz_metadata)->mblk_sem |
drivers/md/dm-zoned-target.c dmz_handle_read_zero() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 4096 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| DATA_SOURCE | 0 | bio | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &zmd->mblk_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dmz_metadata)->mblk_sem |
drivers/block/zloop.c zloop_complete_rq() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bio | unit_jiffy |
drivers/md/bcache/request.c flash_dev_cache_miss() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0,512-4294966784 |
| BUF_SIZE | 0 | bio | 144 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_size | 1 |
| DATA_SOURCE | 0 | bio | $2 |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0xfffffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | b |
drivers/block/loop.c lo_complete_rq() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bio | unit_jiffy |
drivers/md/dm-thin.c __process_bio_read_only() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| DATA_SOURCE | 0 | bio | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
drivers/md/dm-thin.c process_cell() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0-18446744073709551613 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_sector | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-thin.c process_cell() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-thin.c provision_block() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 1-u32max |
| DATA_SOURCE | 0 | bio | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
block/blk-map.c bio_copy_user_iov() -> zero_fill_bio()
| 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_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 |
drivers/block/null_blk/main.c nullb_zero_read_cmd_buffer() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 1-u64max |
| NOCHECK_CALL | |||
| UNITS | 0 | bio | unit_jiffy |
fs/btrfs/compression.c btrfs_decompress_bio() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-io.c endio() -> zero_fill_bio()
| 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 |
| PARAM_VALUE | 0 | bio->bi_status | 1-255 |
| 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 |
drivers/md/dm-zero.c zero_map() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| DATA_SOURCE | 0 | bio | $1 |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfff7ffff |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0 |
| 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 | |
| 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-vdo/data-vio.c complete_zero_read() -> zero_fill_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |