Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/message/fusion/mptspi.c mptspi_target_alloc() -> mptspi_write_width()

Type Parameter Key Value
PARAM_VALUE 0 starget 4096-ptr_max
PARAM_VALUE 0 starget->can_queue 0
PARAM_VALUE 0 starget->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 starget->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 starget->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 starget->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 starget->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.flags 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->devices.next 4096-ptr_max
PARAM_VALUE 0 starget->devices.next->next 4096-ptr_max
PARAM_VALUE 0 starget->devices.prev 4096-ptr_max
PARAM_VALUE 0 starget->devices.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->devices.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->hostdata 4096-ptr_max
PARAM_VALUE 0 starget->max_target_blocked 3
PARAM_VALUE 0 starget->reap_ref.refcount.refs.counter 1
PARAM_VALUE 0 starget->scsi_level 3
PARAM_VALUE 0 starget->siblings.next 4096-ptr_max
PARAM_VALUE 0 starget->siblings.next->next 4096-ptr_max
PARAM_VALUE 0 starget->siblings.prev->next 4096-ptr_max
PARAM_VALUE 0 starget->siblings.prev->prev 4096-ptr_max
PARAM_VALUE 0 starget->state 1
PARAM_VALUE 1 width 0
BUF_SIZE 0 starget->hostdata 24
DATA_SOURCE 0 starget $0
NOSPEC 0 starget->channel
NOSPEC 0 starget->id
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 starget->channel 2-255[c]
USER_DATA 0 starget->id 0-255[c]
HALF_LOCKED2 &shost->scan_mutex
HALF_LOCKED2 _T->lock

drivers/scsi/scsi_transport_spi.c spi_dv_device_internal() -> (struct spi_function_template)->set_width()

Type Parameter Key Value
PARAM_VALUE 0 starget 4096-ptr_max
PARAM_VALUE 1 width 0
NOSPEC 0 starget->channel
NOSPEC 0 starget->id
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 starget->channel 1-s32max[c]
USER_DATA 0 starget->id 0-s32max[c]
LOCK2 &(&starget->starget_data)->dv_mutex
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/scsi/scsi_transport_spi.c spi_dv_device_internal() -> (struct spi_function_template)->set_width()

Type Parameter Key Value
PARAM_VALUE 0 starget 4096-ptr_max
PARAM_VALUE 0 starget->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 starget->dev.class 0,4096-ptr_max
PARAM_VALUE 0 starget->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 starget->dev.parent 4096-ptr_max
PARAM_VALUE 1 width 1
NOSPEC 0 starget->channel
NOSPEC 0 starget->id
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 starget->channel 1-s32max[c]
USER_DATA 0 starget->id 0-s32max[c]
LOCK2 &(&starget->starget_data)->dv_mutex
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/scsi/scsi_transport_spi.c spi_dv_device_internal() -> (struct spi_function_template)->set_width()

Type Parameter Key Value
PARAM_VALUE 0 starget 4096-ptr_max
PARAM_VALUE 0 starget->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 starget->dev.class 0,4096-ptr_max
PARAM_VALUE 0 starget->dev.driver 0,4096-ptr_max
PARAM_VALUE 1 width 0
NOSPEC 0 starget->channel
NOSPEC 0 starget->id
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 starget->channel 1-s32max[c]
USER_DATA 0 starget->id 0-s32max[c]
LOCK2 &(&starget->starget_data)->dv_mutex
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/scsi/scsi_transport_spi.c spi_dv_device_internal() -> (struct spi_function_template)->set_width()

Type Parameter Key Value
PARAM_VALUE 1 width 0-1
NOSPEC 0 starget->channel
NOSPEC 0 starget->id
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 starget->channel 1-s32max[c]
USER_DATA 0 starget->id 0-s32max[c]
LOCK2 &(&starget->starget_data)->dv_mutex
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/scsi/scsi_transport_spi.c store_spi_transport_width() -> (struct spi_function_template)->set_width()

Type Parameter Key Value
PARAM_VALUE 0 starget 4096-ptr_max
PARAM_VALUE 0 starget->dev.parent 4096-ptr_max
PARAM_VALUE 1 width s32min-1
CAPPED_DATA 1 width 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 width s32min-1[c]
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex