Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c223 int actual_pages; in create_pagelist() local
287 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()
/linux-5.19.10/drivers/uio/
Duio.c767 unsigned long requested_pages, actual_pages; in uio_mmap() local
788 actual_pages = ((idev->info->mem[mi].addr & ~PAGE_MASK) in uio_mmap()
790 if (requested_pages > actual_pages) { in uio_mmap()