Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/libfc/fc_lport.c fc_fabric_login() -> fc_lport_state_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 0,15 |
| PARAM_VALUE | 1 | state | 16 |
| BUF_SIZE | 0 | lport | (-1)-0,8,96,248,1296 |
| BUF_SIZE | 0 | lport | (-1)-0,8,96,248,1296 |
| CAPPED_DATA | 0 | &lport->lp_mutex | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->async_depth | |
| 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->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | lport->host->pseudo_sdev->request_queue->nr_requests | |
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &fcoe_config_mutex | ||
| HALF_LOCKED2 | global &ft_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_config() -> fc_lport_state_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | lport->host->hostt | (-1),360 |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &bnx2fc_dev_lock | ||
| HALF_LOCKED2 | global &fcoe_config_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_disabled() -> fc_lport_state_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 15 |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| BUF_SIZE | 0 | lport | (-1),1-u16max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1-2 |
| PARAM_VALUE | 1 | state | 2 |
| DATA_SOURCE | 0 | lport | $0 |
| HARD_MAX | 0 | lport->state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 7-8 |
| PARAM_VALUE | 1 | state | 8 |
| DATA_SOURCE | 0 | lport | $0 |
| HARD_MAX | 0 | lport->state | 8 |
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1,16 |
| PARAM_VALUE | 1 | state | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 15 |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 8-9,11-12 |
| PARAM_VALUE | 1 | state | 9-12 |
| DATA_SOURCE | 0 | lport | $0 |
| DATA_SOURCE | 1 | state | $1 |
| HARD_MAX | 0 | lport->state | 12 |
| HARD_MAX | 1 | state | 12 |
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 2-7 |
| PARAM_VALUE | 1 | state | 3-7 |
| DATA_SOURCE | 0 | lport | $0 |
| DATA_SOURCE | 1 | state | $1 |
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1,13-14,16 |
| PARAM_VALUE | 1 | state | 14 |
| 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 | |||
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 1-14,16-u32max |
| PARAM_VALUE | 1 | state | 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->state | 7,9-13 |
| PARAM_VALUE | 1 | state | 13 |
| DATA_SOURCE | 0 | lport | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_lport)->lp_mutex |