Searched refs:lzo1x_worst_compress (Results 1 – 7 of 7) sorted by relevance
83 workspace->buf = kvmalloc(lzo1x_worst_compress(PAGE_SIZE), GFP_KERNEL); in lzo_alloc_workspace()84 workspace->cbuf = kvmalloc(lzo1x_worst_compress(PAGE_SIZE), GFP_KERNEL); in lzo_alloc_workspace()298 const size_t max_segment_len = lzo1x_worst_compress(PAGE_SIZE); in lzo_decompress_bio()433 size_t max_segment_len = lzo1x_worst_compress(PAGE_SIZE); in lzo_decompress()
21 #define lzo1x_worst_compress(x) ((x) + ((x) / 16) + 64 + 3) macro
33 lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE)); in alloc_workspace()
147 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo()
77 lzo_ctx->dst_len = lzo1x_worst_compress(PAGE_SIZE); in regcache_lzo_compress_cache_block()
516 #define LZO_CMP_PAGES DIV_ROUND_UP(lzo1x_worst_compress(LZO_UNC_SIZE) + \819 lzo1x_worst_compress(data[thr].unc_len))) { in save_image_lzo()1342 lzo1x_worst_compress(LZO_UNC_SIZE))) { in load_image_lzo()
180 return lzo1x_worst_compress(size); in zbufsize_lzo()