Lines Matching defs:pages
22 int pages, struct page **page, int bytes);
36 int i, n, pages, missing_pages, bytes, res = -ENOMEM;
44 pages = end_index - start_index + 1;
46 page = kmalloc_array(pages, sizeof(void *), GFP_KERNEL);
52 * page cache pages appropriately within the decompressor
54 actor = squashfs_page_actor_init_special(page, pages, 0);
58 /* Try to grab all the pages covered by the Squashfs block */
59 for (missing_pages = 0, i = 0, n = start_index; i < pages; i++, n++) {
78 * Couldn't get one or more pages, this page has either
84 res = squashfs_read_cache(target_page, block, bsize, pages,
105 pageaddr = kmap_atomic(page[pages - 1]);
110 /* Mark pages as uptodate, unlock and release */
111 for (i = 0; i < pages; i++) {
125 /* Decompression failed, mark pages as errored. Target_page is
128 for (i = 0; i < pages; i++) {
145 int pages, struct page **page, int bytes)
158 for (n = 0; n < pages && bytes > 0; n++,