Home
last modified time | relevance | path

Searched refs:lzo_ctx (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/base/regmap/
H A Dregcache-lzo.c34 static int regcache_lzo_prepare(struct regcache_lzo_ctx *lzo_ctx) in regcache_lzo_prepare() argument
36 lzo_ctx->wmem = kmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in regcache_lzo_prepare()
37 if (!lzo_ctx->wmem) in regcache_lzo_prepare()
42 static int regcache_lzo_compress(struct regcache_lzo_ctx *lzo_ctx) in regcache_lzo_compress() argument
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()
49 if (ret != LZO_E_OK || compress_size > lzo_ctx->dst_len) in regcache_lzo_compress()
51 lzo_ctx in regcache_lzo_compress()
55 regcache_lzo_decompress(struct regcache_lzo_ctx *lzo_ctx) regcache_lzo_decompress() argument
68 regcache_lzo_compress_cache_block(struct regmap *map, struct regcache_lzo_ctx *lzo_ctx) regcache_lzo_compress_cache_block() argument
86 regcache_lzo_decompress_cache_block(struct regmap *map, struct regcache_lzo_ctx *lzo_ctx) regcache_lzo_decompress_cache_block() argument
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dlzo.c14 struct lzo_ctx { struct
31 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init()
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),
/kernel/linux/linux-6.6/crypto/
H A Dlzo.c14 struct lzo_ctx { struct
31 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init()
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 1 milliseconds