Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/net/ethernet/qlogic/qed/qed_nvmetcp_fw_funcs.c, line 24 (as a function)
- drivers/scsi/qedf/drv_scsi_fw_funcs.c, line 14 (as a function)
- drivers/scsi/qedi/qedi_fw_api.c, line 22 (as a function)
Referenced in 3 files:
- drivers/net/ethernet/qlogic/qed/qed_nvmetcp_fw_funcs.c
- drivers/scsi/qedf/drv_fcoe_fw_funcs.c
- drivers/scsi/qedi/qedi_fw_api.c
Smatch caller information:
drivers/scsi/qedi/qedi_fw_api.c init_initiator_login_request_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 4487785602028847104 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 1 |
| PARAM_VALUE | 2 | sgl_task_params->sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| PARAM_VALUE | 2 | sgl_task_params->total_buffer_size | 0-16777215 |
| DATA_SOURCE | 2 | sgl_task_params | $2 |
| MEM_ZERO | 2 | sgl_task_params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_login_request_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 5250351547335606272 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 1 |
| PARAM_VALUE | 2 | sgl_task_params->sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $3 |
| MEM_ZERO | 2 | sgl_task_params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_logout_request_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_logout_request_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_nop_out_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 6946198069987418112 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 0-1 |
| PARAM_VALUE | 2 | sgl_task_params->sgl | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $2 |
| MEM_ZERO | 2 | sgl_task_params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_nop_out_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 1018192881360396288 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 0-1 |
| PARAM_VALUE | 2 | sgl_task_params->sgl | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $3 |
| MEM_ZERO | 2 | sgl_task_params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_text_request_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 5216633938614779904 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 1 |
| PARAM_VALUE | 2 | sgl_task_params->sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $2 |
| MEM_ZERO | 2 | sgl_task_params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_initiator_text_request_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 4536299226459656192 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 1 |
| PARAM_VALUE | 2 | sgl_task_params->sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| DATA_SOURCE | 2 | sgl_task_params | $3 |
| MEM_ZERO | 2 | sgl_task_params | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_rw_iscsi_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_addr.hi | 0 |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_addr.lo | 0 |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_num_sges | 0 |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_total_length | 0 |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 0,8490722971765862400,8557777966517780480 |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| BUF_SIZE | 2 | sgl_task_params | 0,24 |
| BUF_SIZE | 2 | sgl_task_params | 0,24 |
| DATA_SOURCE | 2 | sgl_task_params | $4 |
| BIT_INFO | 2 | sgl_task_params | 0x0,0x77d75fbebaff7000 |
| BIT_INFO | 2 | sgl_task_params | 0x0,0x77d75fbebaff7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedi/qedi_fw_api.c init_rw_iscsi_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_addr.hi | 0 |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_addr.lo | 0 |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_num_sges | 0 |
| PARAM_VALUE | 0 | ctx_sgl_params->sgl_total_length | 0 |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 0,8490722971765862400,8557777966517780480 |
| PARAM_VALUE | 2 | sgl_task_params->sgl_phys_addr.hi | 0 |
| BUF_SIZE | 2 | sgl_task_params | 0,24 |
| BUF_SIZE | 2 | sgl_task_params | 0,24 |
| DATA_SOURCE | 2 | sgl_task_params | $4 |
| BIT_INFO | 2 | sgl_task_params | 0x0,0x77d75fbebaff7000 |
| BIT_INFO | 2 | sgl_task_params | 0x0,0x77d75fbebaff7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &session->frwd_lock | ||
| HALF_LOCKED2 | bh |
drivers/scsi/qedf/drv_fcoe_fw_funcs.c init_initiator_midpath_unsolicited_fcoe_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 8934592952634318848 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 1 |
| PARAM_VALUE | 2 | sgl_task_params->total_buffer_size | 12,16,28 |
| DATA_SOURCE | 2 | sgl_task_params | $2 |
| MEM_ZERO | 0 | ctx_sgl_params | |
| MEM_ZERO | 1 | ctx_data_desc | |
| MEM_ZERO | 2 | sgl_task_params | |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fcport->rport_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qedf_rport)->rport_lock |
drivers/scsi/qedf/drv_fcoe_fw_funcs.c init_initiator_midpath_unsolicited_fcoe_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| PARAM_VALUE | 2 | sgl_task_params | 6824387173563518976 |
| PARAM_VALUE | 2 | sgl_task_params->num_sges | 1 |
| PARAM_VALUE | 2 | sgl_task_params->total_buffer_size | 4096 |
| DATA_SOURCE | 2 | sgl_task_params | $3 |
| MEM_ZERO | 0 | ctx_sgl_params | |
| MEM_ZERO | 1 | ctx_data_desc | |
| MEM_ZERO | 2 | sgl_task_params | |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fcport->rport_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qedf_rport)->rport_lock |
drivers/scsi/qedf/drv_fcoe_fw_funcs.c init_initiator_rw_fcoe_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| DATA_SOURCE | 2 | sgl_task_params | $1 |
| MEM_ZERO | 0 | ctx_sgl_params | |
| MEM_ZERO | 1 | ctx_data_desc | |
| MEM_ZERO | 2 | sgl_task_params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fcport->rport_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct qedf_rport)->rport_lock |
drivers/scsi/qedf/drv_fcoe_fw_funcs.c init_initiator_rw_fcoe_task() -> init_scsi_sgl_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx_sgl_params | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx_data_desc | 4096-ptr_max |
| DATA_SOURCE | 2 | sgl_task_params | $1 |
| MEM_ZERO | 0 | ctx_sgl_params | |
| MEM_ZERO | 1 | ctx_data_desc | |
| MEM_ZERO | 2 | sgl_task_params | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fcport->rport_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct qedf_rport)->rport_lock |