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

/drivers/base/regmap/
H A Dregcache-lzo.c38 static int regcache_lzo_prepare(struct regcache_lzo_ctx *lzo_ctx) argument
40 lzo_ctx->wmem = kmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL);
41 if (!lzo_ctx->wmem)
46 static int regcache_lzo_compress(struct regcache_lzo_ctx *lzo_ctx) argument
51 ret = lzo1x_1_compress(lzo_ctx->src, lzo_ctx->src_len,
52 lzo_ctx->dst, &compress_size, lzo_ctx->wmem);
53 if (ret != LZO_E_OK || compress_size > lzo_ctx->dst_len)
55 lzo_ctx
59 regcache_lzo_decompress(struct regcache_lzo_ctx *lzo_ctx) argument
72 regcache_lzo_compress_cache_block(struct regmap *map, struct regcache_lzo_ctx *lzo_ctx) argument
90 regcache_lzo_decompress_cache_block(struct regmap *map, struct regcache_lzo_ctx *lzo_ctx) argument
[all...]

Completed in 9 milliseconds