Searched refs:current_buf (Results 1 – 3 of 3) sorted by relevance
75 int current_buf; member123 struct buf_data *bd = &ctx->bufs[!(to_current ^ ctx->current_buf)]; in submit_job()128 dev_dbg(jrdev, "submitting job %d\n", !(to_current ^ ctx->current_buf)); in submit_job()142 struct buf_data *bd = &ctx->bufs[ctx->current_buf]; in caam_read()165 __func__, ctx->current_buf, ctx->cur_buf_idx); in caam_read()184 ctx->current_buf = !ctx->current_buf; in caam_read()185 dev_dbg(ctx->jrdev, "switched to buffer %d\n", ctx->current_buf); in caam_read()269 submit_job(ctx, buf_id == ctx->current_buf); in caam_init_buf()285 ctx->current_buf = 0; in caam_init_rng()
134 int current_buf; member840 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_update_ctx()841 int *buflen = state->current_buf ? &state->buflen_1 : &state->buflen_0; in ahash_update_ctx()842 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_ctx()843 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_ctx()916 state->current_buf = !state->current_buf; in ahash_update_ctx()974 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_final_ctx()975 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_final_ctx()976 int last_buflen = state->current_buf ? state->buflen_0 : in ahash_final_ctx()1053 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_finup_ctx()[all …]
50 struct mon_buf *current_buf; member137 monpriv->current_buf = monbuf; in monwrite_new_hdr()144 struct mon_buf *monbuf = monpriv->current_buf; in monwrite_new_data()165 list_del(&monpriv->current_buf->list); in monwrite_new_data()166 kfree(monpriv->current_buf->data); in monwrite_new_data()167 kfree(monpriv->current_buf); in monwrite_new_data()168 monpriv->current_buf = NULL; in monwrite_new_data()240 monpriv->data_to_read = monpriv->current_buf ? in monwrite_write()241 monpriv->current_buf->hdr.datalen : 0; in monwrite_write()246 to = monpriv->current_buf->data + in monwrite_write()