Home
last modified time | relevance | path

Searched refs:lzo1x_worst_compress (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/fs/btrfs/
Dlzo.c105 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()
/Linux-v5.4/include/linux/
Dlzo.h21 #define lzo1x_worst_compress(x) ((x) + ((x) / 16) + 64 + 3 + 2) macro
/Linux-v5.4/fs/jffs2/
Dcompr_lzo.c33 lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE)); in alloc_workspace()
/Linux-v5.4/lib/
Ddecompress_unlzo.c133 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo()
/Linux-v5.4/drivers/base/regmap/
Dregcache-lzo.c73 lzo_ctx->dst_len = lzo1x_worst_compress(PAGE_SIZE); in regcache_lzo_compress_cache_block()
/Linux-v5.4/kernel/power/
Dswap.c514 #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()
/Linux-v5.4/fs/pstore/
Dplatform.c206 return lzo1x_worst_compress(size); in zbufsize_lzo()