Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/scsi/bnx2fc/bnx2fc_fcoe.c
- drivers/scsi/fcoe/fcoe.c
- drivers/scsi/fcoe/fcoe_ctlr.c, line 472
- drivers/scsi/qedf/qedf_main.c
Smatch caller information:
drivers/scsi/bnx2fc/bnx2fc_fcoe.c __bnx2fc_enable() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp | 1-u64max |
| DATA_SOURCE | 0 | fip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &bnx2fc_dev_lock | ||
| HALF_LOCKED2 | global &ft_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/scsi/bnx2fc/bnx2fc_fcoe.c _bnx2fc_create() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev->enabled | 0 |
| PARAM_VALUE | 0 | fip->lp | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.buf_len | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.pending | 0-1 |
| PARAM_VALUE | 0 | fip->lp->disc.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.requested | 0-1 |
| PARAM_VALUE | 0 | fip->lp->disc.rports.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.rports.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.seq_count | 0 |
| PARAM_VALUE | 0 | fip->lp->dns_rdata | 0 |
| PARAM_VALUE | 0 | fip->lp->does_npiv | 1 |
| PARAM_VALUE | 0 | fip->lp->e_d_tov | 2000 |
| PARAM_VALUE | 0 | fip->lp->ema_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->host | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->link_up | 0 |
| PARAM_VALUE | 0 | fip->lp->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fip->lp->max_retry_count | 3 |
| PARAM_VALUE | 0 | fip->lp->max_rport_retry_count | 255 |
| PARAM_VALUE | 0 | fip->lp->mfs | 256-2112,4294967272 |
| PARAM_VALUE | 0 | fip->lp->port_id | 0 |
| PARAM_VALUE | 0 | fip->lp->ptp_rdata | 0 |
| PARAM_VALUE | 0 | fip->lp->r_a_tov | 10000 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_att_nodes | 0 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_atype | 7 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_ip_ver | 0 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_node_mgmt | 0 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_phys_port | 0 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_prot_port | 0 |
| PARAM_VALUE | 0 | fip->lp->rnid_gen.rnid_vend_spec | 0 |
| PARAM_VALUE | 0 | fip->lp->service_params | 418,434 |
| PARAM_VALUE | 0 | fip->lp->state | 0-1,14,16 |
| PARAM_VALUE | 0 | fip->lp->stats | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->tt.disc_recv_req | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.disc_start | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.disc_stop | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.disc_stop_final | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.elsct_send | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.exch_mgr_reset | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->vport | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->vports.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->vports.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &bnx2fc_dev_lock | ||
| LOCK2 | global &ft_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_indicate_netevent() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fip->lp->mfs | 256-2112,4294967272 |
| NOCHECK_CALL | |||
| LOCK2 | global &bnx2fc_dev_lock |
drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_start_disc() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &bnx2fc_dev_lock | ||
| HALF_LOCKED2 | global &ft_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/scsi/fcoe/fcoe.c _fcoe_create() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev->enabled | 0 |
| PARAM_VALUE | 0 | fip->lp | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.buf_len | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.disc_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | fip->lp->disc.pending | 0-1 |
| PARAM_VALUE | 0 | fip->lp->disc.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.requested | 0-1 |
| PARAM_VALUE | 0 | fip->lp->disc.rports.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.rports.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->disc.seq_count | 0 |
| PARAM_VALUE | 0 | fip->lp->dns_rdata | 0 |
| PARAM_VALUE | 0 | fip->lp->does_npiv | 1 |
| PARAM_VALUE | 0 | fip->lp->e_d_tov | 2000 |
| PARAM_VALUE | 0 | fip->lp->ema_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->host | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->link_up | 0 |
| PARAM_VALUE | 0 | fip->lp->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fip->lp->lport_list.next | 5829184023222378496 |
| PARAM_VALUE | 0 | fip->lp->lport_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->lso_max | 0-65536 |
| PARAM_VALUE | 0 | fip->lp->max_retry_count | 3 |
| PARAM_VALUE | 0 | fip->lp->max_rport_retry_count | 3 |
| PARAM_VALUE | 0 | fip->lp->mfs | 256-2112,4294967272 |
| PARAM_VALUE | 0 | fip->lp->port_id | 0 |
| PARAM_VALUE | 0 | fip->lp->ptp_rdata | 0 |
| PARAM_VALUE | 0 | fip->lp->r_a_tov | 4000 |
| PARAM_VALUE | 0 | fip->lp->rport_priv_size | 0,592 |
| PARAM_VALUE | 0 | fip->lp->scsi_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->service_params | 418,434 |
| PARAM_VALUE | 0 | fip->lp->state | 0-1,14,16 |
| PARAM_VALUE | 0 | fip->lp->stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->tt.disc_recv_req | 7940472887607394304,9005023819234557952 |
| PARAM_VALUE | 0 | fip->lp->tt.disc_start | 163058137167745024,523371152036831232 |
| PARAM_VALUE | 0 | fip->lp->tt.disc_stop | 1177878451191967744,6836762093456953344 |
| PARAM_VALUE | 0 | fip->lp->tt.disc_stop_final | 4715442949295779840,7223620063319490560 |
| PARAM_VALUE | 0 | fip->lp->tt.elsct_send | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.exch_mgr_reset | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.fcp_abort_io | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.fcp_cleanup | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->tt.fcp_cmd_send | 1-u64max |
| PARAM_VALUE | 0 | fip->lp->vport | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->vports.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->lp->vports.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &fcoe_config_mutex | ||
| LOCK2 | global &ft_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/scsi/fcoe/fcoe.c fcoe_device_notification() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev | 4096-ptr_max |
| NOCHECK_CALL |
drivers/scsi/fcoe/fcoe.c fcoe_enable() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &fcoe_config_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &ft_mutex |
drivers/scsi/fcoe/fcoe.c fcoe_reset() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->cdev->enabled | 0,2-u32max |
| PARAM_VALUE | 0 | fip->ctlr_ka_time | 0 |
| PARAM_VALUE | 0 | fip->ctlr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fip->ctlr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fip->ctlr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fip->dest_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->flogi_oxid | u16max |
| PARAM_VALUE | 0 | fip->map_dest | 1 |
| PARAM_VALUE | 0 | fip->port_ka_time | 0 |
| PARAM_VALUE | 0 | fip->sel_fcf | 0 |
| PARAM_VALUE | 0 | fip->sel_time | 0 |
| PARAM_VALUE | 0 | fip->sol_time | 0 |
| PARAM_VALUE | 0 | fip->state | 1 |
| PARAM_VALUE | 0 | fip->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | fip->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | fip->timer.function | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/qedf/qedf_main.c __qedf_probe() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qedf/qedf_main.c qedf_handle_link_update() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qedf/qedf_main.c qedf_initiate_fipvlan_req() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/qedf/qedf_main.c qedf_link_recovery() -> fcoe_ctlr_link_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fip | 4096-ptr_max |
| PARAM_VALUE | 0 | fip->ctlr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fip->flogi_oxid | u16max |
| PARAM_VALUE | 0 | fip->map_dest | 1 |
| PARAM_VALUE | 0 | fip->sel_fcf | 0 |
| PARAM_VALUE | 0 | fip->sel_time | 0 |
| PARAM_VALUE | 0 | fip->sol_time | 0 |
| PARAM_VALUE | 0 | fip->state | 1 |
| PARAM_VALUE | 0 | fip->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | fip->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | fip->timer.function | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |