Lines Matching refs:compressed_bvecs
127 size = struct_size(a, compressed_bvecs, pcs->maxpages); in z_erofs_create_pcluster_pool()
319 if (READ_ONCE(pcl->compressed_bvecs[i].page)) in z_erofs_bind_cache()
343 if (!cmpxchg_relaxed(&pcl->compressed_bvecs[i].page, NULL, in z_erofs_bind_cache()
375 struct page *page = pcl->compressed_bvecs[i].page; in erofs_try_to_free_all_cached_pages()
388 WRITE_ONCE(pcl->compressed_bvecs[i].page, NULL); in erofs_try_to_free_all_cached_pages()
406 if (pcl->compressed_bvecs[i].page == page) { in erofs_try_to_free_cached_page()
407 WRITE_ONCE(pcl->compressed_bvecs[i].page, NULL); in erofs_try_to_free_cached_page()
424 if (!cmpxchg(&pcl->compressed_bvecs[--fe->icur].page, in z_erofs_try_inplace_io()
426 pcl->compressed_bvecs[fe->icur] = *bvec; in z_erofs_try_inplace_io()
745 WRITE_ONCE(fe->pcl->compressed_bvecs[0].page, in z_erofs_do_read_page()
987 struct z_erofs_bvec *bvec = &pcl->compressed_bvecs[i]; in z_erofs_parse_in_bvecs()
1086 page = pcl->compressed_bvecs[0].page; in z_erofs_decompress_pcluster()
1087 WRITE_ONCE(pcl->compressed_bvecs[0].page, NULL); in z_erofs_decompress_pcluster()
1091 page = pcl->compressed_bvecs[i].page; in z_erofs_decompress_pcluster()
1098 WRITE_ONCE(pcl->compressed_bvecs[i].page, NULL); in z_erofs_decompress_pcluster()
1215 page = READ_ONCE(pcl->compressed_bvecs[nr].page); in pickup_page_for_submission()
1231 WRITE_ONCE(pcl->compressed_bvecs[nr].page, page); in pickup_page_for_submission()
1257 WRITE_ONCE(pcl->compressed_bvecs[nr].page, page); in pickup_page_for_submission()
1292 if (oldpage != cmpxchg(&pcl->compressed_bvecs[nr].page, in pickup_page_for_submission()