Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/fnic/fdls_disc.c fdls_process_gpn_ft_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->active_oxid_fabric_req | u16max |
| PARAM_VALUE | 0 | iport->fabric.retry_counter | 0 |
| PARAM_VALUE | 0 | iport->fabric.state | 10-13 |
| PARAM_VALUE | 0 | iport->fabric.timer_pending | 0 |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| CAPPED_DATA | 0 | &iport->tport_list | 1 |
| CAPPED_DATA | 1 | &tport->links | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_gpn_ft_tgt_list() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->active_oxid_fabric_req | u16max |
| PARAM_VALUE | 0 | iport->fabric.retry_counter | 0 |
| PARAM_VALUE | 0 | iport->fabric.state | 10-13 |
| PARAM_VALUE | 0 | iport->fabric.timer_pending | 0 |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| BUF_SIZE | 1 | tport | (-1),352 |
| BUF_SIZE | 1 | tport | (-1),352 |
| DATA_SOURCE | 0 | iport | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_gpn_ft_tgt_list() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->active_oxid_fabric_req | u16max |
| PARAM_VALUE | 0 | iport->fabric.retry_counter | 0 |
| PARAM_VALUE | 0 | iport->fabric.state | 10-13 |
| PARAM_VALUE | 0 | iport->fabric.timer_pending | 0 |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| CAPPED_DATA | 0 | &iport->tport_list | 1 |
| CAPPED_DATA | 1 | &tport->links | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffe |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_logo_req() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->retry_counter | 0 |
| PARAM_VALUE | 1 | tport->state | 5 |
| PARAM_VALUE | 1 | tport->timer_pending | 0 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_logo_req() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->state | 0-4,6-u32max |
| PARAM_VALUE | 1 | tport->timer_pending | 0 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_abts_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->timer_pending | 0 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_abts_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->timer_pending | 0 |
| CAPPED_DATA | 0 | iport->max_plogi_retries | 1 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_adisc_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->state | 5 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_plogi_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->state | 1 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_prli_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->frame_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | 0-16383,u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->state | 2 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_prli_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->frame_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | 0-16383,u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->state | 2 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_process_tgt_prli_rsp() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.state | 0-1,3-u32max |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->frame_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iport->oxid_pool.bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->state | 4 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->active_oxid | 0-16383,u16max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->retry_counter | 0 |
| PARAM_VALUE | 1 | tport->state | 2 |
| PARAM_VALUE | 1 | tport->timer_pending | 0 |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| DATA_SOURCE | 1 | tport | r fnic_find_tport_by_fcid |
| BIT_INFO | 1 | tport->fcp_csp | 0x0,0xffffffef |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fdls_target_restart_nexus() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| PARAM_VALUE | 1 | tport->fcid | 0-16777215 |
| PARAM_VALUE | 1 | tport->iport | 4096-ptr_max |
| CAPPED_DATA | 1 | tport->fcid | 1 |
| DATA_SOURCE | 1 | tport | $0 |
| BIT_INFO | 1 | tport->flags | 0x0,0xfffffffd |
| PREEMPT_ADD | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fdls_disc.c fnic_fdls_link_down() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iport | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fabric.flags | 0 |
| PARAM_VALUE | 0 | iport->fnic | 4096-ptr_max |
| PARAM_VALUE | 0 | iport->fnic->fnic_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *iport->fpma | 0-255 |
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| BUF_SIZE | 0 | iport | 18376 |
| CAPPED_DATA | 0 | &iport->tport_list | 1 |
| CAPPED_DATA | 1 | &tport->links | 1 |
| DATA_SOURCE | 0 | iport | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | fnic->lock_flags | ||
| LOCK2 | fnic->lock_flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |
drivers/scsi/fnic/fnic_fcs.c fnic_tport_event_handler() -> fdls_delete_tport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tport | 4096-ptr_max |
| BUF_SIZE | 1 | tport | 32,40,328 |
| BUF_SIZE | 1 | tport | 32,40,328 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &fnic->fnic_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fnic)->fnic_lock |