Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/csiostor/csio_init.c csio_pci_slot_reset() -> csio_is_hw_ready()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
BUF_SIZE 0 hw s32min-(-2),1-s32max
BUF_SIZE 0 hw s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hw unit_byte
LOCK2 irq
LOCK2 0 &hw->lock
HALF_LOCKED2 &pdev->dev.mutex
TYPE_LOCK (struct csio_hw)->lock

drivers/scsi/csiostor/csio_scsi.c csio_queuecommand() -> csio_is_hw_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hw unit_byte
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/csiostor/csio_scsi.c csio_scsi_err_handler() -> csio_is_hw_ready()

Type Parameter Key Value
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 irq
HALF_LOCKED2 0 &hw->lock

drivers/scsi/csiostor/csio_scsi.c csio_show_hw_state() -> csio_is_hw_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hw unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/csiostor/csio_hw.c csio_hw_reset() -> csio_is_hw_ready()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
DATA_SOURCE 0 hw $0
BIT_INFO 0 hw->flags 0x1,0xffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hw unit_byte
LOCK2 &of->mutex
LOCK2 irq
LOCK2 0 &hw->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct csio_hw)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/csiostor/csio_hw.c csio_hw_start() -> csio_is_hw_ready()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING