Lines Matching refs:nbuf
873 unsigned int nbuf;
885 unsigned int nbuf;
1730 if (is_sec1 && req_ctx->nbuf)
1755 req_ctx->nbuf = req_ctx->to_hash_later;
1820 if (is_sec1 && req_ctx->nbuf)
1821 length -= req_ctx->nbuf;
1832 if (is_sec1 && req_ctx->nbuf) {
1833 map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf,
1861 if (is_sec1 && req_ctx->nbuf && length) {
1921 nbytes -= req_ctx->nbuf;
1938 req_ctx->nbuf = 0;
1997 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) {
2005 ctx_buf + req_ctx->nbuf, nbytes);
2006 req_ctx->nbuf += nbytes;
2011 nbytes_to_hash = nbytes + req_ctx->nbuf;
2026 if (!is_sec1 && req_ctx->nbuf) {
2027 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1;
2029 sg_set_buf(req_ctx->bufsl, ctx_buf, req_ctx->nbuf);
2033 } else if (is_sec1 && req_ctx->nbuf && req_ctx->nbuf < blocksize) {
2037 offset = blocksize - req_ctx->nbuf;
2039 offset = nbytes_to_hash - req_ctx->nbuf;
2046 ctx_buf + req_ctx->nbuf, offset);
2047 req_ctx->nbuf += offset;
2145 memcpy(export->buf, req_ctx->buf[req_ctx->buf_idx], req_ctx->nbuf);
2150 export->nbuf = req_ctx->nbuf;
2171 memcpy(req_ctx->buf[0], export->buf, export->nbuf);
2176 req_ctx->nbuf = export->nbuf;