Searched refs:current_buf (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/crypto/caam/ |
D | caamrng.c | 75 int current_buf; member 123 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()
|
D | caamhash.c | 134 int current_buf; member 786 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_update_ctx() 787 int *buflen = state->current_buf ? &state->buflen_1 : &state->buflen_0; in ahash_update_ctx() 788 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_ctx() 789 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_ctx() 849 state->current_buf = !state->current_buf; in ahash_update_ctx() 908 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_final_ctx() 909 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_final_ctx() 910 int last_buflen = state->current_buf ? state->buflen_0 : in ahash_final_ctx() 991 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_finup_ctx() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | monwriter.c | 50 struct mon_buf *current_buf; member 137 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()
|
/linux-4.4.14/scripts/kconfig/ |
D | zconf.lex.c | 821 struct buffer *current_buf; variable 2399 current_buf = xmalloc(sizeof(*current_buf)); in zconf_initscan() 2400 memset(current_buf, 0, sizeof(*current_buf)); in zconf_initscan() 2413 current_buf->state = YY_CURRENT_BUFFER; in zconf_nextfile() 2421 buf->parent = current_buf; in zconf_nextfile() 2422 current_buf = buf; in zconf_nextfile() 2454 parent = current_buf->parent; in zconf_endfile() 2460 free(current_buf); in zconf_endfile() 2461 current_buf = parent; in zconf_endfile()
|
D | zconf.l | 34 struct buffer *current_buf; variable
|
D | zconf.lex.c_shipped | 821 struct buffer *current_buf; 2399 current_buf = xmalloc(sizeof(*current_buf)); 2400 memset(current_buf, 0, sizeof(*current_buf)); 2413 current_buf->state = YY_CURRENT_BUFFER; 2421 buf->parent = current_buf; 2422 current_buf = buf; 2454 parent = current_buf->parent; 2460 free(current_buf); 2461 current_buf = parent;
|