Lines Matching refs:comp_len
1338 unsigned int comp_len = 0; in __zram_bvec_write() local
1358 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1368 if (comp_len >= huge_class_size) in __zram_bvec_write()
1369 comp_len = PAGE_SIZE; in __zram_bvec_write()
1384 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1393 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1413 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1415 memcpy(dst, src, comp_len); in __zram_bvec_write()
1416 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1421 atomic64_add(comp_len, &zram->stats.compr_data_size); in __zram_bvec_write()
1430 if (comp_len == PAGE_SIZE) { in __zram_bvec_write()
1440 zram_set_obj_size(zram, index, comp_len); in __zram_bvec_write()