Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/ipr.c ipr_is_scsi_disk() -> ipr_is_af_dasd_device()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 0 res $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hrrq->_lock
HALF_LOCKED2 hrrq->lock
HALF_LOCKED2 hrrq_flags
HALF_LOCKED2 ioa_cfg->host->host_lock
HALF_LOCKED2 lock_flags

drivers/scsi/ipr.c ipr_queuecommand() -> ipr_is_af_dasd_device()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
RX_PATH
TASK_NOT_RUNNING
UNITS 0 res unit_byte
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/ipr.c ipr_sdev_configure() -> ipr_is_af_dasd_device()

Type Parameter Key Value
PARAM_VALUE 0 res 1-u64max
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 res unit_byte
LOCK2 &sdev->request_queue->limits_lock
LOCK2 &shost->scan_mutex
LOCK2 ioa_cfg->host->host_lock
LOCK2 lock_flags
TYPE_LOCK (struct Scsi_Host)->scan_mutex
TYPE_LOCK (struct request_queue)->limits_lock

drivers/scsi/ipr.c ipr_sdev_configure() -> ipr_is_af_dasd_device()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 res unit_byte
LOCK2 &sdev->request_queue->limits_lock
LOCK2 &shost->scan_mutex
LOCK2 ioa_cfg->host->host_lock
LOCK2 lock_flags
TYPE_LOCK (struct Scsi_Host)->scan_mutex
TYPE_LOCK (struct request_queue)->limits_lock

drivers/scsi/ipr.c ipr_store_raw_mode() -> ipr_is_af_dasd_device()

Type Parameter Key Value
PARAM_VALUE 0 res 1-u64max
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 res 12,16,18,24,32,272,280,520,2064
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 res unit_byte
LOCK2 &of->mutex
LOCK2 ioa_cfg->host->host_lock
LOCK2 lock_flags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex