Lines Matching refs:comp_len
1348 unsigned int comp_len = 0; in __zram_bvec_write() local
1368 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()
1378 if (comp_len >= huge_class_size) in __zram_bvec_write()
1379 comp_len = PAGE_SIZE; in __zram_bvec_write()
1394 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1402 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1408 if (comp_len != PAGE_SIZE) in __zram_bvec_write()
1432 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1434 memcpy(dst, src, comp_len); in __zram_bvec_write()
1435 if (comp_len == PAGE_SIZE) in __zram_bvec_write()
1440 atomic64_add(comp_len, &zram->stats.compr_data_size); in __zram_bvec_write()
1449 if (comp_len == PAGE_SIZE) { in __zram_bvec_write()
1460 zram_set_obj_size(zram, index, comp_len); in __zram_bvec_write()