lzo_ctx            31 crypto/lzo.c   	struct lzo_ctx *ctx = crypto_tfm_ctx(tfm);
lzo_ctx            47 crypto/lzo.c   	struct lzo_ctx *ctx = crypto_tfm_ctx(tfm);
lzo_ctx            70 crypto/lzo.c   	struct lzo_ctx *ctx = crypto_tfm_ctx(tfm);
lzo_ctx           114 crypto/lzo.c   	.cra_ctxsize		= sizeof(struct lzo_ctx),
lzo_ctx            34 drivers/base/regmap/regcache-lzo.c static int regcache_lzo_prepare(struct regcache_lzo_ctx *lzo_ctx)
lzo_ctx            36 drivers/base/regmap/regcache-lzo.c 	lzo_ctx->wmem = kmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL);
lzo_ctx            37 drivers/base/regmap/regcache-lzo.c 	if (!lzo_ctx->wmem)
lzo_ctx            42 drivers/base/regmap/regcache-lzo.c static int regcache_lzo_compress(struct regcache_lzo_ctx *lzo_ctx)
lzo_ctx            47 drivers/base/regmap/regcache-lzo.c 	ret = lzo1x_1_compress(lzo_ctx->src, lzo_ctx->src_len,
lzo_ctx            48 drivers/base/regmap/regcache-lzo.c 			       lzo_ctx->dst, &compress_size, lzo_ctx->wmem);
lzo_ctx            49 drivers/base/regmap/regcache-lzo.c 	if (ret != LZO_E_OK || compress_size > lzo_ctx->dst_len)
lzo_ctx            51 drivers/base/regmap/regcache-lzo.c 	lzo_ctx->dst_len = compress_size;
lzo_ctx            55 drivers/base/regmap/regcache-lzo.c static int regcache_lzo_decompress(struct regcache_lzo_ctx *lzo_ctx)
lzo_ctx            60 drivers/base/regmap/regcache-lzo.c 	dst_len = lzo_ctx->dst_len;
lzo_ctx            61 drivers/base/regmap/regcache-lzo.c 	ret = lzo1x_decompress_safe(lzo_ctx->src, lzo_ctx->src_len,
lzo_ctx            62 drivers/base/regmap/regcache-lzo.c 				    lzo_ctx->dst, &dst_len);
lzo_ctx            63 drivers/base/regmap/regcache-lzo.c 	if (ret != LZO_E_OK || dst_len != lzo_ctx->dst_len)
lzo_ctx            69 drivers/base/regmap/regcache-lzo.c 		struct regcache_lzo_ctx *lzo_ctx)
lzo_ctx            73 drivers/base/regmap/regcache-lzo.c 	lzo_ctx->dst_len = lzo1x_worst_compress(PAGE_SIZE);
lzo_ctx            74 drivers/base/regmap/regcache-lzo.c 	lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL);
lzo_ctx            75 drivers/base/regmap/regcache-lzo.c 	if (!lzo_ctx->dst) {
lzo_ctx            76 drivers/base/regmap/regcache-lzo.c 		lzo_ctx->dst_len = 0;
lzo_ctx            80 drivers/base/regmap/regcache-lzo.c 	ret = regcache_lzo_compress(lzo_ctx);
lzo_ctx            87 drivers/base/regmap/regcache-lzo.c 		struct regcache_lzo_ctx *lzo_ctx)
lzo_ctx            91 drivers/base/regmap/regcache-lzo.c 	lzo_ctx->dst_len = lzo_ctx->decompressed_size;
lzo_ctx            92 drivers/base/regmap/regcache-lzo.c 	lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL);
lzo_ctx            93 drivers/base/regmap/regcache-lzo.c 	if (!lzo_ctx->dst) {
lzo_ctx            94 drivers/base/regmap/regcache-lzo.c 		lzo_ctx->dst_len = 0;
lzo_ctx            98 drivers/base/regmap/regcache-lzo.c 	ret = regcache_lzo_decompress(lzo_ctx);