Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/hpsa.c complete_scsi_command() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
BUF_SIZE 0 device 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 device 12,16,18,24,32,272,280,520,2064
RX_PATH
TASK_NOT_RUNNING
UNITS 0 device unit_byte

drivers/scsi/hpsa.c hpsa_add_device() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
DATA_SOURCE 0 device $1

drivers/scsi/hpsa.c hpsa_figure_phys_disk_ptrs() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PREEMPT_ADD
LOCK2 &h->devlock
LOCK2 flags
TYPE_LOCK (struct ctlr_info)->devlock

drivers/scsi/hpsa.c hpsa_remove_device() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
DATA_SOURCE 0 device $1

drivers/scsi/hpsa.c hpsa_update_log_drive_phys_drive_ptrs() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
PREEMPT_ADD
LOCK2 &h->devlock
LOCK2 flags
TYPE_LOCK (struct ctlr_info)->devlock

drivers/scsi/hpsa.c path_info_show() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
BUF_SIZE 0 device 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 device 12,16,18,24,32,272,280,520,2064
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 device unit_byte
LOCK2 &h->devlock
LOCK2 &of->mutex
LOCK2 flags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ctlr_info)->devlock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/hpsa.c process_ioaccel2_completion() -> is_logical_device()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max
BUF_SIZE 0 device 12,16,18,24,32,272,280,520,2064
BUF_SIZE 0 device 12,16,18,24,32,272,280,520,2064
DATA_SOURCE 0 device $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 device unit_byte

drivers/scsi/hpsa.c raid_level_show() -> is_logical_device()

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

drivers/scsi/hpsa.c sas_address_show() -> is_logical_device()

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