Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/infiniband/ulp/iser/iscsi_iser.c, line 993
- drivers/scsi/be2iscsi/be_iscsi.c, line 798
- drivers/scsi/bnx2i/bnx2i_iscsi.c, line 1597
- drivers/scsi/cxgbi/libcxgbi.c, line 2848
- drivers/scsi/iscsi_tcp.c, line 852
- drivers/scsi/libiscsi.c, line 3913
- drivers/scsi/qedi/qedi_iscsi.c, line 713
Smatch caller information:
drivers/scsi/be2iscsi/be_iscsi.c beiscsi_get_host_param() -> iscsi_host_get_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 2-3 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| DATA_SOURCE | 0 | shost | $0 |
| DATA_SOURCE | 1 | param | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/cxgbi/libcxgbi.c cxgbi_get_host_param() -> iscsi_host_get_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1,4-5 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| DATA_SOURCE | 0 | shost | $0 |
| DATA_SOURCE | 1 | param | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/iscsi_tcp.c iscsi_sw_tcp_host_get_param() -> iscsi_host_get_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 0-2,4-5 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| DATA_SOURCE | 0 | shost | $0 |
| DATA_SOURCE | 1 | param | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/qedi/qedi_iscsi.c qedi_host_get_param() -> iscsi_host_get_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1,4-5 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| DATA_SOURCE | 0 | shost | $0 |
| DATA_SOURCE | 1 | param | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_host_get_param() -> iscsi_host_get_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1,4-5 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| DATA_SOURCE | 0 | shost | $0 |
| DATA_SOURCE | 1 | param | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_transport_iscsi.c show_host_param_ISCSI_HOST_PARAM_HWADDRESS() -> (struct iscsi_transport)->get_host_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 0 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_transport_iscsi.c show_host_param_ISCSI_HOST_PARAM_INITIATOR_NAME() -> (struct iscsi_transport)->get_host_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 1 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_transport_iscsi.c show_host_param_ISCSI_HOST_PARAM_IPADDRESS() -> (struct iscsi_transport)->get_host_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 3 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_transport_iscsi.c show_host_param_ISCSI_HOST_PARAM_NETDEV_NAME() -> (struct iscsi_transport)->get_host_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 2 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_transport_iscsi.c show_host_param_ISCSI_HOST_PARAM_PORT_SPEED() -> (struct iscsi_transport)->get_host_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 5 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/scsi_transport_iscsi.c show_host_param_ISCSI_HOST_PARAM_PORT_STATE() -> (struct iscsi_transport)->get_host_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 1 | param | 4 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | shost | r dev_to_shost |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |