Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/ulp/isert/ib_isert.c
- drivers/infiniband/ulp/srpt/ib_srpt.c
- drivers/scsi/qla2xxx/tcm_qla2xxx.c
Smatch caller information:
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_queue_data_in() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->data_direction | 1-2 |
| DATA_SOURCE | 0 | se_cmd | $0 |
| HARD_MAX | 0 | se_cmd->data_direction | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->data_length | |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_queue_status() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| BUF_SIZE | 0 | se_cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | se_cmd | $0 |
| STR_LEN | 0 | se_cmd | (-1) |
| STR_LEN | 0 | se_cmd | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | se_cmd->data_length | 0-u32max |
| USER_DATA | 0 | se_cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->sense_info | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_data_nents_orig | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_data_sg->length | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_data_sg_orig->length | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_data_vmap->nr_pages | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_prot_nents | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_task_lba |
drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_write_pending() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| BUF_SIZE | 0 | se_cmd | (-1),656 |
| BUF_SIZE | 0 | se_cmd->t_data_sg | (-1),32 |
| DATA_SOURCE | 0 | se_cmd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | se_cmd->residual_count | 1-u32max |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->data_length | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->reftag_seed | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_data_nents | |
| NO_OVERFLOW_SIMPLE | 0 | se_cmd->t_task_lba | |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/isert/ib_isert.c isert_rdma_rw_ctx_destroy() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| BUF_SIZE | 0 | se_cmd | 656 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/ulp/isert/ib_isert.c isert_rdma_rw_ctx_post() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| BUF_SIZE | 0 | se_cmd | 656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_alloc_rw_ctxs() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| PARAM_VALUE | 0 | se_cmd->data_direction | 1-3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_free_rw_ctxs() -> target_reverse_dma_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | se_cmd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |