Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/esas2r/esas2r_ioctl.c esas2r_ioctl_handler() -> esas2r_read_vda()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->pcid->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 a->pcid->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 a->pcid->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 a->pcid->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 a->pcid->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 a->pcid->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 a->pcid->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 a->pcid->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 a->pcid->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 a->pcid->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 a->pcid->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 a->vda_buffer 1-u64max
PARAM_VALUE 2 off 0
BUF_SIZE 1 buf 632
UNITS 3 count unit_byte

drivers/scsi/esas2r/esas2r_main.c read_vda() -> esas2r_read_vda()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 3 count 1-4096
CAPPED_DATA 3 count 1
DATA_SOURCE 0 a r esas2r_adapter_from_kobj
DATA_SOURCE 1 buf $3
DATA_SOURCE 2 off $4
DATA_SOURCE 3 count $5
PARAM_COMPARE 1 buf == $3
NOSPEC 2 off
NOSPEC 2 off
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 off 0-4095
USER_DATA 3 count 2-4096[c]
BYTE_COUNT 1 ==buf3 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex