Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_diag_query() -> _ctl_diag_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| DATA_SOURCE | 0 | ioc | $0 |
| USER_DATA | 1 | buffer_type | 0-255 |
| LOCK2 | 0 | &ioc->ctl_cmds.mutex | |
| LOCK2 | 0 | &ioc->pci_access_mutex | |
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pci_access_mutex | ||
| TYPE_LOCK | (struct _internal_cmd)->mutex |
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_diag_read_buffer() -> _ctl_diag_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_type | 0-2 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | buffer_type | r _ctl_diag_get_bufftype |
| LOCK2 | 0 | &ioc->ctl_cmds.mutex | |
| LOCK2 | 0 | &ioc->pci_access_mutex | |
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pci_access_mutex | ||
| TYPE_LOCK | (struct _internal_cmd)->mutex |
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_diag_register_2() -> _ctl_diag_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | buffer_type | 0-255 |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ioc->ctl_cmds.mutex | |
| HALF_LOCKED2 | 0 | &ioc->pci_access_mutex |
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_diag_release() -> _ctl_diag_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_type | 0-2 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | buffer_type | r _ctl_diag_get_bufftype |
| LOCK2 | 0 | &ioc->ctl_cmds.mutex | |
| LOCK2 | 0 | &ioc->pci_access_mutex | |
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pci_access_mutex | ||
| TYPE_LOCK | (struct _internal_cmd)->mutex |
drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_diag_unregister() -> _ctl_diag_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer_type | 0-2 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | buffer_type | r _ctl_diag_get_bufftype |
| LOCK2 | 0 | &ioc->ctl_cmds.mutex | |
| LOCK2 | 0 | &ioc->pci_access_mutex | |
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->pci_access_mutex | ||
| TYPE_LOCK | (struct _internal_cmd)->mutex |