Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Diov_iter.c1208 struct csum_state *csstate = _csstate; in csum_and_copy_to_iter() local
1215 csstate->csum = csum_block_add(csstate->csum, in csum_and_copy_to_iter()
1217 csstate->off); in csum_and_copy_to_iter()
1218 csstate->off += bytes; in csum_and_copy_to_iter()
1222 sum = csum_shift(csstate->csum, csstate->off); in csum_and_copy_to_iter()
1231 csstate->csum = csum_shift(sum, csstate->off); in csum_and_copy_to_iter()
1232 csstate->off += bytes; in csum_and_copy_to_iter()
/openbmc/linux/include/linux/
H A Duio.h350 size_t csum_and_copy_to_iter(const void *addr, size_t bytes, void *csstate, struct iov_iter *i);