Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/scsi/fcoe/fcoe_ctlr.c, line 2496
- drivers/scsi/libfc/fc_disc.c
- drivers/scsi/libfc/fc_lport.c
- drivers/scsi/libfc/fc_rport.c
- drivers/scsi/qedf/qedf_els.c, line 409
Smatch caller information:
drivers/scsi/libfc/fc_disc.c fc_disc_gpn_ft_parse() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 1 | port_id | 0-16777215 |
| CAPPED_DATA | 1 | port_id | 1 |
| DATA_SOURCE | 0 | lport | r fc_disc_lport |
| DATA_SOURCE | 1 | port_id | r ntoh24 |
| PARAM_COMPARE | 1 | port_id | != $0->port_id |
| USER_DATA | 1 | port_id | 0-16777215 |
| LOCK2 | &disc->disc_mutex | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex |
drivers/scsi/libfc/fc_disc.c fc_disc_gpn_id_resp() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &lport->disc.disc_mutex | 1 |
| LOCK2 | 0 | &lport->disc.disc_mutex | |
| TYPE_LOCK | (struct fc_disc)->disc_mutex |
drivers/scsi/libfc/fc_disc.c fc_disc_single() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | $0 |
| RX_PATH | |||
| LOCK2 | &disc->disc_mutex | ||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_plogi_req() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->link_up | 1-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | port_id | 0-16777215 |
| DATA_SOURCE | 0 | lport | $0 |
| DATA_SOURCE | 1 | port_id | r fc_frame_sid |
| RX_PATH | |||
| LOCK2 | &disc->disc_mutex | ||
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_vn_add() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | port_id | 0-16777215 |
| CAPPED_DATA | 0 | &lport->disc.disc_mutex | 1 |
| LOCK2 | &fip->ctlr_mutex | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &lport->disc.disc_mutex | |
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fcoe_ctlr)->ctlr_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_dns() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->host | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->retry_count | 0 |
| PARAM_VALUE | 0 | lport->state | 2 |
| PARAM_VALUE | 1 | port_id | 16777212 |
| CAPPED_DATA | 0 | &lport->disc.disc_mutex | 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] |
| LOCK2 | 0 | &lport->disc.disc_mutex | |
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_enter_fdmi() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->retry_count | 0 |
| PARAM_VALUE | 0 | lport->state | 8 |
| PARAM_VALUE | 1 | port_id | 16777210 |
| CAPPED_DATA | 0 | &lport->disc.disc_mutex | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| LOCK2 | 0 | &lport->disc.disc_mutex | |
| LOCK2 | 0 | &lport->lp_mutex | |
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_ptp_setup() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->host | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->lp_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lport->port_id | 1-16777215 |
| PARAM_VALUE | 0 | lport->ptp_rdata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->ptp_rdata->event | 3 |
| PARAM_VALUE | 0 | lport->ptp_rdata->flags | 0-65531 |
| PARAM_VALUE | 0 | lport->ptp_rdata->retries | 0 |
| PARAM_VALUE | 0 | lport->ptp_rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->ptp_rdata->rp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->ptp_rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->ptp_rdata->rp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->ptp_rdata->rp_state | 8 |
| PARAM_VALUE | 0 | lport->state | 1,14,16 |
| PARAM_VALUE | 1 | port_id | 0-16777215 |
| CAPPED_DATA | 0 | lport | 1 |
| CAPPED_DATA | 0 | &lport->disc.disc_mutex | 1 |
| DATA_SOURCE | 0 | lport | $0 |
| DATA_SOURCE | 1 | port_id | $1 |
| FUZZY_MAX | 1 | port_id | 65794 |
| 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 | 0-u32max[c] |
| LOCK2 | 0 | &lport->disc.disc_mutex | |
| LOCK2 | 0 | &lport->lp_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/qedf/qedf_els.c qedf_restart_rport() -> fc_rport_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport->disc.disc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lport->disc.disc_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &lport->disc.disc_mutex | 1 |
| LOCK2 | 0 | &lport->disc.disc_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex |