Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/scsi/mpi3mr/mpi3mr_app.c mpi3mr_bsg_repost_hdb() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->addr | 1-u64max |
| PARAM_VALUE | 0 | hdb->disabled_after_reset | 0 |
| PARAM_VALUE | 0 | hdb->is_segmented | 1 |
| PARAM_VALUE | 0 | hdb->status | 2 |
| PARAM_VALUE | 0 | hdb->type | 0-2 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | trigger_data | 0 |
| PARAM_VALUE | 3 | force | 1 |
| DATA_SOURCE | 0 | hdb | r mpi3mr_diag_buffer_for_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->bsg_cmds.mutex | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mpi3mr_drv_cmd)->mutex |
drivers/scsi/mpi3mr/mpi3mr_app.c mpi3mr_hdbstatuschg_evt_th() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->status | 4 |
| PARAM_VALUE | 1 | type | 5 |
| PARAM_VALUE | 2 | trigger_data | 0 |
| PARAM_VALUE | 3 | force | 0 |
| DATA_SOURCE | 0 | hdb | r mpi3mr_diag_buffer_for_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &drv_cmd->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_app.c mpi3mr_issue_diag_buf_release() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->status | 2-3 |
| PARAM_VALUE | 0 | hdb->type | 0-2 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | trigger_data | 0 |
| PARAM_VALUE | 3 | force | 1 |
| DATA_SOURCE | 0 | hdb | $1 |
| BIT_INFO | 0 | hdb->status | 0x2,0x3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mrioc->init_cmds.mutex | ||
| HALF_LOCKED2 | &mrioc->reset_mutex | ||
| TYPE_LOCK | (struct mpi3mr_drv_cmd)->mutex |
drivers/scsi/mpi3mr/mpi3mr_app.c mpi3mr_set_trigger_data_in_all_hdb() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1,4-5 |
| PARAM_VALUE | 2 | trigger_data | 0,1096977301178048512,2982292828292956160,8951411585310613504 |
| PARAM_VALUE | 3 | force | 0 |
| DATA_SOURCE | 0 | hdb | r mpi3mr_diag_buffer_for_type |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 2 | trigger_data | $2 |
| DATA_SOURCE | 3 | force | $3 |
| HARD_MAX | 1 | type | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | trigger_data->fault | 0-u16max |
| HALF_LOCKED2 | &mrioc->reset_mutex |
drivers/scsi/mpi3mr/mpi3mr_app.c mpi3mr_set_trigger_data_in_all_hdb() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1,4-5 |
| PARAM_VALUE | 2 | trigger_data | 0,1096977301178048512,2982292828292956160,8951411585310613504 |
| PARAM_VALUE | 3 | force | 0 |
| DATA_SOURCE | 0 | hdb | r mpi3mr_diag_buffer_for_type |
| DATA_SOURCE | 1 | type | $1 |
| DATA_SOURCE | 2 | trigger_data | $2 |
| DATA_SOURCE | 3 | force | $3 |
| HARD_MAX | 1 | type | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | trigger_data->fault | 0-u16max |
| HALF_LOCKED2 | &mrioc->reset_mutex |
drivers/scsi/mpi3mr/mpi3mr_fw.c mpi3mr_repost_diag_bufs() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->disabled_after_reset | 0 |
| PARAM_VALUE | 0 | hdb->is_segmented | 1 |
| PARAM_VALUE | 0 | hdb->status | 2 |
| PARAM_VALUE | 0 | hdb->trigger_type | 0-1,4-255 |
| PARAM_VALUE | 0 | hdb->type | 0-2 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | trigger_data | 0 |
| PARAM_VALUE | 3 | force | 1 |
| DATA_SOURCE | 0 | hdb | r mpi3mr_diag_buffer_for_type |
| NOCHECK_CALL |
drivers/scsi/mpi3mr/mpi3mr_fw.c mpi3mr_repost_diag_bufs() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->disabled_after_reset | 0 |
| PARAM_VALUE | 0 | hdb->is_segmented | 1 |
| PARAM_VALUE | 0 | hdb->status | 2 |
| PARAM_VALUE | 0 | hdb->trigger_type | 0-1,4-255 |
| PARAM_VALUE | 0 | hdb->type | 0-2 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | trigger_data | 0 |
| PARAM_VALUE | 3 | force | 1 |
| DATA_SOURCE | 0 | hdb | r mpi3mr_diag_buffer_for_type |
| NOCHECK_CALL |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_process_trigger_data_event_bh() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 1-u64max |
| PARAM_VALUE | 1 | type | 0,2-3 |
| PARAM_VALUE | 2 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | force | 1 |
| BUF_SIZE | 2 | trigger_data | 16 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_process_trigger_data_event_bh() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 1-u64max |
| PARAM_VALUE | 1 | type | 0,2-3 |
| PARAM_VALUE | 2 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | force | 1 |
| BUF_SIZE | 2 | trigger_data | 16 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_process_trigger_data_event_bh() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->type | 0-2 |
| PARAM_VALUE | 1 | type | 0,2-3 |
| PARAM_VALUE | 2 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | force | 1 |
| BUF_SIZE | 2 | trigger_data | 16 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/mpi3mr/mpi3mr_os.c mpi3mr_process_trigger_data_event_bh() -> mpi3mr_set_trigger_data_in_hdb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdb | 4096-ptr_max |
| PARAM_VALUE | 0 | hdb->type | 0-2 |
| PARAM_VALUE | 1 | type | 0,2-3 |
| PARAM_VALUE | 2 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | force | 1 |
| BUF_SIZE | 2 | trigger_data | 16 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |