Searched refs:y_pages (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 46 int y_pages, uv_pages; ivtv_yuv_prep_user_dma() local 79 y_pages = get_user_pages(current, current->mm, y_dma.uaddr, y_dma.page_count, 0, 1, &dma->map[0], NULL); ivtv_yuv_prep_user_dma() 81 if (y_pages == y_dma.page_count) { ivtv_yuv_prep_user_dma() 84 &dma->map[y_pages], NULL); 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 76 milliseconds