Lines Matching refs:comp_len
1320 unsigned int comp_len = 0; in __zram_bvec_write() local
1340 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1350 if (comp_len >= huge_class_size) in __zram_bvec_write()
1351 comp_len = PAGE_SIZE; in __zram_bvec_write()
1366 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1374 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1394 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1396 memcpy(dst, src, comp_len); in __zram_bvec_write()
1397 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1402 atomic64_add(comp_len, &zram->stats.compr_data_size); in __zram_bvec_write()
1411 if (comp_len == PAGE_SIZE) { in __zram_bvec_write()
1421 zram_set_obj_size(zram, index, comp_len); in __zram_bvec_write()