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_pkt_release()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
NOCHECK_CALL

drivers/scsi/libfc/fc_fcp.c fc_eh_device_reset() -> fc_fcp_pkt_release()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cdb_cmd.fc_lun->scsi_lun 0-255
PARAM_VALUE 0 fsp->cdb_cmd.fc_tm_flags 16
PARAM_VALUE 0 fsp->lp 4096-ptr_max
PARAM_VALUE 0 fsp->lp->scsi_priv 4096-ptr_max
PARAM_VALUE 0 fsp->lp->state 14
PARAM_VALUE 0 fsp->ref_cnt.refs.counter 1
PARAM_VALUE 0 fsp->rport 0,4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fsp->seq_ptr 0
PARAM_VALUE 0 fsp->state 0
PARAM_VALUE 0 fsp->timer.entry.pprev 0
PARAM_VALUE 0 fsp->timer.flags 0-4194302
PARAM_VALUE 0 fsp->timer.function 0
PARAM_VALUE 0 fsp->timer.lockdep_map->name 0-255
PARAM_VALUE 0 fsp->tm_done.done 0-4294967293,u32max
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
PARAM_VALUE 0 fsp->tm_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 fsp->tm_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 fsp->tm_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 fsp->tm_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fsp->tm_done.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 fsp->wait_for_comp 0
PARAM_VALUE 0 fsp->xfer_ddp u16max
DATA_SOURCE 0 fsp r fc_fcp_pkt_alloc
NOCHECK_CALL

drivers/scsi/libfc/fc_fcp.c fc_fcp_cleanup_each_cmd() -> fc_fcp_pkt_release()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 &fsp->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &lport->lp_mutex

drivers/scsi/libfc/fc_fcp.c fc_fcp_pkt_destroy() -> fc_fcp_pkt_release()

Type Parameter Key Value
BUF_SIZE 0 fsp (-1)-u16max
DATA_SOURCE 0 fsp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ep->ex_lock
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &rdata->rp_mutex

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

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
NOCHECK_CALL

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

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
NOCHECK_CALL
USER_DATA 0 fsp->xfer_contig_end 0-u32max
USER_DATA 0 fsp->xfer_len 0-u32max

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

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),1-u16max
BUF_SIZE 0 fsp (-1),1-u16max
BUF_SIZE 0 fsp->seq_ptr (-1),12
DATA_SOURCE 0 fsp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 fsp->xfer_contig_end 0-u32max
USER_DATA 0 fsp->xfer_len 0-u32max

drivers/scsi/libfc/fc_fcp.c fc_io_compl() -> fc_fcp_pkt_release()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cmd 1-u64max
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->lp 4096-ptr_max
PARAM_VALUE 0 fsp->seq_ptr 0
BUF_SIZE 0 fsp (-1),1-u16max
BUF_SIZE 0 fsp (-1),1-u16max
DATA_SOURCE 0 fsp $0
BIT_INFO 0 fsp->state 0x20,0xff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 fsp->cdb_status 0-255[u]
USER_DATA 0 fsp->scsi_comp_flags 8-255[u]
USER_DATA 0 fsp->scsi_resid 0-u32max[u]
USER_DATA 0 *fsp->cmd->sense_buffer 0-255
USER_PTR 0 fsp->cmd->sense_buffer
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_queuecommand() -> fc_fcp_pkt_release()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cdb_cmd.fc_flags 0-2
PARAM_VALUE 0 fsp->cdb_cmd.fc_lun->scsi_lun 0-255
PARAM_VALUE 0 fsp->cmd 4096-ptr_max
PARAM_VALUE 0 fsp->cmd->device 4096-ptr_max
PARAM_VALUE 0 fsp->cmd->flags 0-s32max
PARAM_VALUE 0 fsp->cmd->resid_len 0
PARAM_VALUE 0 fsp->cmd->submitter 0-1
PARAM_VALUE 0 fsp->lp 4096-ptr_max
PARAM_VALUE 0 fsp->lp->link_up 1-255
PARAM_VALUE 0 fsp->lp->qfull 0
PARAM_VALUE 0 fsp->lp->scsi_priv 4096-ptr_max
PARAM_VALUE 0 fsp->lp->state 14
PARAM_VALUE 0 fsp->req_flags 0-2
PARAM_VALUE 0 fsp->rport 4096-ptr_max
PARAM_VALUE 0 fsp->rport->dd_data 4096-ptr_max
PARAM_VALUE 0 fsp->rport->port_state 2,11
PARAM_VALUE 0 fsp->rport->roles 1-u32max
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->state 0
PARAM_VALUE 0 fsp->timer.lockdep_map->name 0-255
PARAM_VALUE 0 fsp->xfer_ddp u16max
PARAM_VALUE 0 fsp->xfer_len 0
PARAM_VALUE 0 *fsp->cdb_cmd.fc_cdb 0-255
DATA_SOURCE 0 fsp r fc_fcp_pkt_alloc
FUZZY_MAX 0 fsp->req_flags 2
HARD_MAX 0 fsp->req_flags 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sdev->state_mutex