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() -> __vb2_queue_alloc()

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->type 1-2,4-14
PARAM_VALUE 1 memory 1-2,4
PARAM_VALUE 3 num_planes 0-8
PARAM_VALUE 4 plane_sizes 1153590148746153984
PARAM_VALUE 5 first_index 4096-ptr_max
BUF_SIZE 0 q (-1),632
BUF_SIZE 0 q (-1),632
BUF_SIZE 4 plane_sizes 32
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 q->type 1
CAPPED_DATA 1 memory 1
CAPPED_DATA 2 num_buffers 1
CAPPED_DATA 3 num_planes 1
DATA_SOURCE 0 q $0
DATA_SOURCE 1 memory $1
DATA_SOURCE 5 first_index $6
FUZZY_MAX 3 num_planes 0
PARAM_COMPARE 1 memory == $0->memory
USER_DATA 0 q->memory 1-2,4[c][u]
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 memory 1-2,4[c][u]
USER_DATA 2 num_buffers 1-s32max[c]
USER_DATA 3 num_planes 1-8[c]
USER_DATA 5 *first_index 0-u32max[u]
NO_OVERFLOW_SIMPLE 0 q->max_num_buffers
USER_PTR 5 first_index
HALF_LOCKED2 &video->queue_lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/common/videobuf2/videobuf2-core.c vb2_core_reqbufs() -> __vb2_queue_alloc()

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->streaming 0
PARAM_VALUE 0 q->waiting_in_dqbuf 0
PARAM_VALUE 1 memory 1-2,4
PARAM_VALUE 4 plane_sizes 4096-ptr_max
PARAM_VALUE 5 first_index 817479521412599808
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 4 plane_sizes 32
CAPPED_DATA 0 q->memory 1
CAPPED_DATA 0 &q->mmap_lock 1
CAPPED_DATA 2 num_buffers 1
CAPPED_DATA 3 num_planes 1
DATA_SOURCE 0 q $0
DATA_SOURCE 1 memory $1
STR_LEN 0 q->drv_priv (-1)
BIT_INFO 3 num_planes 0x0,0x0
NOSPEC 0 q->memory
NOSPEC 2 num_buffers
NOSPEC 2 num_buffers
MEM_ZERO 0 q->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 memory 1-2,4[c][u]
USER_DATA 2 num_buffers 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 q->max_num_buffers
NO_OVERFLOW_SIMPLE 2 num_buffers
UNITS 2 num_buffers unit_array_size
HALF_LOCKED2 &dmxdev->mutex