Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/smartpqi/smartpqi_init.c pqi_sdev_init() -> pqi_disable_write_same()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
BUF_SIZE 0 sdev 4232-s32max
BUF_SIZE 0 sdev 4232-s32max
CAPPED_DATA 0 sdev->host->tag_set.nr_hw_queues 1
CAPPED_DATA 0 sdev->lun 1
CAPPED_DATA 0 sdev->request_queue->limits.max_hw_wzeroes_unmap_sectors 1
DATA_SOURCE 0 sdev $0
NOSPEC 0 sdev->channel
NOSPEC 0 sdev->id
NOSPEC 0 sdev->lun
NOSPEC 0 sdev->sdev_target->channel
NOSPEC 0 sdev->sdev_target->id
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 sdev->budget_map.depth 1-4095[c]
USER_DATA 0 sdev->channel 1-s32max[c]
USER_DATA 0 sdev->id 0-s32max[c]
USER_DATA 0 sdev->lun 0-18446744073709551614[c]
USER_DATA 0 sdev->queue_depth 1-4095[c]
USER_DATA 0 sdev->request_queue->queue_depth 1-4095[c]
USER_DATA 0 sdev->sdev_target->channel 1-s32max[c]
USER_DATA 0 sdev->sdev_target->id 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 sdev->budget_map.depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->async_depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->limits.max_open_zones
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_requests
LOCK2 &ctrl_info->scsi_device_list_lock
LOCK2 &shost->scan_mutex
LOCK2 flags
TYPE_LOCK (struct Scsi_Host)->scan_mutex
TYPE_LOCK (struct pqi_ctrl_info)->scsi_device_list_lock

drivers/scsi/smartpqi/smartpqi_init.c pqi_sdev_init() -> pqi_disable_write_same()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
BUF_SIZE 0 sdev 4232-s32max
BUF_SIZE 0 sdev 4232-s32max
CAPPED_DATA 0 sdev->host->tag_set.nr_hw_queues 1
CAPPED_DATA 0 sdev->lun 1
CAPPED_DATA 0 sdev->request_queue->limits.max_hw_wzeroes_unmap_sectors 1
DATA_SOURCE 0 sdev $0
NOSPEC 0 sdev->channel
NOSPEC 0 sdev->id
NOSPEC 0 sdev->lun
NOSPEC 0 sdev->sdev_target->channel
NOSPEC 0 sdev->sdev_target->id
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 sdev->budget_map.depth 1-4095[c]
USER_DATA 0 sdev->channel 1-s32max[c]
USER_DATA 0 sdev->id 0-s32max[c]
USER_DATA 0 sdev->lun 0-18446744073709551614[c]
USER_DATA 0 sdev->queue_depth 1-4095[c]
USER_DATA 0 sdev->request_queue->queue_depth 1-4095[c]
USER_DATA 0 sdev->sdev_target->channel 1-s32max[c]
USER_DATA 0 sdev->sdev_target->id 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 sdev->budget_map.depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->async_depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->limits.max_open_zones
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_requests
LOCK2 &ctrl_info->scsi_device_list_lock
LOCK2 &shost->scan_mutex
LOCK2 flags
TYPE_LOCK (struct Scsi_Host)->scan_mutex
TYPE_LOCK (struct pqi_ctrl_info)->scsi_device_list_lock