Searched refs:actual_pages (Results 1 – 2 of 2) sorted by relevance
222 int actual_pages; in create_pagelist() local286 for (actual_pages = 0; actual_pages < num_pages; in create_pagelist()287 actual_pages++) { in create_pagelist()290 (actual_pages * PAGE_SIZE))); in create_pagelist()300 pages[actual_pages] = pg; in create_pagelist()306 actual_pages = pin_user_pages_fast((unsigned long)ubuf & PAGE_MASK, num_pages, in create_pagelist()309 if (actual_pages != num_pages) { in create_pagelist()312 __func__, actual_pages, num_pages); in create_pagelist()315 if (actual_pages > 0) in create_pagelist()316 unpin_user_pages(pages, actual_pages); in create_pagelist()
767 unsigned long requested_pages, actual_pages; in uio_mmap() local788 actual_pages = ((idev->info->mem[mi].addr & ~PAGE_MASK) in uio_mmap()790 if (requested_pages > actual_pages) { in uio_mmap()