Lines Matching defs:num_pages
488 * @num_pages: number of entries in @pages
494 void optee_fill_pages_list(u64 *dst, struct page **pages, int num_pages,
539 if (!--num_pages)
591 static int check_mem_type(unsigned long start, size_t num_pages)
605 start + num_pages * PAGE_SIZE);
612 struct page **pages, size_t num_pages,
621 if (!num_pages)
624 rc = check_mem_type(start, num_pages);
628 pages_list = optee_allocate_pages_list(num_pages);
638 optee_fill_pages_list(pages_list, pages, num_pages,
659 optee_free_pages_list(pages_list, num_pages);
687 struct page **pages, size_t num_pages,
694 return check_mem_type(start, num_pages);