Documented in 2 files:
Defined in 1 files as a function:
Defined in 1 files as a enum:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/libfc/fc_lport.c fc_lport_enter_disabled() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 15 |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_dns() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1-2 |
| DATA_SOURCE | 0 | lport | $0 |
| HARD_MAX | 0 | lport->state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | lport->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->npiv_enabled | 0-1 |
| USER_DATA | 0 | lport->r_a_tov | 1-u32max[c] |
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_fdmi() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 7-8 |
| DATA_SOURCE | 0 | lport | $0 |
| HARD_MAX | 0 | lport->state | 8 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_flogi() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1,16 |
| BUF_SIZE | 0 | lport | (-1)-u16max |
| BUF_SIZE | 0 | lport | (-1)-u16max |
| BUF_SIZE | 0 | lport->host->hostt | (-1),360 |
| CAPPED_DATA | 0 | lport | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| HARD_MAX | 0 | lport->state | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | lport->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->npiv_enabled | 0-1 |
| USER_DATA | 0 | lport->r_a_tov | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.io_min | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.physical_block_size | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.zone_write_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.p | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.physical_location | |
| HALF_LOCKED2 | 0 | lport->host->host_lock | |
| HALF_LOCKED2 | 0 | &lport->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_logo() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_ms() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 8-9,11-12 |
| DATA_SOURCE | 0 | lport | $0 |
| HARD_MAX | 0 | lport->state | 12 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_ns() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 2-7 |
| DATA_SOURCE | 0 | lport | $0 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_ready() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1,13-14,16 |
| BUF_SIZE | 0 | lport->ptp_rdata | (-1),1-u16max |
| CAPPED_DATA | 0 | lport | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| NOSPEC | 0 | lport->ptp_rdata->ids.port_id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | lport->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->npiv_enabled | 0-1 |
| USER_DATA | 0 | lport->ptp_rdata->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->ptp_rdata->ids.port_id | 0-16777215[c] |
| USER_DATA | 0 | lport->ptp_rdata->local_port->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->ptp_rdata->local_port->npiv_enabled | 0-1 |
| USER_DATA | 0 | lport->ptp_rdata->local_port->r_a_tov | 0-u32max[c] |
| USER_DATA | 0 | lport->ptp_rdata->r_a_tov | 0-u32max[c] |
| USER_DATA | 0 | lport->r_a_tov | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.io_min | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.physical_block_size | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.zone_write_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.p | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.physical_location | |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_reset() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| BUF_SIZE | 0 | lport | (-1)-u16max |
| BUF_SIZE | 0 | lport | (-1)-u16max |
| BUF_SIZE | 0 | lport->host->hostt | (-1),360 |
| CAPPED_DATA | 0 | lport | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | lport->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->npiv_enabled | 0-1 |
| USER_DATA | 0 | lport->r_a_tov | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.io_min | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.physical_block_size | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.zone_write_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.p | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.physical_location | |
| HALF_LOCKED2 | 0 | lport->host->host_lock | |
| HALF_LOCKED2 | 0 | &lport->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_scr() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 7,9-13 |
| DATA_SOURCE | 0 | lport | $0 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_error() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| BUF_SIZE | 0 | lport->host->hostt | (-1),360 |
| CAPPED_DATA | 0 | lport | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | lport->e_d_tov | 1-u32max[c] |
| USER_DATA | 0 | lport->npiv_enabled | 0-1 |
| USER_DATA | 0 | lport->r_a_tov | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.io_min | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.physical_block_size | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->limits.zone_write_granularity | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_dev.physical_location | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.p | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->shost_gendev.physical_location | |
| HALF_LOCKED2 | 0 | lport->host->host_lock | |
| HALF_LOCKED2 | 0 | &lport->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_flogi_resp() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 0,2-u32max |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| DATA_SOURCE | 0 | lport | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_logo_resp() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 0-14,16-u32max |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| DATA_SOURCE | 0 | lport | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_ms_resp() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 0-8,13-u32max |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| DATA_SOURCE | 0 | lport | $2 |
| FUZZY_MAX | 0 | lport->state | 13 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_ns_resp() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 0-2,8-u32max |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| DATA_SOURCE | 0 | lport | $2 |
| FUZZY_MAX | 0 | lport->state | 8 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_echo_req() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_flogi_req() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_rlir_req() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_rnid_req() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_scr_resp() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 0-12,14-u32max |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| DATA_SOURCE | 0 | lport | $2 |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_timeout() -> fc_lport_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 9-12 |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |