Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/message/fusion/mptfc.c, line 519
- drivers/scsi/bfa/bfad_im.c, line 1089
- drivers/scsi/csiostor/csio_attr.c, line 104
- drivers/scsi/ibmvscsi/ibmvfc-core.c, line 6774
- drivers/scsi/lpfc/lpfc_hbadisc.c, line 4545
- drivers/scsi/lpfc/lpfc_nportdisc.c, line 1061
- drivers/scsi/qla2xxx/qla_init.c, line 6269
- drivers/scsi/scsi_transport_fc.c
Smatch caller information:
drivers/scsi/qla2xxx/qla_init.c qla2x00_reg_remote_port() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->channel | 0 |
| PARAM_VALUE | 0 | rport->dd_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->port_id | 0-16777215 |
| PARAM_VALUE | 0 | rport->port_state | 2 |
| PARAM_VALUE | 0 | rport->roles | 0 |
| PARAM_VALUE | 1 | roles | 0-2,16-18,32-34,48-50,64-66,80-82,96-98,112-114 |
| BUF_SIZE | 0 | rport | s32min-s32max |
| CAPPED_DATA | 0 | rport->port_id | 1 |
| DATA_SOURCE | 0 | rport | r fc_remote_port_add |
| FUZZY_MAX | 1 | roles | 0 |
| BIT_INFO | 0 | rport->port_id | 0x0,0xff |
| BIT_INFO | 1 | roles | 0x0,0x73 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->nr_requests |
drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_rcv_prli() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 1-u64max |
| PARAM_VALUE | 1 | roles | 0-3 |
| FUZZY_MAX | 1 | roles | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/bfa/bfad_im.c bfad_im_fc_rport_add() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->channel | 0 |
| PARAM_VALUE | 0 | rport->dd_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->maxframe_size | 0-u16max |
| PARAM_VALUE | 0 | rport->port_id | 0-16777215 |
| PARAM_VALUE | 0 | rport->port_state | 2 |
| PARAM_VALUE | 0 | rport->roles | 0 |
| PARAM_VALUE | 1 | roles | 1 |
| BUF_SIZE | 0 | rport | s32min-s32max |
| CAPPED_DATA | 0 | rport->port_id | 1 |
| DATA_SOURCE | 0 | rport | r fc_remote_port_add |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->nr_requests | |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptfc.c mptfc_register_dev() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->channel | 0-254 |
| PARAM_VALUE | 0 | rport->dd_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->port_state | 2 |
| PARAM_VALUE | 0 | rport->roles | 0 |
| PARAM_VALUE | 1 | roles | 1,3 |
| BUF_SIZE | 0 | rport | s32min-s32max |
| CAPPED_DATA | 0 | rport->channel | 1 |
| DATA_SOURCE | 0 | rport | r fc_remote_port_add |
| BIT_INFO | 1 | roles | 0x1,0x3 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->nr_requests | |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_register_remote_port() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->channel | 0 |
| PARAM_VALUE | 0 | rport->dd_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->maxframe_size | 0-u16max |
| PARAM_VALUE | 0 | rport->port_state | 2 |
| PARAM_VALUE | 0 | rport->roles | 0 |
| PARAM_VALUE | 0 | rport->supported_classes | 0-255 |
| PARAM_VALUE | 1 | roles | 1-3,16-19,32-35,48-51,64-67,80-83,96-99,112-115 |
| BUF_SIZE | 0 | rport | s32min-s32max |
| DATA_SOURCE | 0 | rport | r fc_remote_port_add |
| BIT_INFO | 1 | roles | 0x0,0x73 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | rport->rqst_q->nr_requests | |
| HALF_LOCKED2 | &vport->phba->hbalock |
drivers/scsi/scsi_transport_fc.c fc_remote_port_add() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->channel | 0-254 |
| PARAM_VALUE | 0 | rport->flags | 0-251 |
| PARAM_VALUE | 0 | rport->peers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->peers.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->peers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->port_state | 2 |
| CAPPED_DATA | 0 | rport->channel | 1 |
| CAPPED_DATA | 0 | rport->node_name | 1 |
| CAPPED_DATA | 0 | rport->port_id | 1 |
| CAPPED_DATA | 0 | rport->port_name | 1 |
| CAPPED_DATA | 0 | &rport->peers | 1 |
| BIT_INFO | 0 | rport->flags | 0x0,0xfb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fnic->fnic_lock |
drivers/scsi/csiostor/csio_attr.c csio_reg_rnode() -> fc_remote_port_rolechg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rport | 1-u64max |
| PARAM_VALUE | 0 | rport->channel | 0 |
| PARAM_VALUE | 0 | rport->dd_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rport->maxframe_size | 0-u16max |
| PARAM_VALUE | 0 | rport->port_id | 0 |
| PARAM_VALUE | 0 | rport->port_state | 2 |
| PARAM_VALUE | 0 | rport->roles | 0 |
| PARAM_VALUE | 0 | rport->supported_classes | 0,8 |
| PARAM_VALUE | 1 | roles | 1-3 |
| NOCHECK_CALL |