Lines Matching refs:compressed_pages
87 page = cb->compressed_pages[i]; in check_compressed_csum()
170 page = cb->compressed_pages[index]; in end_compressed_bio_read()
194 kfree(cb->compressed_pages); in end_compressed_bio_read()
268 cb->compressed_pages[0]->mapping = cb->inode->i_mapping; in end_compressed_bio_write()
269 tree->ops->writepage_end_io_hook(cb->compressed_pages[0], in end_compressed_bio_write()
274 cb->compressed_pages[0]->mapping = NULL; in end_compressed_bio_write()
285 page = cb->compressed_pages[index]; in end_compressed_bio_write()
291 kfree(cb->compressed_pages); in end_compressed_bio_write()
309 struct page **compressed_pages, in btrfs_submit_compressed_write() argument
334 cb->compressed_pages = compressed_pages; in btrfs_submit_compressed_write()
352 page = compressed_pages[pg_index]; in btrfs_submit_compressed_write()
599 cb->compressed_pages = kcalloc(nr_pages, sizeof(struct page *), in btrfs_submit_compressed_read()
601 if (!cb->compressed_pages) in btrfs_submit_compressed_read()
607 cb->compressed_pages[pg_index] = alloc_page(GFP_NOFS | in btrfs_submit_compressed_read()
609 if (!cb->compressed_pages[pg_index]) { in btrfs_submit_compressed_read()
632 page = cb->compressed_pages[pg_index]; in btrfs_submit_compressed_read()
697 __free_page(cb->compressed_pages[faili]); in btrfs_submit_compressed_read()
701 kfree(cb->compressed_pages); in btrfs_submit_compressed_read()