Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/libfc/fc_fcp.c fc_eh_abort() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_cmd_send() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->lp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->seq_ptr 4096-ptr_max
PARAM_VALUE 0 fsp->seq_ptr->cnt 1
PARAM_VALUE 0 fsp->seq_ptr->id 0
PARAM_VALUE 0 fsp->seq_ptr->ssb_stat 0
BUF_SIZE 0 fsp->seq_ptr (-1),12
DATA_SOURCE 0 fsp $1
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &fsp->scsi_pkt_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_error() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->status_code 1,3,7-8
DATA_SOURCE 0 fsp $0
FUZZY_MAX 0 fsp->status_code 3
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_rec_error() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 fsp $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_rec_resp() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->recov_retry 0
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 fsp $2
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 0 fsp->xfer_contig_end 0-u32max
USER_DATA 0 fsp->xfer_len 0-u32max
LOCK2 0 &fsp->scsi_pkt_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_recv() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->lp 4096-ptr_max
PARAM_VALUE 0 fsp->lp->state 14
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 fsp $2
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_srr_error() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cmd->device->host->eh_action->wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 fsp->lp->qfull 0-1
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->timer.function 0
BUF_SIZE 0 fsp 1-u16max
BUF_SIZE 0 fsp 1-u16max
DATA_SOURCE 0 fsp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_srr_resp() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 fsp 1-u16max
BUF_SIZE 0 fsp 1-u16max
DATA_SOURCE 0 fsp $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_srr_resp() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cdb_status 0
PARAM_VALUE 0 fsp->cmd->device->host->eh_action->wait.lock.dep_map->name 0-255
PARAM_VALUE 0 fsp->cmd->device->host->eh_action->wait.lock.owner (-1)
PARAM_VALUE 0 fsp->cmd->device->host->eh_action->wait.lock.owner_cpu u32max
PARAM_VALUE 0 fsp->io_status 0
PARAM_VALUE 0 fsp->lp->qfull 0-1
PARAM_VALUE 0 fsp->lp->scsi_priv->scsi_queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->seq_ptr->cnt 0
PARAM_VALUE 0 fsp->seq_ptr->ssb_stat 0
PARAM_VALUE 0 fsp->timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 fsp->timer.flags 0-4194302
PARAM_VALUE 0 fsp->timer.lockdep_map->name 0-255
PARAM_VALUE 0 fsp->tm_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 fsp->tm_done.wait.lock.owner (-1)
PARAM_VALUE 0 fsp->tm_done.wait.lock.owner_cpu u32max
BUF_SIZE 0 fsp 1-u16max
BUF_SIZE 0 fsp 1-u16max
DATA_SOURCE 0 fsp $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_timeout() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->rport 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->state 0-191
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_lun_reset_send() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->lp 4096-ptr_max
PARAM_VALUE 0 fsp->lp->host->can_queue (-1073741824)-(-1),1-1073741823
PARAM_VALUE 0 fsp->lp->host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->recov_retry 0-3
PARAM_VALUE 0 fsp->rport 4096-ptr_max
PARAM_VALUE 0 fsp->rport->dd_data 0,4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->seq_ptr 4096-ptr_max
PARAM_VALUE 0 fsp->seq_ptr->cnt 1
PARAM_VALUE 0 fsp->seq_ptr->id 0
PARAM_VALUE 0 fsp->seq_ptr->ssb_stat 0
PARAM_VALUE 0 fsp->timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 fsp->timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 fsp->timer_delay 248,250-536871162
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_tm_done() -> fc_fcp_unlock_pkt()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 fsp $2
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock