Lines Matching refs:bufs
409 if (NULL == q->bufs[i]) in videobuf_vm_close()
411 mem = q->bufs[i]->priv; in videobuf_vm_close()
417 if (q->bufs[i]->map != map) in videobuf_vm_close()
419 q->bufs[i]->map = NULL; in videobuf_vm_close()
420 q->bufs[i]->baddr = 0; in videobuf_vm_close()
421 q->ops->buf_release(q, q->bufs[i]); in videobuf_vm_close()
604 if (buf == q->bufs[first]) { in __videobuf_mmap_mapper()
605 size = PAGE_ALIGN(q->bufs[first]->bsize); in __videobuf_mmap_mapper()
627 if (NULL == q->bufs[i]) in __videobuf_mmap_mapper()
629 q->bufs[i]->map = map; in __videobuf_mmap_mapper()
630 q->bufs[i]->baddr = vma->vm_start + size; in __videobuf_mmap_mapper()
631 size += PAGE_ALIGN(q->bufs[i]->bsize); in __videobuf_mmap_mapper()