Home
last modified time | relevance | path

Searched refs:actual_pages (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c246 int actual_pages; in create_pagelist() local
312 for (actual_pages = 0; actual_pages < num_pages; in create_pagelist()
313 actual_pages++) { in create_pagelist()
316 (actual_pages * PAGE_SIZE))); in create_pagelist()
326 pages[actual_pages] = pg; in create_pagelist()
332 actual_pages = pin_user_pages_fast((unsigned long)ubuf & PAGE_MASK, num_pages, in create_pagelist()
335 if (actual_pages != num_pages) { in create_pagelist()
337 actual_pages, num_pages); in create_pagelist()
340 if (actual_pages > 0) in create_pagelist()
341 unpin_user_pages(pages, actual_pages); in create_pagelist()
/linux/drivers/uio/
H A Duio.c825 unsigned long requested_pages, actual_pages; in uio_mmap() local
846 actual_pages = ((idev->info->mem[mi].addr & ~PAGE_MASK) in uio_mmap()
848 if (requested_pages > actual_pages) { in uio_mmap()