Lines Matching refs:comp_len
1313 unsigned int comp_len = 0; in __zram_bvec_write() local
1333 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1343 if (comp_len >= huge_class_size) in __zram_bvec_write()
1344 comp_len = PAGE_SIZE; in __zram_bvec_write()
1359 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1367 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1387 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1389 memcpy(dst, src, comp_len); in __zram_bvec_write()
1390 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1395 atomic64_add(comp_len, &zram->stats.compr_data_size); in __zram_bvec_write()
1404 if (comp_len == PAGE_SIZE) { in __zram_bvec_write()
1414 zram_set_obj_size(zram, index, comp_len); in __zram_bvec_write()