Lines Matching refs:compressed_pages
151 page = cb->compressed_pages[index]; in finish_compressed_bio_read()
160 kfree(cb->compressed_pages); in finish_compressed_bio_read()
274 struct page *page = cb->compressed_pages[index]; in finish_compressed_bio_write()
281 kfree(cb->compressed_pages); in finish_compressed_bio_write()
379 struct page **compressed_pages, in btrfs_submit_compressed_write() argument
405 cb->compressed_pages = compressed_pages; in btrfs_submit_compressed_write()
419 struct page *page = compressed_pages[index]; in btrfs_submit_compressed_write()
720 cb->compressed_pages = kcalloc(cb->nr_pages, sizeof(struct page *), GFP_NOFS); in btrfs_submit_compressed_read()
721 if (!cb->compressed_pages) { in btrfs_submit_compressed_read()
726 ret2 = btrfs_alloc_page_array(cb->nr_pages, cb->compressed_pages); in btrfs_submit_compressed_read()
742 struct page *page = cb->compressed_pages[index]; in btrfs_submit_compressed_read()
820 if (cb->compressed_pages) { in btrfs_submit_compressed_read()
822 if (cb->compressed_pages[i]) in btrfs_submit_compressed_read()
823 __free_page(cb->compressed_pages[i]); in btrfs_submit_compressed_read()
827 kfree(cb->compressed_pages); in btrfs_submit_compressed_read()