Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/common/videobuf2/videobuf2-core.c vb2_core_create_bufs() -> (struct vb2_ops)->queue_setup()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs_bitmap 1-u64max
PARAM_VALUE 0 q->fileio 0
PARAM_VALUE 0 q->mem_ops->alloc 0,4096-ptr_max
PARAM_VALUE 0 q->mem_ops->mmap 0,4096-ptr_max
PARAM_VALUE 0 q->mem_ops->put 0,4096-ptr_max
PARAM_VALUE 0 q->memory 1-2,4
PARAM_VALUE 0 q->ops 4096-ptr_max
PARAM_VALUE 0 q->ops->queue_setup 1-u64max
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 nbuffers 940619416859602944
PARAM_VALUE 2 nplanes 3561309540558548992
PARAM_VALUE 2 *nplanes 0-8
PARAM_VALUE 3 sizes 1153590148746153984
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q (-1),632
BUF_SIZE 3 sizes 32
BUF_SIZE 4 alloc_devs 64
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 q->type 1
DATA_SOURCE 0 q $0
USER_DATA 0 q->memory 1-2,4[c][u]
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 *nbuffers 1-s32max[c]
USER_DATA 2 *nplanes 1-8[c]
NO_OVERFLOW_SIMPLE 0 q->max_num_buffers
USER_PTR 1 nbuffers
USER_PTR 2 nplanes
HALF_LOCKED2 &video->queue_lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/common/videobuf2/videobuf2-core.c vb2_core_create_bufs() -> (struct vb2_ops)->queue_setup()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs_bitmap 1-u64max
PARAM_VALUE 0 q->fileio 0
PARAM_VALUE 0 q->max_num_buffers 1-u32max
PARAM_VALUE 0 q->mem_ops->alloc 0,4096-ptr_max
PARAM_VALUE 0 q->mem_ops->mmap 0,4096-ptr_max
PARAM_VALUE 0 q->mem_ops->put 0,4096-ptr_max
PARAM_VALUE 0 q->memory 1-2,4
PARAM_VALUE 0 q->ops 4096-ptr_max
PARAM_VALUE 0 q->ops->queue_setup 1-u64max
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 nbuffers 940619416859602944
PARAM_VALUE 1 *nbuffers 1-4294967294
PARAM_VALUE 2 nplanes 3561309540558548992
PARAM_VALUE 2 *nplanes 0-8
PARAM_VALUE 3 sizes 1153590148746153984
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q (-1),632
BUF_SIZE 3 sizes 32
BUF_SIZE 4 alloc_devs 64
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 q->type 1
DATA_SOURCE 0 q $0
NOSPEC 0 q->memory
USER_DATA 0 q->memory 1-2,4[c][u]
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 2 *nplanes 1-8[c]
NO_OVERFLOW_SIMPLE 0 q->max_num_buffers
NO_OVERFLOW_SIMPLE 1 *nbuffers
USER_PTR 2 nplanes
HALF_LOCKED2 &video->queue_lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/common/videobuf2/videobuf2-core.c vb2_core_reqbufs() -> (struct vb2_ops)->queue_setup()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 1-u64max
PARAM_VALUE 0 q->bufs_bitmap 1-u64max
PARAM_VALUE 0 q->memory 1-2,4
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 q->mmap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 q->ops 4096-ptr_max
PARAM_VALUE 0 q->ops->queue_setup 1-u64max
PARAM_VALUE 0 q->streaming 0
PARAM_VALUE 0 q->waiting_in_dqbuf 0
PARAM_VALUE 1 nbuffers 4506349945424683008
PARAM_VALUE 2 nplanes 2667045151057305600
PARAM_VALUE 2 *nplanes 0
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q->fileio (-1),808
BUF_SIZE 0 q->owner s32min-(-1),1-s32max
BUF_SIZE 3 sizes 32
BUF_SIZE 4 alloc_devs 64
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 &q->mmap_lock 1
DATA_SOURCE 0 q $0
STR_LEN 0 q->drv_priv (-1)
NOSPEC 0 q->memory
NOSPEC 1 *nbuffers
MEM_ZERO 0 q->alloc_devs
MEM_ZERO 4 alloc_devs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 q->memory 1-2,4[c][u]
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 *nbuffers 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 q->max_num_buffers
NO_OVERFLOW_SIMPLE 1 *nbuffers
USER_PTR 1 nbuffers
HALF_LOCKED2 &dmxdev->mutex

drivers/media/common/videobuf2/videobuf2-core.c vb2_core_reqbufs() -> (struct vb2_ops)->queue_setup()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 1-u64max
PARAM_VALUE 0 q->bufs_bitmap 1-u64max
PARAM_VALUE 0 q->max_num_buffers 1-u32max
PARAM_VALUE 0 q->memory 1-2,4
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 q->mmap_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 q->ops 4096-ptr_max
PARAM_VALUE 0 q->ops->queue_setup 1-u64max
PARAM_VALUE 0 q->streaming 0
PARAM_VALUE 0 q->waiting_in_dqbuf 0
PARAM_VALUE 1 nbuffers 4506349945424683008
PARAM_VALUE 1 *nbuffers 1-4294967294
PARAM_VALUE 2 nplanes 2667045151057305600
PARAM_VALUE 2 *nplanes 0
PARAM_VALUE 3 sizes 4096-ptr_max
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q->fileio (-1),808
BUF_SIZE 0 q->owner s32min-(-1),1-s32max
BUF_SIZE 3 sizes 32
BUF_SIZE 4 alloc_devs 64
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 q->min_reqbufs_allocation 1
CAPPED_DATA 0 &q->mmap_lock 1
DATA_SOURCE 0 q $0
STR_LEN 0 q->drv_priv (-1)
NOSPEC 0 q->memory
MEM_ZERO 0 q->alloc_devs
MEM_ZERO 4 alloc_devs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 q->memory 1-2,4[c][u]
USER_DATA 0 q->non_coherent_mem 0-1[c]
NO_OVERFLOW_SIMPLE 0 q->max_num_buffers
NO_OVERFLOW_SIMPLE 1 *nbuffers
HALF_LOCKED2 &dmxdev->mutex