Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/scsi/bnx2fc/bnx2fc_tgt.c, line 161
- drivers/scsi/fcoe/fcoe_ctlr.c
- 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 405
Smatch caller information:
drivers/scsi/libfc/fc_disc.c fc_disc_done() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->disc_id | 1-u16max |
| PARAM_VALUE | 0 | rdata->kref.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | &rdata->peers | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &disc->disc_mutex |
drivers/scsi/libfc/fc_disc.c fc_disc_gpn_id_resp() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->ids.port_name | 0-18446744073709551614 |
| PARAM_VALUE | 0 | rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &rdata->rp_mutex | 1 |
| DATA_SOURCE | 0 | rdata | $2 |
| NOCHECK_CALL |
drivers/scsi/libfc/fc_disc.c fc_disc_gpn_id_resp() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| DATA_SOURCE | 0 | rdata | $2 |
| NOCHECK_CALL |
drivers/scsi/libfc/fc_disc.c fc_disc_stop_rports() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->kref.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | &rdata->peers | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &disc->disc_mutex | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex |
drivers/scsi/bnx2fc/bnx2fc_tgt.c bnx2fc_offload_session() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->ids.roles | 1-u32max |
| PARAM_VALUE | 0 | rdata->lld_event_callback | 1-u64max |
| PARAM_VALUE | 0 | rdata->local_port->disc.disc_work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | rdata->local_port->disc.disc_work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | rdata->local_port->disc.disc_work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | rdata->local_port->retry_work.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | rdata->local_port->retry_work.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | rdata->local_port->retry_work.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | rdata->major_retries | 0 |
| PARAM_VALUE | 0 | rdata->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdata->ops->event_callback | 5772507863561998336,8808299946903261184 |
| PARAM_VALUE | 0 | rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rport->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | rdata->rport->devloss_work_q->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rport->devloss_work_q->work_color | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rport->port_id | 0-16777211,16777213-u32max |
| PARAM_VALUE | 0 | rdata->spp_type | 8 |
| DATA_SOURCE | 0 | rdata | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &hba->hba_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bnx2fc_hba)->hba_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_work() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->event | 0 |
| PARAM_VALUE | 0 | rdata->local_port | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->local_port->host | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->local_port->host->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->local_port->host->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->local_port->host->shost_data | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->local_port->host->shost_data->next_rport_number | 0-4294967295 |
| PARAM_VALUE | 0 | rdata->local_port->host->shost_data->next_target_id | 0-4294967295 |
| PARAM_VALUE | 0 | rdata->local_port->host->shost_gendev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->local_port->host->shost_gendev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->major_retries | 0 |
| PARAM_VALUE | 0 | rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rport | 0 |
| CAPPED_DATA | 0 | &rdata->rp_mutex | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_disc_stop_locked() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->kref.refcount.refs.counter | (-1073741824),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fip->ctlr_mutex | ||
| LOCK2 | &lport->disc.disc_mutex | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fcoe_ctlr)->ctlr_mutex |
drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_vn_add() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->ops | 3715657903686094848 |
| PARAM_VALUE | 0 | rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.wait_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | rdata->ops | 8 |
| CAPPED_DATA | 0 | rdata->ids.port_id | 1 |
| CAPPED_DATA | 0 | &rdata->rp_mutex | 1 |
| DATA_SOURCE | 0 | rdata | r fc_rport_create |
| NOCHECK_CALL | |||
| LOCK2 | &fip->ctlr_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct fcoe_ctlr)->ctlr_mutex |
drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_vn_age() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->kref.refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | &fip->ctlr_mutex | ||
| LOCK2 | &lport->disc.disc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_disc)->disc_mutex | ||
| TYPE_LOCK | (struct fcoe_ctlr)->ctlr_mutex |
drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_vn_rport_callback() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->ops->event_callback | 5772507863561998336,8808299946903261184 |
| PARAM_VALUE | 0 | rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| DATA_SOURCE | 0 | rdata | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &fip->ctlr_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fcoe_ctlr)->ctlr_mutex |
drivers/scsi/libfc/fc_lport.c fc_fabric_logoff() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &fcoe_config_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_ptp_setup() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_reset_locked() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &lport->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_reset_locked() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &lport->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_rport_callback() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->event | 0 |
| PARAM_VALUE | 0 | rdata->major_retries | 0 |
| PARAM_VALUE | 0 | rdata->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->ops->event_callback | 5772507863561998336,8808299946903261184 |
| PARAM_VALUE | 0 | rdata->rp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | rdata->rp_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdata->rport | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->rport->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| DATA_SOURCE | 0 | rdata | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/qedf/qedf_els.c qedf_restart_rport() -> fc_rport_logoff()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdata | 4096-ptr_max |
| PARAM_VALUE | 0 | rdata->kref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | rdata->rp_state | 6 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |