Lines Matching refs:priv
235 struct ahash_request_priv *priv; in ahash_save_req() local
237 priv = kmalloc(sizeof(*priv) + ahash_align_buffer_size(ds, alignmask), in ahash_save_req()
240 if (!priv) in ahash_save_req()
268 priv->result = req->result; in ahash_save_req()
269 priv->complete = req->base.complete; in ahash_save_req()
270 priv->data = req->base.data; in ahash_save_req()
271 priv->flags = req->base.flags; in ahash_save_req()
279 req->result = PTR_ALIGN((u8 *)priv->ubuf, alignmask + 1); in ahash_save_req()
282 req->priv = priv; in ahash_save_req()
289 struct ahash_request_priv *priv = req->priv; in ahash_restore_req() local
292 memcpy(priv->result, req->result, in ahash_restore_req()
296 req->result = priv->result; in ahash_restore_req()
298 ahash_request_set_callback(req, priv->flags, in ahash_restore_req()
299 priv->complete, priv->data); in ahash_restore_req()
300 req->priv = NULL; in ahash_restore_req()
303 kzfree(priv); in ahash_restore_req()
308 struct ahash_request_priv *priv = req->priv; in ahash_notify_einprogress() local
311 oreq.data = priv->data; in ahash_notify_einprogress()
313 priv->complete(&oreq, -EINPROGRESS); in ahash_notify_einprogress()
456 if (areq->priv) in ahash_def_finup_done1()