Lines Matching defs:pages
58 * add a contiguous set of pages into a ramfs inode when it's truncated from
65 struct page *pages;
82 /* allocate enough contiguous pages to be able to satisfy the
84 pages = alloc_pages(gfp, order);
85 if (!pages)
88 /* split the high-order page into an array of single pages */
92 split_page(pages, order);
94 /* trim off any pages we don't actually require */
96 __free_page(pages + loop);
100 data = page_address(pages);
103 /* attach all the pages to the inode's address space */
105 struct page *page = pages + loop;
124 __free_page(pages + loop++);
199 * - the pages to be mapped must exist
200 * - the pages be physically contiguous in sequence
223 /* gang-find the pages */
238 /* check the pages for physical adjacency */
246 goto out_free; /* successfully found desired pages*/
251 goto repeat; /* loop if pages are missing */