Searched refs:actual_pages (Results 1 – 2 of 2) sorted by relevance
223 int actual_pages; in create_pagelist() local287 for (actual_pages = 0; actual_pages < num_pages; in create_pagelist()288 actual_pages++) { in create_pagelist()291 (actual_pages * PAGE_SIZE))); in create_pagelist()301 pages[actual_pages] = pg; in create_pagelist()307 actual_pages = pin_user_pages_fast((unsigned long)ubuf & PAGE_MASK, num_pages, in create_pagelist()310 if (actual_pages != num_pages) { in create_pagelist()313 __func__, actual_pages, num_pages); in create_pagelist()316 if (actual_pages > 0) in create_pagelist()317 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()