Lines Matching refs:vaddr
102 __func__, i, mem->vaddr); in videobuf_vm_close()
104 vfree(mem->vaddr); in videobuf_vm_close()
105 mem->vaddr = NULL; in videobuf_vm_close()
170 if (!mem->vaddr) { in __videobuf_iolock()
189 mem->vaddr = vmalloc_user(pages); in __videobuf_iolock()
190 if (!mem->vaddr) { in __videobuf_iolock()
195 mem->vaddr, pages); in __videobuf_iolock()
234 mem->vaddr = vmalloc_user(pages); in __videobuf_mmap_mapper()
235 if (!mem->vaddr) { in __videobuf_mmap_mapper()
239 dprintk(1, "vmalloc is at addr %p (%d pages)\n", mem->vaddr, pages); in __videobuf_mmap_mapper()
242 retval = remap_vmalloc_range(vma, mem->vaddr, 0); in __videobuf_mmap_mapper()
245 vfree(mem->vaddr); in __videobuf_mmap_mapper()
274 .vaddr = videobuf_to_vmalloc,
298 return mem->vaddr; in videobuf_to_vmalloc()
320 vfree(mem->vaddr); in videobuf_vmalloc_free()
321 mem->vaddr = NULL; in videobuf_vmalloc_free()