Searched refs:y_pages (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-yuv.c46 int y_pages, uv_pages; ivtv_yuv_prep_user_dma() local
78 y_pages = get_user_pages_unlocked(current, current->mm, ivtv_yuv_prep_user_dma()
82 if (y_pages == y_dma.page_count) { ivtv_yuv_prep_user_dma()
85 &dma->map[y_pages]); ivtv_yuv_prep_user_dma()
88 if (y_pages != y_dma.page_count || uv_pages != uv_dma.page_count) { ivtv_yuv_prep_user_dma()
91 if (y_pages == y_dma.page_count) { ivtv_yuv_prep_user_dma()
98 put_page(dma->map[y_pages + i]); ivtv_yuv_prep_user_dma()
106 "expecting %d\n", y_pages, y_dma.page_count); ivtv_yuv_prep_user_dma()
108 if (y_pages >= 0) { ivtv_yuv_prep_user_dma()
109 for (i = 0; i < y_pages; i++) ivtv_yuv_prep_user_dma()
118 rc = y_pages; ivtv_yuv_prep_user_dma()
123 dma->page_count = y_pages + uv_pages; ivtv_yuv_prep_user_dma()

Completed in 58 milliseconds