Lines Matching defs:create
1002 * @create: creation parameters, passed from userspace to vidioc_create_bufs
1014 static int __create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create)
1027 q->memory = create->memory;
1031 num_buffers = min(create->count, VIDEO_MAX_FRAME - q->num_buffers);
1037 ret = call_qop(q, queue_setup, q, &create->format, &num_buffers,
1043 allocated_buffers = __vb2_queue_alloc(q, create->memory, num_buffers,
1060 ret = call_qop(q, queue_setup, q, &create->format, &num_buffers,
1090 create->count = allocated_buffers;
1099 * @create: creation parameters, passed from userspace to vidioc_create_bufs
1102 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create)
1104 int ret = __verify_memory_type(q, create->memory, create->format.type);
1106 create->index = q->num_buffers;
1107 if (create->count == 0)
1109 return ret ? ret : __create_bufs(q, create);