Lines Matching refs:compressed_bvecs
89 struct z_erofs_bvec compressed_bvecs[]; member
247 size = struct_size(a, compressed_bvecs, pcs->maxpages); in z_erofs_create_pcluster_pool()
548 if (READ_ONCE(pcl->compressed_bvecs[i].page)) in z_erofs_bind_cache()
568 if (!pcl->compressed_bvecs[i].page) { in z_erofs_bind_cache()
569 pcl->compressed_bvecs[i].page = page ? page : newpage; in z_erofs_bind_cache()
602 if (pcl->compressed_bvecs[i].page) { in erofs_try_to_free_all_cached_folios()
603 folio = page_folio(pcl->compressed_bvecs[i].page); in erofs_try_to_free_all_cached_folios()
610 pcl->compressed_bvecs[i].page = NULL; in erofs_try_to_free_all_cached_folios()
621 struct z_erofs_bvec *bvec = pcl->compressed_bvecs; in z_erofs_cache_release_folio()
694 if (pcl->compressed_bvecs[--fe->icur].page) in z_erofs_attach_page()
696 pcl->compressed_bvecs[fe->icur] = *bvec; in z_erofs_attach_page()
835 WRITE_ONCE(fe->pcl->compressed_bvecs[0].page, map->buf.page); in z_erofs_pcluster_begin()
1144 struct z_erofs_bvec *bvec = &pcl->compressed_bvecs[i]; in z_erofs_parse_in_bvecs()
1232 page = pcl->compressed_bvecs[0].page; in z_erofs_decompress_pcluster()
1233 WRITE_ONCE(pcl->compressed_bvecs[0].page, NULL); in z_erofs_decompress_pcluster()
1243 WRITE_ONCE(pcl->compressed_bvecs[i].page, NULL); in z_erofs_decompress_pcluster()
1395 zbv = pcl->compressed_bvecs[nr]; in z_erofs_fill_bio_vec()
1459 if (unlikely(pcl->compressed_bvecs[nr].page != zbv.page)) { in z_erofs_fill_bio_vec()
1466 pcl->compressed_bvecs[nr].page = page ? page : ERR_PTR(-ENOMEM); in z_erofs_fill_bio_vec()