Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/scsi/scsi_bsg.c
- drivers/scsi/scsi_error.c, line 2164
- drivers/scsi/scsi_ioctl.c
- drivers/scsi/scsi_lib.c
- drivers/scsi/sg.c, line 1742
- drivers/scsi/sr.c, line 938
- drivers/scsi/st.c, line 562
- drivers/target/target_core_pscsi.c, line 942
Smatch caller information:
drivers/scsi/scsi_error.c scsi_eh_lock_door() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | opf | 34 |
| PARAM_VALUE | 2 | flags | 1 |
drivers/scsi/scsi_bsg.c scsi_bsg_sg_io_fn() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 0 | q | $0 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
drivers/scsi/scsi_bsg.c scsi_bsg_uring_cmd() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0-1 |
| DATA_SOURCE | 0 | q | $0 |
| FUZZY_MAX | 1 | opf | 35 |
| FUZZY_MAX | 2 | flags | 1 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
| HARD_MAX | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
drivers/target/target_core_pscsi.c pscsi_execute_cmd() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/sg.c sg_start_req() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
drivers/scsi/scsi_lib.c scsi_execute_cmd() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q->debugfs_dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | opf | 34-35,1826-1827 |
| DATA_SOURCE | 1 | opf | $2 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x0,0x73f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | q->limits.alignment_offset | 0-u32max[c][u] |
| USER_DATA | 0 | q->limits.atomic_write_max_sectors | 0-8388607[c] |
| USER_DATA | 0 | q->limits.discard_granularity | 512-u32max[c] |
| USER_DATA | 0 | q->limits.io_min | 512-u32max[c] |
| USER_DATA | 0 | q->limits.logical_block_size | 512-65536[c] |
| USER_DATA | 0 | q->limits.max_hw_wzeroes_unmap_sectors | 0-u32max[c] |
| USER_DATA | 0 | q->limits.max_sectors | 0-s32max[c] |
| USER_DATA | 0 | q->limits.max_write_zeroes_sectors | 0-u32max[c] |
| USER_DATA | 0 | q->limits.max_wzeroes_unmap_sectors | 0-s32max[c] |
| USER_DATA | 0 | q->limits.max_zone_append_sectors | 0-s32max[c] |
| USER_DATA | 0 | q->limits.physical_block_size | 512-u32max[c] |
| USER_DATA | 0 | q->queue_depth | 1-4095[c] |
| NO_OVERFLOW_SIMPLE | 0 | q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_hw_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | q->nr_requests | |
| HALF_LOCKED2 | &(&starget->starget_data)->dv_mutex | ||
| HALF_LOCKED2 | &ch->lock | ||
| HALF_LOCKED2 | &dev->dev_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sdkp->disk->queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | sh->host_lock | ||
| HALF_LOCKED2 | 0 | &q->limits_lock |
drivers/scsi/scsi_lib.c scsi_get_internal_cmd() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 2-3 |
| DATA_SOURCE | 2 | flags | $2 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
| HARD_MAX | 2 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hba->clk_scaling_lock | ||
| HALF_LOCKED2 | &hba->dev_cmd.lock |
drivers/scsi/scsi_ioctl.c sg_io() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->debugfs_dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/scsi_ioctl.c sg_scsi_ioctl() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 0 | q | $0 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/st.c st_scsi_execute() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | opf | 34-35 |
| PARAM_VALUE | 2 | flags | 0 |
| FUZZY_MAX | 1 | opf | 35 |
| BIT_INFO | 1 | opf | 0x22,0x23 |
| HARD_MAX | 1 | opf | 35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &STp->lock |
drivers/scsi/sr.c sr_read_cdda_bpc() -> scsi_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | opf | 34 |
| PARAM_VALUE | 2 | flags | 0 |
| LOCK2 | &cd->lock | ||
| TYPE_LOCK | (struct scsi_cd)->lock |