Home
last modified time | relevance | path

Searched refs:awalk (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/crypto/axis/
H A Dartpec6_crypto.c389 awalk->sg = sg; in artpec6_crypto_walk_init()
390 awalk->offset = 0; in artpec6_crypto_walk_init()
399 WARN_ON(awalk->offset > awalk->sg->length); in artpec6_crypto_walk_advance()
401 piece = min(nbytes, (size_t)awalk->sg->length - awalk->offset); in artpec6_crypto_walk_advance()
403 awalk->offset += piece; in artpec6_crypto_walk_advance()
404 if (awalk->offset == awalk->sg->length) { in artpec6_crypto_walk_advance()
405 awalk->sg = sg_next(awalk->sg); in artpec6_crypto_walk_advance()
406 awalk->offset = 0; in artpec6_crypto_walk_advance()
417 WARN_ON(awalk->sg->length == awalk->offset); in artpec6_crypto_walk_chunklen()
419 return awalk->sg->length - awalk->offset; in artpec6_crypto_walk_chunklen()
[all …]