Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/libfc/fc_fcp.c fc_fcp_abort_done() -> fc_fcp_complete_locked()

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->state 8-251
PARAM_VALUE 0 fsp->wait_for_comp 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 0x8,0xfb
PREEMPT_ADD
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_fcp_error() -> fc_fcp_complete_locked()

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->state 0-251
PARAM_VALUE 0 fsp->status_code 3
DATA_SOURCE 0 fsp $0
BIT_INFO 0 fsp->state 0x0,0xfb
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_pkt_abort() -> fc_fcp_complete_locked()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
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->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
PARAM_VALUE 0 fsp->timer.flags 0-4194302
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
DATA_SOURCE 0 fsp $0
BIT_INFO 0 fsp->state 0x0,0xf7
PREEMPT_ADD
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() -> fc_fcp_complete_locked()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->io_status 0
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->status_code 9
BUF_SIZE 0 fsp (-1),1-u16max
BUF_SIZE 0 fsp (-1),1-u16max
DATA_SOURCE 0 fsp $0
PREEMPT_ADD
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_fcp_recv_data() -> fc_fcp_complete_locked()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cmd 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
PARAM_VALUE 0 fsp->xfer_ddp u16max
PARAM_VALUE 0 fsp->xfer_len 0-u32max
CAPPED_DATA 0 fsp->xfer_len 1
DATA_SOURCE 0 fsp $0
BIT_INFO 0 fsp->state 0x2,0xf3
PREEMPT_ADD
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_resp() -> fc_fcp_complete_locked()

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
BIT_INFO 0 fsp->state 0x2,0xff
PREEMPT_ADD
NOCHECK_CALL
USER_DATA 0 fsp->cdb_status 0-255[u]
USER_DATA 0 fsp->scsi_comp_flags 0-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 bh
LOCK2 0 &fsp->scsi_pkt_lock
TYPE_LOCK (struct fc_fcp_pkt)->scsi_pkt_lock

drivers/scsi/libfc/fc_fcp.c fc_fcp_resp() -> fc_fcp_complete_locked()

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 8
DATA_SOURCE 0 fsp $0
PREEMPT_ADD
NOCHECK_CALL
USER_DATA 0 fsp->cdb_status 0-255[u]
USER_DATA 0 fsp->scsi_comp_flags 1-255[u]
USER_DATA 0 fsp->scsi_resid 0-u32max[u]
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_retry_cmd() -> fc_fcp_complete_locked()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->io_status 0
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-251
PARAM_VALUE 0 fsp->status_code 8,12
BUF_SIZE 0 fsp (-1),1-u16max
BUF_SIZE 0 fsp (-1),1-u16max
DATA_SOURCE 0 fsp $0
BIT_INFO 0 fsp->state 0x0,0xfb
PREEMPT_ADD
RX_PATH
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_timeout() -> fc_fcp_complete_locked()

Type Parameter Key Value
PARAM_VALUE 0 fsp 4096-ptr_max
PARAM_VALUE 0 fsp->cdb_cmd.fc_tm_flags 0
PARAM_VALUE 0 fsp->lp 4096-ptr_max
PARAM_VALUE 0 fsp->lp->qfull 0
PARAM_VALUE 0 fsp->rport 4096-ptr_max
PARAM_VALUE 0 fsp->scsi_pkt_lock.rlock.dep_map->name 0-255
BIT_INFO 0 fsp->state 0x42,0xff
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