Lines Matching defs:compress_ctx
1530 struct compress_ctx { struct
1531 struct inode *inode; /* inode the context belong to */
1532 pgoff_t cluster_idx; /* cluster index number */
1533 unsigned int cluster_size; /* page count in cluster */
1534 unsigned int log_cluster_size; /* log of cluster size */
1535 struct page **rpages; /* pages store raw data in cluster */
1536 unsigned int nr_rpages; /* total page number in rpages */
1537 struct page **cpages; /* pages store compressed data in cluster */
1538 unsigned int nr_cpages; /* total page number in cpages */
1539 unsigned int valid_nr_cpages; /* valid page number in cpages */
1540 void *rbuf; /* virtual mapped address on rpages */
1541 struct compress_data *cbuf; /* virtual mapped address on cpages */
1542 size_t rlen; /* valid data length in rbuf */
1543 size_t clen; /* valid data length in cbuf */
1544 void *private; /* payload buffer for specified compression algorithm */
1545 void *private2; /* extra payload buffer */