Lines Matching +full:half +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0-only */
18 * turns a 32-bit partial checksum (e.g. from csum_partial) into a
19 * 1's complement 16-bit checksum.
26 * swap the two 16-bit halves of sum in csum_fold()
27 * if there is a carry from adding the two 16-bit halves, in csum_fold()
28 * it will carry from the lower half into the upper half, in csum_fold()
29 * giving us the correct sum in the upper half. in csum_fold()
38 * of 32-bit words and is always >= 5.
48 n -= 4; in ip_fast_csum()
54 } while (--n > 0); in ip_fast_csum()
64 #include <asm-generic/checksum.h>