Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/esas2r/esas2r_vda.c esas2r_build_ae_req() -> clear_vda_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| BUF_SIZE | 0 | rq->interrupt_cx | (-1),1-s32max |
| BUF_SIZE | 0 | rq->sense_buf | (-1),1-s32max |
| DATA_SOURCE | 0 | rq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/esas2r/esas2r_vda.c esas2r_build_cfg_req() -> clear_vda_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->comp_cb | 5404777953949511680 |
| PARAM_VALUE | 0 | rq->data_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->flags | 0,8-255 |
| PARAM_VALUE | 0 | rq->interrupt_cb | 0 |
| PARAM_VALUE | 0 | rq->req_stat | 254-255 |
| PARAM_VALUE | 0 | rq->req_type | 1 |
| PARAM_VALUE | 0 | rq->sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->timeout | 0 |
| PARAM_VALUE | 0 | rq->vda_req_sz | 0,32,256 |
| PARAM_VALUE | 0 | rq->vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vrq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.flags | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.function | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.reserved | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq_md | 4096-ptr_max |
| BUF_SIZE | 0 | rq | 176 |
| DATA_SOURCE | 0 | rq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/esas2r/esas2r_vda.c esas2r_build_flash_req() -> clear_vda_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->interrupt_cb | 0,1500606539921362944,4870797858849771520,7049604522716762112 |
| PARAM_VALUE | 0 | rq->req_stat | 254 |
| PARAM_VALUE | 0 | rq->vrq | 4096-ptr_max |
| BUF_SIZE | 0 | rq->interrupt_cx | (-1),1-s32max |
| BUF_SIZE | 0 | rq->sense_buf | (-1),1-s32max |
| DATA_SOURCE | 0 | rq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &a->fs_api_mutex | ||
| HALF_LOCKED2 | &a->nvram_semaphore |
drivers/scsi/esas2r/esas2r_vda.c esas2r_build_ioctl_req() -> clear_vda_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->comp_cb | 3949462890837843968,8574913642816892928 |
| PARAM_VALUE | 0 | rq->data_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->flags | 0 |
| PARAM_VALUE | 0 | rq->interrupt_cb | 0 |
| PARAM_VALUE | 0 | rq->req_stat | 254 |
| PARAM_VALUE | 0 | rq->req_type | 1 |
| PARAM_VALUE | 0 | rq->sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->timeout | 0 |
| PARAM_VALUE | 0 | rq->vda_req_sz | 0 |
| PARAM_VALUE | 0 | rq->vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vda_rsp_data->mgt_data.data.grp_info.grp_index | 0-31 |
| PARAM_VALUE | 0 | rq->vda_rsp_data->mgt_data.data.part_info.part_no | 0-127 |
| PARAM_VALUE | 0 | rq->vrq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.flags | 0-255 |
| PARAM_VALUE | 0 | rq->vrq->scsi.function | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.reserved | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 0 | rq->vrq_md | 4096-ptr_max |
| BUF_SIZE | 0 | rq->interrupt_cx | (-1),1-s32max |
| BUF_SIZE | 0 | rq->sense_buf | (-1),1-s32max |
| DATA_SOURCE | 0 | rq | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &buffered_ioctl_semaphore |
drivers/scsi/esas2r/esas2r_vda.c esas2r_build_mgt_req() -> clear_vda_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->comp_cb | 3949462890837843968 |
| PARAM_VALUE | 0 | rq->data_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->flags | 0 |
| PARAM_VALUE | 0 | rq->interrupt_cb | 0 |
| PARAM_VALUE | 0 | rq->interrupt_cx | 1-u64max |
| PARAM_VALUE | 0 | rq->req_stat | 254 |
| PARAM_VALUE | 0 | rq->req_type | 1 |
| PARAM_VALUE | 0 | rq->sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->timeout | 0 |
| PARAM_VALUE | 0 | rq->vda_req_sz | 0 |
| PARAM_VALUE | 0 | rq->vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vda_rsp_data->mgt_data.data.grp_info.grp_index | 0-31 |
| PARAM_VALUE | 0 | rq->vda_rsp_data->mgt_data.data.part_info.part_no | 0-127 |
| PARAM_VALUE | 0 | rq->vrq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.flags | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.function | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.reserved | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq_md | 4096-ptr_max |
| BUF_SIZE | 0 | rq->interrupt_cx | (-1),1-s32max |
| BUF_SIZE | 0 | rq->sense_buf | (-1),1-s32max |
| DATA_SOURCE | 0 | rq | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &a->fm_api_mutex | ||
| HALF_LOCKED2 | &a->fs_api_mutex | ||
| HALF_LOCKED2 | &a->mem_lock | ||
| HALF_LOCKED2 | &a->nvram_semaphore | ||
| HALF_LOCKED2 | flags |
drivers/scsi/esas2r/esas2r_vda.c esas2r_process_vda_ioctl() -> clear_vda_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->comp_cb | 5699877320267218944 |
| PARAM_VALUE | 0 | rq->data_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->flags | 0 |
| PARAM_VALUE | 0 | rq->interrupt_cb | 0 |
| PARAM_VALUE | 0 | rq->req_stat | 254 |
| PARAM_VALUE | 0 | rq->req_type | 1 |
| PARAM_VALUE | 0 | rq->sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->timeout | 0 |
| PARAM_VALUE | 0 | rq->vda_req_sz | 0 |
| PARAM_VALUE | 0 | rq->vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vrq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.flags | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.function | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.reserved | 0 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 0 | rq->vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 0 | rq->vrq_md | 4096-ptr_max |
| DATA_SOURCE | 0 | rq | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |