Searched refs:csstate (Results 1 – 2 of 2) sorted by relevance
1210 struct csum_state *csstate = _csstate; in csum_and_copy_to_iter() local1217 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()
350 size_t csum_and_copy_to_iter(const void *addr, size_t bytes, void *csstate, struct iov_iter *i);