Searched refs:current_buf (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/crypto/caam/ |
D | caamrng.c | 75 int current_buf; member 119 struct buf_data *bd = &ctx->bufs[!(to_current ^ ctx->current_buf)]; in submit_job() 124 dev_dbg(jrdev, "submitting job %d\n", !(to_current ^ ctx->current_buf)); in submit_job() 138 struct buf_data *bd = &ctx->bufs[ctx->current_buf]; in caam_read() 161 __func__, ctx->current_buf, ctx->cur_buf_idx); in caam_read() 180 ctx->current_buf = !ctx->current_buf; in caam_read() 181 dev_dbg(ctx->jrdev, "switched to buffer %d\n", ctx->current_buf); in caam_read() 265 submit_job(ctx, buf_id == ctx->current_buf); in caam_init_buf() 281 ctx->current_buf = 0; in caam_init_rng()
|
D | caamhash.c | 134 int current_buf; member 781 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_update_ctx() 782 int *buflen = state->current_buf ? &state->buflen_1 : &state->buflen_0; in ahash_update_ctx() 783 u8 *next_buf = state->current_buf ? state->buf_0 : state->buf_1; in ahash_update_ctx() 784 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_ctx() 842 state->current_buf = !state->current_buf; in ahash_update_ctx() 906 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_final_ctx() 907 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_final_ctx() 908 int last_buflen = state->current_buf ? state->buflen_0 : in ahash_final_ctx() 989 u8 *buf = state->current_buf ? state->buf_1 : state->buf_0; in ahash_finup_ctx() [all …]
|
/linux-4.1.27/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.1.27/scripts/kconfig/ |
D | zconf.lex.c | 796 struct buffer *current_buf; variable 2346 current_buf = xmalloc(sizeof(*current_buf)); in zconf_initscan() 2347 memset(current_buf, 0, sizeof(*current_buf)); in zconf_initscan() 2360 current_buf->state = YY_CURRENT_BUFFER; in zconf_nextfile() 2368 buf->parent = current_buf; in zconf_nextfile() 2369 current_buf = buf; in zconf_nextfile() 2401 parent = current_buf->parent; in zconf_endfile() 2407 free(current_buf); in zconf_endfile() 2408 current_buf = parent; in zconf_endfile()
|
D | zconf.l | 34 struct buffer *current_buf; variable
|
D | zconf.lex.c_shipped | 796 struct buffer *current_buf; 2346 current_buf = xmalloc(sizeof(*current_buf)); 2347 memset(current_buf, 0, sizeof(*current_buf)); 2360 current_buf->state = YY_CURRENT_BUFFER; 2368 buf->parent = current_buf; 2369 current_buf = buf; 2401 parent = current_buf->parent; 2407 free(current_buf); 2408 current_buf = parent;
|