Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/dma_port.c dma_find_port() -> dma_port_read()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->frame_pool->next_block->next_block 0
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 buffer 8576855862070882304
PARAM_VALUE 2 route 0-9223372036854775807
PARAM_VALUE 4 offset 2
PARAM_VALUE 5 length 1
PARAM_VALUE 6 timeout_msec 5000
BUF_SIZE 1 buffer 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/dma_port.c dma_port_flash_read_block() -> dma_port_read()

Type Parameter Key Value
PARAM_VALUE 1 buffer 9053261570843287552
PARAM_VALUE 2 route 0-9223372036854775807
PARAM_VALUE 5 length 0-16
PARAM_VALUE 6 timeout_msec 5000
BUF_SIZE 1 buffer 64
BUF_SIZE 1 buffer 64
CAPPED_DATA 5 length 1
DATA_SOURCE 1 buffer $2
DATA_SOURCE 5 length $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 5 length 0-16[c]

drivers/thunderbolt/dma_port.c dma_port_flash_update_auth_status() -> dma_port_read()

Type Parameter Key Value
PARAM_VALUE 1 buffer 7992801362852069376
PARAM_VALUE 2 route 0-9223372036854775807
PARAM_VALUE 5 length 1
PARAM_VALUE 6 timeout_msec 5000
BUF_SIZE 1 buffer 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sw->tb->lock

drivers/thunderbolt/dma_port.c dma_port_request() -> dma_port_read()

Type Parameter Key Value
PARAM_VALUE 0 ctl->frame_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctl->frame_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctl->frame_pool->next_block->next_block 0
PARAM_VALUE 0 ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 buffer 4583345519159271424
PARAM_VALUE 2 route 0-9223372036854775807
PARAM_VALUE 5 length 1
PARAM_VALUE 6 timeout_msec 5000
BUF_SIZE 1 buffer 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sw->tb->lock

drivers/thunderbolt/dma_port.c dma_port_wait_for_completion() -> dma_port_read()

Type Parameter Key Value
PARAM_VALUE 1 buffer 4356982317695086592
PARAM_VALUE 2 route 0-9223372036854775807
PARAM_VALUE 5 length 1
PARAM_VALUE 6 timeout_msec 50
BUF_SIZE 1 buffer 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sw->tb->lock