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