Lines Matching refs:pages
22 int pages, struct page **page, int bytes);
36 int i, n, pages, missing_pages, bytes, res = -ENOMEM; in squashfs_readpage_block() local
44 pages = end_index - start_index + 1; in squashfs_readpage_block()
46 page = kmalloc_array(pages, sizeof(void *), GFP_KERNEL); in squashfs_readpage_block()
54 actor = squashfs_page_actor_init_special(page, pages, 0); in squashfs_readpage_block()
59 for (missing_pages = 0, i = 0, n = start_index; i < pages; i++, n++) { in squashfs_readpage_block()
84 res = squashfs_read_cache(target_page, block, bsize, pages, in squashfs_readpage_block()
105 pageaddr = kmap_atomic(page[pages - 1]); in squashfs_readpage_block()
111 for (i = 0; i < pages; i++) { in squashfs_readpage_block()
128 for (i = 0; i < pages; i++) { in squashfs_readpage_block()
145 int pages, struct page **page, int bytes) in squashfs_read_cache() argument
158 for (n = 0; n < pages && bytes > 0; n++, in squashfs_read_cache()