Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/myrs.c raid_state_store() -> myrs_translate_pdev()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->ctlr_info 4096-ptr_max
PARAM_VALUE 0 cs->ctlr_info->physchan_present 1-255
PARAM_VALUE 1 channel 0-254
PARAM_VALUE 4 devmap 4096-ptr_max
BUF_SIZE 4 devmap 256
BUF_SIZE 4 devmap 256
CAPPED_DATA 1 channel 1
PARAM_COMPARE 0 cs->ctlr_info->physchan_present > $1
PARAM_COMPARE 1 channel < $0->ctlr_info->physchan_present
RX_PATH
TASK_NOT_RUNNING
UNITS 2 target unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex