Searched refs:lzo1x_worst_compress (Results 1 – 7 of 7) sorted by relevance
105 workspace->buf = kvmalloc(lzo1x_worst_compress(PAGE_SIZE), GFP_KERNEL); in lzo_alloc_workspace()106 workspace->cbuf = kvmalloc(lzo1x_worst_compress(PAGE_SIZE), GFP_KERNEL); in lzo_alloc_workspace()320 const size_t max_segment_len = lzo1x_worst_compress(PAGE_SIZE); in lzo_decompress_bio()455 size_t max_segment_len = lzo1x_worst_compress(PAGE_SIZE); in lzo_decompress()
21 #define lzo1x_worst_compress(x) ((x) + ((x) / 16) + 64 + 3 + 2) macro
33 lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE)); in alloc_workspace()
133 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo()
73 lzo_ctx->dst_len = lzo1x_worst_compress(PAGE_SIZE); in regcache_lzo_compress_cache_block()
514 #define LZO_CMP_PAGES DIV_ROUND_UP(lzo1x_worst_compress(LZO_UNC_SIZE) + \817 lzo1x_worst_compress(data[thr].unc_len))) { in save_image_lzo()1339 lzo1x_worst_compress(LZO_UNC_SIZE))) { in load_image_lzo()
206 return lzo1x_worst_compress(size); in zbufsize_lzo()