Lines Matching refs:vsize
392 unsigned long vsize = vma->vm_end - vma->vm_start; in genwqe_vma_close() local
401 dma_map = __genwqe_search_mapping(cfile, vma->vm_start, vsize, in genwqe_vma_close()
407 vsize); in genwqe_vma_close()
438 unsigned long pfn, vsize = vma->vm_end - vma->vm_start; in genwqe_mmap() local
443 if (vsize == 0) in genwqe_mmap()
446 if (get_order(vsize) > MAX_ORDER) in genwqe_mmap()
455 dma_map->size = vsize; in genwqe_mmap()
456 dma_map->nr_pages = DIV_ROUND_UP(vsize, PAGE_SIZE); in genwqe_mmap()
457 dma_map->k_vaddr = __genwqe_alloc_consistent(cd, vsize, in genwqe_mmap()
464 if (capable(CAP_SYS_ADMIN) && (vsize > sizeof(dma_addr_t))) in genwqe_mmap()
471 vsize, in genwqe_mmap()