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/media/common/videobuf2/videobuf2-core.c __vb2_init_fileio() -> vb2_core_qbuf()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 4096-ptr_max
PARAM_VALUE 0 q->bufs_bitmap 1-u64max
PARAM_VALUE 0 q->cnt_prepare_streaming 0
PARAM_VALUE 0 q->cnt_unprepare_streaming 0
PARAM_VALUE 0 q->done_list.next 4096-ptr_max
PARAM_VALUE 0 q->done_list.next->next 4096-ptr_max
PARAM_VALUE 0 q->done_list.prev 4096-ptr_max
PARAM_VALUE 0 q->done_list.prev->next 4096-ptr_max
PARAM_VALUE 0 q->done_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 q->drv_priv->m2m->chained_count s32min-s32max
PARAM_VALUE 0 q->drv_priv->m2m->pipe->lock.dep_map->name 0-255
PARAM_VALUE 0 q->drv_priv->m2m->pipe->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 q->drv_priv->pipe->lock.dep_map->name 0-255
PARAM_VALUE 0 q->drv_priv->pipe->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 q->drv_priv->vdev.entity.graph_obj.mdev->graph_mutex.dep_map->name 0-255
PARAM_VALUE 0 q->drv_priv->video_dev.entity.pads->graph_obj.mdev->graph_mutex.dep_map->name 0-255
PARAM_VALUE 0 q->error 0
PARAM_VALUE 0 q->fileio 4096-ptr_max
PARAM_VALUE 0 q->fileio->count 0
PARAM_VALUE 0 q->fileio->memory 1
PARAM_VALUE 0 q->io_modes 4-u32max
PARAM_VALUE 0 q->is_busy 0
PARAM_VALUE 0 q->max_num_buffers 1-u32max
PARAM_VALUE 0 q->mem_ops 4096-ptr_max
PARAM_VALUE 0 q->mem_ops->vaddr 1-u64max
PARAM_VALUE 0 q->min_reqbufs_allocation 0
PARAM_VALUE 0 q->mmap_lock.dep_map->name 0-255
PARAM_VALUE 0 q->mmap_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 q->mmap_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->mmap_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 q->mmap_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 q->owned_by_drv_count.counter 0
PARAM_VALUE 0 q->queued_list.next 4096-ptr_max
PARAM_VALUE 0 q->queued_list.next->next 4096-ptr_max
PARAM_VALUE 0 q->queued_list.prev 4096-ptr_max
PARAM_VALUE 0 q->queued_list.prev->next 4096-ptr_max
PARAM_VALUE 0 q->queued_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 q->streaming 0
PARAM_VALUE 0 q->uses_requests 0
PARAM_VALUE 1 vb 1-u64max
PARAM_VALUE 2 pb 0
PARAM_VALUE 3 req 0
BUF_SIZE 0 q->fileio 808
BUF_SIZE 0 q->owner s32min-(-1),1-s32max
CAPPED_DATA 0 q->max_num_buffers 1
DATA_SOURCE 0 q $0
DATA_SOURCE 1 vb r vb2_get_buffer
BIT_INFO 0 q->io_modes 0x4,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/media/common/videobuf2/videobuf2-core.c __vb2_perform_fileio() -> vb2_core_qbuf()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->fileio 4096-ptr_max
PARAM_VALUE 0 q->fileio->bufs 4096-ptr_max
PARAM_VALUE 0 q->fileio->write_immediately 1
PARAM_VALUE 0 q->io_modes 4-u32max
PARAM_VALUE 0 q->waiting_in_dqbuf 0
PARAM_VALUE 1 vb 4096-ptr_max
PARAM_VALUE 1 vb->planes 4096-ptr_max
PARAM_VALUE 2 pb 0
PARAM_VALUE 3 req 0
BUF_SIZE 0 q->owner s32min-(-1),1-s32max
DATA_SOURCE 0 q $0
DATA_SOURCE 1 vb r vb2_get_buffer
HALF_LOCKED2 lock

drivers/media/common/videobuf2/videobuf2-core.c vb2_req_queue() -> vb2_core_qbuf()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->lock->dep_map->name 0-255
PARAM_VALUE 0 q->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->lock->osq.tail.counter 0-s32max
PARAM_VALUE 0 q->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 0 q->lock->wait_lock.owner (-1)
PARAM_VALUE 0 q->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 1 vb 4096-ptr_max
PARAM_VALUE 1 vb->vb2_queue 4096-ptr_max
PARAM_VALUE 1 vb->vb2_queue->lock->dep_map->name 0-255
PARAM_VALUE 1 vb->vb2_queue->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vb->vb2_queue->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 vb->vb2_queue->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 vb->vb2_queue->lock->wait_lock.owner (-1)
PARAM_VALUE 1 vb->vb2_queue->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 pb 0
PARAM_VALUE 3 req 0
CAPPED_DATA 0 q->lock 1
CAPPED_DATA 1 vb->vb2_queue->lock 1
LOCK2 &mdev->req_queue_mutex
LOCK2 0 q->lock
LOCK2 1 vb->vb2_queue->lock
TYPE_LOCK (struct media_device)->req_queue_mutex

drivers/media/common/videobuf2/videobuf2-core.c vb2_thread() -> vb2_core_qbuf()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->lock->dep_map->name 0-255
PARAM_VALUE 0 q->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 0 q->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->lock->osq.tail.counter 0-s32max
PARAM_VALUE 0 q->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 0 q->lock->wait_lock.owner (-1)
PARAM_VALUE 0 q->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 1 vb 4096-ptr_max
PARAM_VALUE 2 pb 0
PARAM_VALUE 3 req 0
BUF_SIZE 0 q 128
BUF_SIZE 0 q 128
CAPPED_DATA 0 q->lock 1
DATA_SOURCE 0 q $0
LOCK2 0 q->lock

drivers/media/dvb-core/dvb_vb2.c dvb_vb2_qbuf() -> vb2_core_qbuf()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 4096-ptr_max
PARAM_VALUE 0 q->max_num_buffers 1-u32max
PARAM_VALUE 1 vb 1-u64max
PARAM_VALUE 2 pb 4096-ptr_max
PARAM_VALUE 3 req 0
BUF_SIZE 2 pb (-1),128-16383
DATA_SOURCE 1 vb r vb2_get_buffer
DATA_SOURCE 2 pb $1
USER_PTR 2 pb
LOCK2 &dmxdev->mutex
HALF_LOCKED2 &dmxdevfilter->mutex
TYPE_LOCK (struct dmxdev)->mutex

drivers/media/common/videobuf2/videobuf2-v4l2.c vb2_qbuf() -> vb2_core_qbuf()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 4096-ptr_max
PARAM_VALUE 0 q->fileio 0
PARAM_VALUE 0 q->max_num_buffers 1-u32max
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 vb 1-u64max
PARAM_VALUE 1 vb->skip_cache_sync_on_finish 1
PARAM_VALUE 1 vb->skip_cache_sync_on_prepare 1
PARAM_VALUE 2 pb 4096-ptr_max
PARAM_VALUE 3 req 0,4096-ptr_max
PARAM_VALUE 3 req->state 0,5
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q (-1),632
BUF_SIZE 2 pb (-1),128-16383
CAPPED_DATA 0 q->max_num_buffers 1
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 q->type 1
DATA_SOURCE 0 q $0
DATA_SOURCE 1 vb r vb2_get_buffer
DATA_SOURCE 2 pb $2
USER_PTR 2 pb
HALF_LOCKED2 &video->queue_lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock