Lines Matching refs:curr_buff_cnt

316 			   u8 *curr_buff, u32 curr_buff_cnt,  in cc_set_hash_buf()  argument
319 dev_dbg(dev, " handle curr buff %x set to DLLI\n", curr_buff_cnt); in cc_set_hash_buf()
321 sg_init_one(areq_ctx->buff_sg, curr_buff, curr_buff_cnt); in cc_set_hash_buf()
334 cc_add_sg_entry(dev, sg_data, 1, areq_ctx->buff_sg, curr_buff_cnt, 0, in cc_set_hash_buf()
1148 u32 *curr_buff_cnt = cc_hash_buf_cnt(areq_ctx); in cc_map_hash_request_final() local
1156 curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index); in cc_map_hash_request_final()
1163 if (nbytes == 0 && *curr_buff_cnt == 0) { in cc_map_hash_request_final()
1169 if (*curr_buff_cnt) { in cc_map_hash_request_final()
1170 rc = cc_set_hash_buf(dev, areq_ctx, curr_buff, *curr_buff_cnt, in cc_map_hash_request_final()
1214 if (*curr_buff_cnt) in cc_map_hash_request_final()
1227 u32 *curr_buff_cnt = cc_hash_buf_cnt(areq_ctx); in cc_map_hash_request_update() local
1232 u32 total_in_len = nbytes + *curr_buff_cnt; in cc_map_hash_request_update()
1240 curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index); in cc_map_hash_request_update()
1250 curr_buff, *curr_buff_cnt, &curr_buff[*curr_buff_cnt]); in cc_map_hash_request_update()
1253 &curr_buff[*curr_buff_cnt], nbytes); in cc_map_hash_request_update()
1254 *curr_buff_cnt += nbytes; in cc_map_hash_request_update()
1269 next_buff, (update_data_len - *curr_buff_cnt), in cc_map_hash_request_update()
1272 (update_data_len - *curr_buff_cnt), in cc_map_hash_request_update()
1278 if (*curr_buff_cnt) { in cc_map_hash_request_update()
1279 rc = cc_set_hash_buf(dev, areq_ctx, curr_buff, *curr_buff_cnt, in cc_map_hash_request_update()
1287 if (update_data_len > *curr_buff_cnt) { in cc_map_hash_request_update()
1288 rc = cc_map_sg(dev, src, (update_data_len - *curr_buff_cnt), in cc_map_hash_request_update()
1311 (update_data_len - *curr_buff_cnt), 0, true, in cc_map_hash_request_update()
1325 if (*curr_buff_cnt) in cc_map_hash_request_update()