Home | History | Annotate | Download | only in dev

Lines Matching defs:vb_buf

126 	struct v4l2_buffer		*vb_buf;
1521 buf = vs->vs_buf[i]->vb_buf;
1545 memcpy(buf, vs->vs_buf[buf->index]->vb_buf, sizeof(*buf));
1581 driverbuf = vb->vb_buf;
1649 memcpy(buf, vb->vb_buf, sizeof(*buf));
1861 if (vb->vb_buf->bytesused == 0) {
1885 len = uimin(uio->uio_resid, vb->vb_buf->bytesused - vs->vs_bytesread);
1886 offset = vb->vb_buf->m.offset + vs->vs_bytesread;
1908 if (vs->vs_bytesread >= vb->vb_buf->bytesused) {
2469 if (!(vs->vs_buf[i]->vb_buf->flags & V4L2_BUF_FLAG_QUEUED)) {
2486 if (!(vs->vs_buf[i]->vb_buf->flags & V4L2_BUF_FLAG_QUEUED))
2535 vb->vb_buf = kmem_alloc(sizeof(*vb->vb_buf), KM_SLEEP);
2542 kmem_free(vb->vb_buf, sizeof(*vb->vb_buf));
2543 vb->vb_buf = NULL;
2605 buf = vs->vs_buf[i]->vb_buf;
2629 if (vb->vb_buf->flags & V4L2_BUF_FLAG_QUEUED) {
2634 vb->vb_buf->flags |= V4L2_BUF_FLAG_QUEUED;
2635 vb->vb_buf->flags &= ~V4L2_BUF_FLAG_DONE;
2637 vb->vb_buf->bytesused = 0;
2653 vb->vb_buf->flags &= ~V4L2_BUF_FLAG_QUEUED;
2654 vb->vb_buf->flags |= V4L2_BUF_FLAG_DONE;
2694 buf = vb->vb_buf;
2737 vb->vb_buf->sequence = vs->vs_sequence;