Lines Matching refs:comp_len
1086 unsigned int comp_len = 0; in __zram_bvec_write() local
1107 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1117 if (unlikely(comp_len >= huge_class_size)) { in __zram_bvec_write()
1118 comp_len = PAGE_SIZE; in __zram_bvec_write()
1146 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1154 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1174 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1176 memcpy(dst, src, comp_len); in __zram_bvec_write()
1177 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1182 atomic64_add(comp_len, &zram->stats.compr_data_size); in __zram_bvec_write()
1191 if (comp_len == PAGE_SIZE) { in __zram_bvec_write()
1201 zram_set_obj_size(zram, index, comp_len); in __zram_bvec_write()