• Home
  • Raw
  • Download

Lines Matching refs:buflen

140 	int buflen;  member
181 u8 *buf, int buflen) in buf_map_to_sec4_sg() argument
185 buf_dma = dma_map_single(jrdev, buf, buflen, DMA_TO_DEVICE); in buf_map_to_sec4_sg()
186 dma_to_sec4_sg_one(sec4_sg, buf_dma, buflen, 0); in buf_map_to_sec4_sg()
197 u8 *buf, dma_addr_t buf_dma, int buflen, in try_buf_map_to_sec4_sg() argument
202 if (buflen) in try_buf_map_to_sec4_sg()
203 buf_dma = buf_map_to_sec4_sg(jrdev, sec4_sg, buf, buflen); in try_buf_map_to_sec4_sg()
841 int *buflen = state->current_buf ? &state->buflen_1 : &state->buflen_0; in ahash_update_ctx() local
845 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_ctx()
874 sec4_sg_src_index = 1 + (*buflen ? 1 : 0); in ahash_update_ctx()
901 *buflen, last_buflen); in ahash_update_ctx()
909 to_hash - *buflen, in ahash_update_ctx()
946 scatterwalk_map_and_copy(buf + *buflen, req->src, 0, in ahash_update_ctx()
948 *buflen = *next_buflen; in ahash_update_ctx()
953 DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1); in ahash_update_ctx()
975 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_final_ctx() local
984 sec4_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_final_ctx()
1005 buf, state->buf_dma, buflen, in ahash_final_ctx()
1018 append_seq_in_ptr(desc, edesc->sec4_sg_dma, ctx->ctx_len + buflen, in ahash_final_ctx()
1054 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_finup_ctx() local
1081 sec4_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_finup_ctx()
1102 buf, state->buf_dma, buflen, in ahash_finup_ctx()
1106 sec4_sg_src_index, ctx->ctx_len + buflen, in ahash_finup_ctx()
1221 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_final_no_ctx() local
1235 state->buf_dma = dma_map_single(jrdev, buf, buflen, DMA_TO_DEVICE); in ahash_final_no_ctx()
1241 append_seq_in_ptr(desc, state->buf_dma, buflen, 0); in ahash_final_no_ctx()
1282 int *buflen = state->current_buf ? &state->buflen_1 : &state->buflen_0; in ahash_update_no_ctx() local
1286 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_no_ctx()
1335 buf, *buflen); in ahash_update_no_ctx()
1341 to_hash - *buflen, in ahash_update_no_ctx()
1379 scatterwalk_map_and_copy(buf + *buflen, req->src, 0, in ahash_update_no_ctx()
1381 *buflen = *next_buflen; in ahash_update_no_ctx()
1386 DUMP_PREFIX_ADDRESS, 16, 4, buf, *buflen, 1); in ahash_update_no_ctx()
1409 int buflen = state->current_buf ? state->buflen_1 : state->buflen_0; in ahash_finup_no_ctx() local
1454 state->buf_dma, buflen, in ahash_finup_no_ctx()
1457 ret = ahash_edesc_add_src(ctx, edesc, req, mapped_nents, 1, buflen, in ahash_finup_no_ctx()
1659 export->buflen = len; in ahash_export()
1673 memcpy(state->buf_0, export->buf, export->buflen); in ahash_import()
1675 state->buflen_0 = export->buflen; in ahash_import()