Lines Matching defs:compress_ctx
1322 struct compress_ctx { struct
1323 struct inode *inode; /* inode the context belong to */
1324 pgoff_t cluster_idx; /* cluster index number */
1325 unsigned int cluster_size; /* page count in cluster */
1326 unsigned int log_cluster_size; /* log of cluster size */
1327 struct page **rpages; /* pages store raw data in cluster */
1328 unsigned int nr_rpages; /* total page number in rpages */
1329 struct page **cpages; /* pages store compressed data in cluster */
1330 unsigned int nr_cpages; /* total page number in cpages */
1331 void *rbuf; /* virtual mapped address on rpages */
1332 struct compress_data *cbuf; /* virtual mapped address on cpages */
1333 size_t rlen; /* valid data length in rbuf */
1334 size_t clen; /* valid data length in cbuf */
1335 void *private; /* payload buffer for specified compression algorithm */
1336 void *private2; /* extra payload buffer */