Home
last modified time | relevance | path

Searched refs:lzo_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/base/regmap/
A Dregcache-lzo.c37 if (!lzo_ctx->wmem) in regcache_lzo_prepare()
47 ret = lzo1x_1_compress(lzo_ctx->src, lzo_ctx->src_len, in regcache_lzo_compress()
48 lzo_ctx->dst, &compress_size, lzo_ctx->wmem); in regcache_lzo_compress()
61 ret = lzo1x_decompress_safe(lzo_ctx->src, lzo_ctx->src_len, in regcache_lzo_decompress()
74 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_compress_cache_block()
75 if (!lzo_ctx->dst) { in regcache_lzo_compress_cache_block()
76 lzo_ctx->dst_len = 0; in regcache_lzo_compress_cache_block()
91 lzo_ctx->dst_len = lzo_ctx->decompressed_size; in regcache_lzo_decompress_cache_block()
92 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_decompress_cache_block()
93 if (!lzo_ctx->dst) { in regcache_lzo_decompress_cache_block()
[all …]
/linux-6.3-rc2/crypto/
A Dlzo.c14 struct lzo_ctx { struct
31 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init() argument
47 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_exit()
70 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_compress()
114 .cra_ctxsize = sizeof(struct lzo_ctx),

Completed in 4 milliseconds