Lines Matching full:loop
64 unsigned long npages, xpages, loop; in ramfs_nommu_expand_for_mapping() local
95 for (loop = npages; loop < xpages; loop++) in ramfs_nommu_expand_for_mapping()
96 __free_page(pages + loop); in ramfs_nommu_expand_for_mapping()
104 for (loop = 0; loop < npages; loop++) { in ramfs_nommu_expand_for_mapping()
105 struct page *page = pages + loop; in ramfs_nommu_expand_for_mapping()
107 ret = add_to_page_cache_lru(page, inode->i_mapping, loop, in ramfs_nommu_expand_for_mapping()
123 while (loop < npages) in ramfs_nommu_expand_for_mapping()
124 __free_page(pages + loop++); in ramfs_nommu_expand_for_mapping()
206 unsigned long maxpages, lpages, nr_folios, loop, ret, nr_pages, pfn; in ramfs_nommu_get_unmapped_area() local
239 for (loop = 0; loop < nr_folios; loop++) { in ramfs_nommu_get_unmapped_area()
240 if (pfn + nr_pages != folio_pfn(fbatch.folios[loop])) { in ramfs_nommu_get_unmapped_area()
244 nr_pages += folio_nr_pages(fbatch.folios[loop]); in ramfs_nommu_get_unmapped_area()
251 goto repeat; /* loop if pages are missing */ in ramfs_nommu_get_unmapped_area()