current_buf      3009 drivers/crypto/caam/caamalg_qi2.c 	int current_buf;
current_buf      3023 drivers/crypto/caam/caamalg_qi2.c 	state->current_buf ^= 1;
current_buf      3028 drivers/crypto/caam/caamalg_qi2.c 	return state->current_buf ? state->buf_1 : state->buf_0;
current_buf      3033 drivers/crypto/caam/caamalg_qi2.c 	return state->current_buf ? state->buf_0 : state->buf_1;
current_buf      3038 drivers/crypto/caam/caamalg_qi2.c 	return state->current_buf ? &state->buflen_1 : &state->buflen_0;
current_buf      3043 drivers/crypto/caam/caamalg_qi2.c 	return state->current_buf ? &state->buflen_0 : &state->buflen_1;
current_buf      3056 drivers/crypto/caam/caamalg_qi2.c 	state->buf_dma = dma_map_single(dev, current_buf(state), buflen,
current_buf      3467 drivers/crypto/caam/caamalg_qi2.c 	u8 *buf = current_buf(state);
current_buf      3855 drivers/crypto/caam/caamalg_qi2.c 	u8 *buf = current_buf(state);
current_buf      3928 drivers/crypto/caam/caamalg_qi2.c 	u8 *buf = current_buf(state);
current_buf      4291 drivers/crypto/caam/caamalg_qi2.c 	state->current_buf = 0;
current_buf      4327 drivers/crypto/caam/caamalg_qi2.c 	if (state->current_buf) {
current_buf       118 drivers/crypto/caam/caamhash.c 	int current_buf;
current_buf       132 drivers/crypto/caam/caamhash.c 	state->current_buf ^= 1;
current_buf       137 drivers/crypto/caam/caamhash.c 	return state->current_buf ? state->buf_1 : state->buf_0;
current_buf       142 drivers/crypto/caam/caamhash.c 	return state->current_buf ? state->buf_0 : state->buf_1;
current_buf       147 drivers/crypto/caam/caamhash.c 	return state->current_buf ? &state->buflen_1 : &state->buflen_0;
current_buf       152 drivers/crypto/caam/caamhash.c 	return state->current_buf ? &state->buflen_0 : &state->buflen_1;
current_buf       191 drivers/crypto/caam/caamhash.c 	state->buf_dma = dma_map_single(jrdev, current_buf(state), buflen,
current_buf       789 drivers/crypto/caam/caamhash.c 	u8 *buf = current_buf(state);
current_buf      1151 drivers/crypto/caam/caamhash.c 	u8 *buf = current_buf(state);
current_buf      1210 drivers/crypto/caam/caamhash.c 	u8 *buf = current_buf(state);
current_buf      1551 drivers/crypto/caam/caamhash.c 	state->current_buf = 0;
current_buf      1587 drivers/crypto/caam/caamhash.c 	if (state->current_buf) {
current_buf        77 drivers/crypto/caam/caamrng.c 	int current_buf;
current_buf       128 drivers/crypto/caam/caamrng.c 	struct buf_data *bd = &ctx->bufs[!(to_current ^ ctx->current_buf)];
current_buf       133 drivers/crypto/caam/caamrng.c 	dev_dbg(jrdev, "submitting job %d\n", !(to_current ^ ctx->current_buf));
current_buf       147 drivers/crypto/caam/caamrng.c 	struct buf_data *bd = &ctx->bufs[ctx->current_buf];
current_buf       170 drivers/crypto/caam/caamrng.c 		 __func__, ctx->current_buf, ctx->cur_buf_idx);
current_buf       189 drivers/crypto/caam/caamrng.c 	ctx->current_buf = !ctx->current_buf;
current_buf       190 drivers/crypto/caam/caamrng.c 	dev_dbg(ctx->jrdev, "switched to buffer %d\n", ctx->current_buf);
current_buf       271 drivers/crypto/caam/caamrng.c 	submit_job(ctx, buf_id == ctx->current_buf);
current_buf       287 drivers/crypto/caam/caamrng.c 	ctx->current_buf = 0;
current_buf       117 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h 	struct vb2_v4l2_buffer		*current_buf[CSI_MAX_BUFFER];
current_buf       107 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	csi->current_buf[slot] = NULL;
current_buf       121 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	if (WARN_ON(csi->current_buf[slot]))
current_buf       131 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	csi->current_buf[slot] = v_buf;
current_buf       164 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	if (!csi->current_buf[slot]) {
current_buf       169 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	v_buf = csi->current_buf[slot];
current_buf       175 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	csi->current_buf[slot] = NULL;
current_buf       216 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		struct vb2_v4l2_buffer *v_buf = csi->current_buf[slot];
current_buf       222 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		csi->current_buf[slot] = NULL;
current_buf       412 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		csi->current_buf[i] = NULL;
current_buf        51 drivers/s390/char/monwriter.c 	struct mon_buf *current_buf;
current_buf       147 drivers/s390/char/monwriter.c 	monpriv->current_buf = monbuf;
current_buf       154 drivers/s390/char/monwriter.c 	struct mon_buf *monbuf = monpriv->current_buf;
current_buf       175 drivers/s390/char/monwriter.c 		list_del(&monpriv->current_buf->list);
current_buf       176 drivers/s390/char/monwriter.c 		kfree(monpriv->current_buf->data);
current_buf       177 drivers/s390/char/monwriter.c 		kfree(monpriv->current_buf);
current_buf       178 drivers/s390/char/monwriter.c 		monpriv->current_buf = NULL;
current_buf       250 drivers/s390/char/monwriter.c 			monpriv->data_to_read = monpriv->current_buf ?
current_buf       251 drivers/s390/char/monwriter.c 				monpriv->current_buf->hdr.datalen : 0;
current_buf       256 drivers/s390/char/monwriter.c 			to = monpriv->current_buf->data +