Lines Matching refs:nbuf

867 	unsigned int nbuf;  member
879 unsigned int nbuf; member
1734 if (is_sec1 && req_ctx->nbuf) in common_nonsnoop_hash_unmap()
1759 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done()
1825 if (is_sec1 && req_ctx->nbuf) in common_nonsnoop_hash()
1826 length -= req_ctx->nbuf; in common_nonsnoop_hash()
1832 length, req_ctx->nbuf); in common_nonsnoop_hash()
1839 if (is_sec1 && req_ctx->nbuf) { in common_nonsnoop_hash()
1840 map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf, in common_nonsnoop_hash()
1868 if (is_sec1 && req_ctx->nbuf && length) { in common_nonsnoop_hash()
1927 nbytes -= req_ctx->nbuf; in ahash_edesc_alloc()
1944 req_ctx->nbuf = 0; in ahash_init()
2004 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req()
2012 ctx_buf + req_ctx->nbuf, nbytes); in ahash_process_req()
2013 req_ctx->nbuf += nbytes; in ahash_process_req()
2018 nbytes_to_hash = nbytes + req_ctx->nbuf; in ahash_process_req()
2033 if (!is_sec1 && req_ctx->nbuf) { in ahash_process_req()
2034 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1; in ahash_process_req()
2036 sg_set_buf(req_ctx->bufsl, ctx_buf, req_ctx->nbuf); in ahash_process_req()
2040 } else if (is_sec1 && req_ctx->nbuf && req_ctx->nbuf < blocksize) { in ahash_process_req()
2042 offset = blocksize - req_ctx->nbuf; in ahash_process_req()
2044 offset = nbytes_to_hash - req_ctx->nbuf; in ahash_process_req()
2051 ctx_buf + req_ctx->nbuf, offset); in ahash_process_req()
2052 req_ctx->nbuf += offset; in ahash_process_req()
2150 memcpy(export->buf, req_ctx->buf[req_ctx->buf_idx], req_ctx->nbuf); in ahash_export()
2155 export->nbuf = req_ctx->nbuf; in ahash_export()
2176 memcpy(req_ctx->buf[0], export->buf, export->nbuf); in ahash_import()
2181 req_ctx->nbuf = export->nbuf; in ahash_import()