Lines Matching full:vec
27 struct frame_vector *vec; member
77 struct frame_vector *vec; in vb2_vmalloc_get_userptr() local
88 vec = vb2_create_framevec(vaddr, size, in vb2_vmalloc_get_userptr()
91 if (IS_ERR(vec)) { in vb2_vmalloc_get_userptr()
92 ret = PTR_ERR(vec); in vb2_vmalloc_get_userptr()
95 buf->vec = vec; in vb2_vmalloc_get_userptr()
96 n_pages = frame_vector_count(vec); in vb2_vmalloc_get_userptr()
97 if (frame_vector_to_pages(vec) < 0) { in vb2_vmalloc_get_userptr()
98 unsigned long *nums = frame_vector_pfns(vec); in vb2_vmalloc_get_userptr()
110 buf->vaddr = vm_map_ram(frame_vector_pages(vec), n_pages, -1); in vb2_vmalloc_get_userptr()
119 vb2_destroy_framevec(vec); in vb2_vmalloc_get_userptr()
134 if (!buf->vec->is_pfns) { in vb2_vmalloc_put_userptr()
135 n_pages = frame_vector_count(buf->vec); in vb2_vmalloc_put_userptr()
140 pages = frame_vector_pages(buf->vec); in vb2_vmalloc_put_userptr()
148 vb2_destroy_framevec(buf->vec); in vb2_vmalloc_put_userptr()