Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Diov_iter.c1210 struct csum_state *csstate = _csstate; in csum_and_copy_to_iter() local
1217 csstate->csum = csum_block_add(csstate->csum, in csum_and_copy_to_iter()
1219 csstate->off); in csum_and_copy_to_iter()
1220 csstate->off += bytes; in csum_and_copy_to_iter()
1224 sum = csum_shift(csstate->csum, csstate->off); in csum_and_copy_to_iter()
1233 csstate->csum = csum_shift(sum, csstate->off); in csum_and_copy_to_iter()
1234 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);