Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/target_core_iblock.c iblock_execute_rw() -> iblock_alloc_bip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->execute_cmd | 1-u64max |
| PARAM_VALUE | 0 | cmd->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->prot_type | 1-u32max |
| PARAM_VALUE | 0 | cmd->protocol_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->dev_attrib.pi_prot_type | 1-u32max |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_alignment_offset_lbas | 0,2216225338472878080 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_device_type | 4850256213186490368,5599195229675327488,8676007830667583488 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_lbppbe | 0,6660477041369456640 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->parse_cdb | 439634959342690304,3298765662198030336,3516650349575311360,4904684033001054208,5442024552033894400 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->transport_state | 0,2-u32max |
| 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->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 | 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 |
| PARAM_VALUE | 1 | bio->bi_end_io | 1452931209006686208 |
| PARAM_VALUE | 1 | bio->bi_flags | 0 |
| PARAM_VALUE | 1 | bio->bi_integrity | 0 |
| PARAM_VALUE | 1 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 1 | bio->bi_ioprio | 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_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| 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_write_hint | 0 |
| PARAM_VALUE | 1 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 1 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 2 | miter | 8962609543827705856 |
| PARAM_VALUE | 2 | miter->__flags | 2,4 |
| PARAM_VALUE | 2 | miter->addr | 0 |
| PARAM_VALUE | 2 | miter->page | 0 |
| BUF_SIZE | 0 | cmd->priv | 64 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 1 | bio->bi_private | (-1) |
| BIT_INFO | 0 | cmd->transport_state | 0x10,0xffffffffffffffff |
| MEM_ZERO | 2 | miter | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| USER_DATA | 2 | miter->consumed | 0-4294967294,18446744069414584322-u64max[c][u] |
| USER_DATA | 2 | miter->piter.__nents | 0[c] |
| USER_DATA | 2 | miter->piter.sg_pgoffset | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg_orig->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_vmap->nr_pages | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &dev->caw_sem | ||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_iblock.c iblock_execute_rw() -> iblock_alloc_bip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->execute_cmd | 1-u64max |
| PARAM_VALUE | 0 | cmd->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->prot_type | 1-u32max |
| PARAM_VALUE | 0 | cmd->protocol_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cmd->se_dev->caw_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | cmd->se_dev->dev_attrib.pi_prot_type | 1-u32max |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_alignment_offset_lbas | 0,2216225338472878080 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_device_type | 4850256213186490368,5599195229675327488,8676007830667583488 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->get_lbppbe | 0,6660477041369456640 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->parse_cdb | 439634959342690304,3298765662198030336,3516650349575311360,4904684033001054208,5442024552033894400 |
| PARAM_VALUE | 0 | cmd->se_dev->transport->plug_device | 0,957786240888664064,6617329888506277888 |
| PARAM_VALUE | 0 | cmd->transport_state | 0,2-u32max |
| 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->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 | 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 |
| PARAM_VALUE | 1 | bio->bi_end_io | 1452931209006686208 |
| PARAM_VALUE | 1 | bio->bi_flags | 0 |
| PARAM_VALUE | 1 | bio->bi_integrity | 0 |
| PARAM_VALUE | 1 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 1 | bio->bi_ioprio | 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_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| 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_write_hint | 0 |
| PARAM_VALUE | 1 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 1 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 2 | miter | 8962609543827705856 |
| PARAM_VALUE | 2 | miter->__flags | 2,4 |
| PARAM_VALUE | 2 | miter->addr | 0 |
| PARAM_VALUE | 2 | miter->page | 0 |
| BUF_SIZE | 0 | cmd->priv | 64 |
| BUF_SIZE | 0 | cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | cmd | $0 |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 0 | cmd | (-1) |
| STR_LEN | 1 | bio->bi_private | (-1) |
| BIT_INFO | 0 | cmd->transport_state | 0x10,0xffffffffffffffff |
| MEM_ZERO | 2 | miter | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | cmd->residual_count | 1-u32max |
| USER_DATA | 2 | miter->consumed | 0-4294967294,18446744069414584322-u64max[c][u] |
| USER_DATA | 2 | miter->piter.__nents | 0[c] |
| USER_DATA | 2 | miter->piter.sg_pgoffset | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_sg_orig->length | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_data_vmap->nr_pages | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 0 | cmd->t_task_lba | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &dev->caw_sem | ||
| HALF_LOCKED2 | &pool->lock |