Searched refs:num_pages_from_user (Results 1 – 1 of 1) sorted by relevance
124 int num_pages_from_user, i; in vb2_dma_sg_get_userptr() local154 num_pages_from_user = get_user_pages(current, current->mm, in vb2_dma_sg_get_userptr()162 if (num_pages_from_user != buf->sg_desc.num_pages) in vb2_dma_sg_get_userptr()177 num_pages_from_user, buf->sg_desc.num_pages); in vb2_dma_sg_get_userptr()178 while (--num_pages_from_user >= 0) in vb2_dma_sg_get_userptr()179 put_page(buf->pages[num_pages_from_user]); in vb2_dma_sg_get_userptr()