Lines Matching refs:nbuf

873 	unsigned int nbuf;  member
885 unsigned int nbuf; member
1729 if (is_sec1 && req_ctx->nbuf) in common_nonsnoop_hash_unmap()
1754 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done()
1819 if (is_sec1 && req_ctx->nbuf) in common_nonsnoop_hash()
1820 length -= req_ctx->nbuf; in common_nonsnoop_hash()
1831 if (is_sec1 && req_ctx->nbuf) { in common_nonsnoop_hash()
1832 map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf, in common_nonsnoop_hash()
1860 if (is_sec1 && req_ctx->nbuf && length) { in common_nonsnoop_hash()
1920 nbytes -= req_ctx->nbuf; in ahash_edesc_alloc()
1937 req_ctx->nbuf = 0; in ahash_init()
1996 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req()
2004 ctx_buf + req_ctx->nbuf, nbytes); in ahash_process_req()
2005 req_ctx->nbuf += nbytes; in ahash_process_req()
2010 nbytes_to_hash = nbytes + req_ctx->nbuf; in ahash_process_req()
2025 if (!is_sec1 && req_ctx->nbuf) { in ahash_process_req()
2026 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1; in ahash_process_req()
2028 sg_set_buf(req_ctx->bufsl, ctx_buf, req_ctx->nbuf); in ahash_process_req()
2032 } else if (is_sec1 && req_ctx->nbuf && req_ctx->nbuf < blocksize) { in ahash_process_req()
2036 offset = blocksize - req_ctx->nbuf; in ahash_process_req()
2038 offset = nbytes_to_hash - req_ctx->nbuf; in ahash_process_req()
2045 ctx_buf + req_ctx->nbuf, offset); in ahash_process_req()
2046 req_ctx->nbuf += offset; in ahash_process_req()
2144 memcpy(export->buf, req_ctx->buf[req_ctx->buf_idx], req_ctx->nbuf); in ahash_export()
2149 export->nbuf = req_ctx->nbuf; in ahash_export()
2170 memcpy(req_ctx->buf[0], export->buf, export->nbuf); in ahash_import()
2175 req_ctx->nbuf = export->nbuf; in ahash_import()