Lines Matching refs:comp_len
1354 unsigned int comp_len = 0;
1374 ret = zcomp_compress(zstrm, src, &comp_len);
1384 if (comp_len >= huge_class_size)
1385 comp_len = PAGE_SIZE;
1400 handle = zs_malloc(zram->mem_pool, comp_len,
1408 handle = zs_malloc(zram->mem_pool, comp_len,
1428 if (comp_len == PAGE_SIZE)
1430 memcpy(dst, src, comp_len);
1431 if (comp_len == PAGE_SIZE)
1436 atomic64_add(comp_len, &zram->stats.compr_data_size);
1445 if (comp_len == PAGE_SIZE) {
1455 zram_set_obj_size(zram, index, comp_len);