Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/scsi/bnx2fc/bnx2fc_fcoe.c
- drivers/scsi/fcoe/fcoe.c
- drivers/scsi/libfc/fc_lport.c, line 347
- drivers/scsi/libfc/fc_rport.c, line 1667
- drivers/scsi/qedf/qedf_main.c
Smatch caller information:
drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_get_host_stats() -> fc_get_host_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| DATA_SOURCE | 0 | shost | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hba->hba_stats_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bnx2fc_hba)->hba_stats_mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_rls_req() -> fc_get_host_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/qedf/qedf_main.c qedf_fc_get_host_stats() -> fc_get_host_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| DATA_SOURCE | 0 | shost | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/scsi_transport_fc.c fc_stat_show() -> (struct fc_function_template)->get_fc_host_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |