Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/sd.c cache_type_store() -> scsi_mode_select()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 1 pf 1
PARAM_VALUE 2 sp 0-1
PARAM_VALUE 3 buffer 4096-ptr_max
PARAM_VALUE 4 len 0-64
PARAM_VALUE 5 timeout 7500
PARAM_VALUE 7 data 2335440202308968448
PARAM_VALUE 7 data->block_descriptor_length 0-255
PARAM_VALUE 7 data->device_specific 0
PARAM_VALUE 7 data->header_length 0,4,8
PARAM_VALUE 7 data->length 1-257
PARAM_VALUE 8 sshdr 290193172785397760
CAPPED_DATA 4 len 1
FUZZY_MAX 2 sp 1
HARD_MAX 2 sp 1
MEM_ZERO 7 data
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/scsi.c scsi_cdl_enable() -> scsi_mode_select()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 sdev->sdev_dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 pf 1
PARAM_VALUE 2 sp 0
PARAM_VALUE 3 buffer 4096-ptr_max
PARAM_VALUE 4 len 0-64
PARAM_VALUE 5 timeout 1250
PARAM_VALUE 6 retries 3
PARAM_VALUE 7 data 5706297236414562304
PARAM_VALUE 7 data->block_descriptor_length 0-255
PARAM_VALUE 7 data->header_length 0,4,8
PARAM_VALUE 7 data->length 1-257
PARAM_VALUE 8 sshdr 3590343980986757120
BUF_SIZE 0 sdev (-1),4232-s32max
BUF_SIZE 0 sdev (-1),4232-s32max
CAPPED_DATA 4 len 1
DATA_SOURCE 0 sdev $0
NOSPEC 0 sdev->sdev_target->channel
NOSPEC 0 sdev->sdev_target->id
MEM_ZERO 7 data
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sdev->request_queue->disk->bdi->io_pages 0-268435455[c]
USER_DATA 0 sdev->request_queue->disk->bdi->ra_pages 33-536870911[c]
USER_DATA 0 sdev->request_queue->limits.alignment_offset 0-u32max[c][u]
USER_DATA 0 sdev->request_queue->limits.atomic_write_max_sectors 0-8388607[c]
USER_DATA 0 sdev->request_queue->limits.discard_granularity 512-u32max[c]
USER_DATA 0 sdev->request_queue->limits.io_min 512-u32max[c]
USER_DATA 0 sdev->request_queue->limits.logical_block_size 512-65536[c]
USER_DATA 0 sdev->request_queue->limits.max_hw_wzeroes_unmap_sectors 0-u32max[c]
USER_DATA 0 sdev->request_queue->limits.max_sectors 0-s32max[c]
USER_DATA 0 sdev->request_queue->limits.max_write_zeroes_sectors 0-u32max[c]
USER_DATA 0 sdev->request_queue->limits.max_wzeroes_unmap_sectors 0-s32max[c]
USER_DATA 0 sdev->request_queue->limits.max_zone_append_sectors 0-s32max[c]
USER_DATA 0 sdev->request_queue->limits.physical_block_size 512-u32max[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->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_requests
UNITS 4 len unit_byte
HALF_LOCKED2 &of->mutex