Lines Matching refs:compressed_pages
94 page = cb->compressed_pages[i]; in check_compressed_csum()
177 page = cb->compressed_pages[index]; in end_compressed_bio_read()
201 kfree(cb->compressed_pages); in end_compressed_bio_read()
273 cb->compressed_pages[0]->mapping = cb->inode->i_mapping; in end_compressed_bio_write()
274 btrfs_writepage_endio_finish_ordered(cb->compressed_pages[0], in end_compressed_bio_write()
277 cb->compressed_pages[0]->mapping = NULL; in end_compressed_bio_write()
288 page = cb->compressed_pages[index]; in end_compressed_bio_write()
294 kfree(cb->compressed_pages); in end_compressed_bio_write()
312 struct page **compressed_pages, in btrfs_submit_compressed_write() argument
337 cb->compressed_pages = compressed_pages; in btrfs_submit_compressed_write()
356 page = compressed_pages[pg_index]; in btrfs_submit_compressed_write()
602 cb->compressed_pages = kcalloc(nr_pages, sizeof(struct page *), in btrfs_submit_compressed_read()
604 if (!cb->compressed_pages) in btrfs_submit_compressed_read()
610 cb->compressed_pages[pg_index] = alloc_page(GFP_NOFS | in btrfs_submit_compressed_read()
612 if (!cb->compressed_pages[pg_index]) { in btrfs_submit_compressed_read()
636 page = cb->compressed_pages[pg_index]; in btrfs_submit_compressed_read()
706 __free_page(cb->compressed_pages[faili]); in btrfs_submit_compressed_read()
710 kfree(cb->compressed_pages); in btrfs_submit_compressed_read()