Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/esp_scsi.c esp_cmd_is_done() -> esp_put_ent()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
PARAM_VALUE 0 esp->active_cmd 0
PARAM_VALUE 0 esp->dev->driver_data->dma_status 0-255
PARAM_VALUE 0 esp->esp_event_cur 0-31
PARAM_VALUE 0 esp->flags 128-u32max
PARAM_VALUE 0 esp->host 4096-ptr_max
PARAM_VALUE 0 esp->ops 4096-ptr_max
PARAM_VALUE 0 esp->ops->dma_error 4096-ptr_max
PARAM_VALUE 0 esp->ops->esp_read8 4096-ptr_max
PARAM_VALUE 0 esp->ops->esp_write8 4096-ptr_max
PARAM_VALUE 0 esp->regs 4096-ptr_max
PARAM_VALUE 1 ent 4096-ptr_max
PARAM_VALUE 1 ent->eh_done 0
CAPPED_DATA 1 ent 1
DATA_SOURCE 0 esp $0
DATA_SOURCE 1 ent $1
BIT_INFO 1 ent->flags 0x0,0xfb
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 esp->active_cmd->cmd->result 0-255,262144-262399,458752-459007
HOST_DATA 0 esp->active_cmd->status 0-255
HOST_DATA 0 esp->ireg 0-255
HOST_DATA 0 esp->seqreg 0-255
HOST_DATA 0 esp->sreg2 0-255
HOST_DATA 1 ent->status 0-255
LOCK2 0 esp->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/scsi/esp_scsi.c esp_eh_abort_handler() -> esp_put_ent()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
PARAM_VALUE 0 esp->active_cmd 0,4096-ptr_max
PARAM_VALUE 0 esp->active_cmd->cmd->cmnd 4096-ptr_max
PARAM_VALUE 0 esp->esp_event_cur 0-31
PARAM_VALUE 0 esp->host 4096-ptr_max
PARAM_VALUE 0 esp->host->host_lock 4096-ptr_max
PARAM_VALUE 0 esp->host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 1 ent 4096-ptr_max
PARAM_VALUE 1 ent->cmd 4096-ptr_max
CAPPED_DATA 0 esp->esp_event_cur 1
CAPPED_DATA 0 &esp->active_cmds 1
CAPPED_DATA 0 &esp->queued_cmds 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 esp->host->host_lock

drivers/scsi/esp_scsi.c esp_reset_cleanup() -> esp_put_ent()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
PARAM_VALUE 0 esp->host 4096-ptr_max
PARAM_VALUE 0 esp->ops 4096-ptr_max
PARAM_VALUE 0 esp->ops->esp_read8 4096-ptr_max
PARAM_VALUE 0 esp->ops->esp_write8 4096-ptr_max
PARAM_VALUE 0 esp->ops->reset_dma 4096-ptr_max
PARAM_VALUE 1 ent 4096-ptr_max
PARAM_VALUE 1 ent->cmd 4096-ptr_max
PARAM_VALUE 1 ent->cmd->device->host->eh_action->wait.lock.dep_map->name 0-255
PARAM_VALUE 1 ent->cmd->device->host->eh_action->wait.lock.owner (-1)
PARAM_VALUE 1 ent->cmd->device->host->eh_action->wait.lock.owner_cpu u32max
PARAM_VALUE 1 ent->cmd->result 524288
CAPPED_DATA 0 &esp->queued_cmds 1
CAPPED_DATA 1 &ent->list 1
DATA_SOURCE 0 esp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 esp->active_cmd->status 0-255
HOST_DATA 0 esp->ireg 0-255
HOST_DATA 0 esp->seqreg 0-255
HOST_DATA 0 esp->sreg 0-255
HOST_DATA 0 esp->sreg2 0-255
LOCK2 0 esp->host->host_lock
HALF_LOCKED2 flags

drivers/scsi/esp_scsi.c esp_reset_cleanup_one() -> esp_put_ent()

Type Parameter Key Value
PARAM_VALUE 0 esp 4096-ptr_max
PARAM_VALUE 0 esp->flags 128-u32max
PARAM_VALUE 0 esp->host 4096-ptr_max
PARAM_VALUE 0 esp->ops 4096-ptr_max
PARAM_VALUE 0 esp->ops->esp_read8 4096-ptr_max
PARAM_VALUE 0 esp->ops->esp_write8 4096-ptr_max
PARAM_VALUE 0 esp->ops->reset_dma 4096-ptr_max
PARAM_VALUE 1 ent 4096-ptr_max
PARAM_VALUE 1 ent->cmd 4096-ptr_max
PARAM_VALUE 1 ent->cmd->device 4096-ptr_max
PARAM_VALUE 1 ent->cmd->device->host->dma_dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ent->cmd->device->host->eh_action->wait.lock.dep_map->name 0-255
PARAM_VALUE 1 ent->cmd->device->host->eh_action->wait.lock.owner (-1)
PARAM_VALUE 1 ent->cmd->device->host->eh_action->wait.lock.owner_cpu u32max
PARAM_VALUE 1 ent->cmd->device->hostdata 4096-ptr_max
PARAM_VALUE 1 ent->cmd->device->hostdata->num_tagged s32min-s32max
PARAM_VALUE 1 ent->cmd->result 524288
CAPPED_DATA 1 ent 1
DATA_SOURCE 0 esp $0
DATA_SOURCE 1 ent $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 esp->active_cmd->status 0-255
HOST_DATA 0 esp->ireg 0-255
HOST_DATA 0 esp->seqreg 0-255
HOST_DATA 0 esp->sreg 0-255
HOST_DATA 0 esp->sreg2 0-255
LOCK2 0 esp->host->host_lock
HALF_LOCKED2 flags