Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c reqbufs_capture() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->memory 1
PARAM_VALUE 1 req->type 9
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c reqbufs_capture() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 1-u32max
PARAM_VALUE 1 req->memory 1
PARAM_VALUE 1 req->type 9
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 1-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c reqbufs_capture() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 0
PARAM_VALUE 0 q->fileio 0
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->streaming 0
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->flags 0-1
PARAM_VALUE 1 req->memory 1
PARAM_VALUE 1 req->type 9
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
NOCHECK_CALL
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 req->flags 0-1[c][u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c reqbufs_output() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->memory 1
PARAM_VALUE 1 req->type 10
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c reqbufs_output() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 1-u32max
PARAM_VALUE 1 req->memory 1
PARAM_VALUE 1 req->type 10
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 1-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c reqbufs_output() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 0
PARAM_VALUE 0 q->fileio 0
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->streaming 0
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->flags 0-1
PARAM_VALUE 1 req->memory 1
PARAM_VALUE 1 req->type 10
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
NOCHECK_CALL
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 req->flags 0-1[c][u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s3c-camif/camif-capture.c s3c_camif_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 0,3-u32max
PARAM_VALUE 1 req->type 1-2,4-14
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0,3-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_DATA 1 req->memory 0-u32max[u]
USER_DATA 1 req->type 1-2,4-14[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s3c-camif/camif-capture.c s3c_camif_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->bufs 0
PARAM_VALUE 0 q->fileio 0
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->streaming 0
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->flags 0-1
PARAM_VALUE 1 req->memory 1-2,4
PARAM_VALUE 1 req->type 1-2,4-14
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
NOCHECK_CALL
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 req->flags 0-1[c][u]
USER_DATA 1 req->memory 1-2,4[u]
USER_DATA 1 req->type 1-2,4-14[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/usb/gadget/function/uvc_queue.c uvcg_alloc_buffers() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->type 1-2,4-14
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->type 1-2,4-14
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
CAPPED_DATA 1 req->type 1
DATA_SOURCE 1 req $1
USER_DATA 0 q->non_coherent_mem 0-1[c]
USER_DATA 1 req->count 0-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_DATA 1 req->memory 0-u32max[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->type 1-2,4-14
BUF_SIZE 0 q 632
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 0 q r v4l2_m2m_get_vq
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_DATA 1 req->memory 0-u32max[u]
USER_DATA 1 req->type 1-2,4-14[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/ti/omap3isp/ispvideo.c isp_video_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->type 1-2,4-14
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_DATA 1 req->memory 0-u32max[u]
USER_DATA 1 req->type 1-2,4-14[u]
USER_PTR 1 req
LOCK2 &video->queue_lock
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock
TYPE_LOCK (struct isp_video)->queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c vidioc_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->memory 1-2,4
PARAM_VALUE 1 req->type 9
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c vidioc_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 1-u32max
PARAM_VALUE 1 req->memory 1-2,4
PARAM_VALUE 1 req->type 9
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 1-u32max[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c vidioc_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 0
PARAM_VALUE 1 req->memory 1-2,4
PARAM_VALUE 1 req->type 10
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 0[u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c vidioc_reqbufs() -> vb2_reqbufs()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->capabilities 0,256
PARAM_VALUE 1 req->count 1-u32max
PARAM_VALUE 1 req->memory 1-2,4
PARAM_VALUE 1 req->type 10
BUF_SIZE 1 req (-1),128-16383
BUF_SIZE 1 req (-1),128-16383
CAPPED_DATA 1 req->count 1
DATA_SOURCE 1 req $2
FUZZY_MAX 1 req->capabilities 256
BIT_INFO 1 req->capabilities 0x0,0x100
HARD_MAX 1 req->capabilities 256
USER_DATA 1 req->count 1-u32max[c][u]
USER_DATA 1 req->flags 0-255[u]
USER_PTR 1 req
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock