/arch/s390/include/asm/ |
D | checksum.h | 72 u32 csum = (__force u32) sum; in csum_fold() local 74 csum += (csum >> 16) + (csum << 16); in csum_fold() 75 csum >>= 16; in csum_fold() 76 return (__force __sum16) ~csum; in csum_fold() 98 __u32 csum = (__force __u32)sum; in csum_tcpudp_nofold() local 100 csum += (__force __u32)saddr; in csum_tcpudp_nofold() 101 if (csum < (__force __u32)saddr) in csum_tcpudp_nofold() 102 csum++; in csum_tcpudp_nofold() 104 csum += (__force __u32)daddr; in csum_tcpudp_nofold() 105 if (csum < (__force __u32)daddr) in csum_tcpudp_nofold() [all …]
|
D | os_info.h | 20 u32 csum; member 25 u32 csum; member
|
/arch/powerpc/lib/ |
D | checksum_wrappers_64.c | 29 unsigned int csum; in csum_and_copy_from_user() local 36 csum = 0; in csum_and_copy_from_user() 42 csum = (__force unsigned int)sum; in csum_and_copy_from_user() 46 csum = csum_partial_copy_generic((void __force *)src, dst, in csum_and_copy_from_user() 59 csum = csum_partial(dst, len, sum); in csum_and_copy_from_user() 63 return (__force __wsum)csum; in csum_and_copy_from_user() 70 unsigned int csum; in csum_and_copy_to_user() local 77 csum = 0; in csum_and_copy_to_user() 83 csum = -1; /* invalid checksum */ in csum_and_copy_to_user() 87 csum = csum_partial_copy_generic(src, (void __force *)dst, in csum_and_copy_to_user() [all …]
|
/arch/mips/include/asm/ |
D | checksum.h | 111 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 113 u32 sum = (__force u32)csum;; in csum_fold() 116 csum = (sum < csum); in csum_fold() 118 sum += csum; in csum_fold() 135 unsigned int csum; in ip_fast_csum() local 138 csum = word[0]; in ip_fast_csum() 139 csum += word[1]; in ip_fast_csum() 140 carry = (csum < word[1]); in ip_fast_csum() 141 csum += carry; in ip_fast_csum() 143 csum += word[2]; in ip_fast_csum() [all …]
|
/arch/s390/kernel/ |
D | os_info.c | 39 os_info.csum = os_info_csum(&os_info); in os_info_crashkernel_add() 49 os_info.entry[nr].csum = csum_partial(ptr, size, 0); in os_info_entry_add() 50 os_info.csum = os_info_csum(&os_info); in os_info_entry_add() 63 os_info.csum = os_info_csum(&os_info); in os_info_init() 78 u32 csum; in os_info_old_alloc() local 96 csum = csum_partial(buf_align, size, 0); in os_info_old_alloc() 97 if (csum != os_info_old->entry[nr].csum) { in os_info_old_alloc() 136 if (os_info_old->csum != os_info_csum(os_info_old)) in os_info_old_init()
|
/arch/ia64/include/asm/ |
D | checksum.h | 65 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 67 u32 sum = (__force u32)csum; in csum_fold() 77 __wsum csum);
|
/arch/sparc/include/asm/ |
D | checksum_64.h | 168 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 173 : "=r" (csum) in csum_add() 174 : "r" (addend), "0" (csum)); in csum_add() 176 return csum; in csum_add()
|
D | checksum_32.h | 242 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 247 : "=r" (csum) in csum_add() 248 : "r" (addend), "0" (csum)); in csum_add() 250 return csum; in csum_add()
|
/arch/cris/arch-v10/drivers/ |
D | axisflashmap.c | 316 unsigned long csum = 0; in init_axis_flash() local 325 csum += *p++; in init_axis_flash() 326 csum += *p++; in init_axis_flash() 327 csum += *p++; in init_axis_flash() 328 csum += *p++; in init_axis_flash() 330 ptable_ok = (csum == ptable_head->checksum); in init_axis_flash()
|
/arch/x86/lib/ |
D | Makefile | 43 lib-y += csum-partial_64.o csum-copy_64.o csum-wrappers_64.o
|
/arch/cris/include/asm/ |
D | checksum.h | 37 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 39 u32 sum = (__force u32)csum; in csum_fold()
|
/arch/tile/kernel/ |
D | machine_kexec.c | 116 __sum16 csum; in kexec_bn2cl() local 132 csum = ip_compute_csum(pg, bhdrp->b_size); in kexec_bn2cl() 133 if (csum != 0) { in kexec_bn2cl() 135 __func__, csum, bhdrp->b_size); in kexec_bn2cl()
|
/arch/alpha/include/asm/ |
D | checksum.h | 62 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 64 u32 sum = (__force u32)csum; in csum_fold()
|
/arch/metag/include/asm/ |
D | checksum.h | 43 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 45 u32 sum = (__force u32)csum; in csum_fold()
|
/arch/cris/include/uapi/arch-v32/arch/ |
D | cryptocop.h | 72 cryptocop_csum_type csum; /* BE, LE, none */ member 116 unsigned char csum[CRYPTOCOP_CSUM_LENGTH]; member
|
/arch/parisc/include/asm/ |
D | eisa_eeprom.h | 30 u_int16_t csum; /* checksum, I don't know how to calculate this */ member 40 u_int16_t csum; member
|
D | checksum.h | 76 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 78 u32 sum = (__force u32)csum; in csum_fold()
|
/arch/x86/include/asm/ |
D | checksum_64.h | 192 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 194 return (__force __wsum)add32_with_carry((__force unsigned)csum, in csum_add()
|
/arch/cris/arch-v32/drivers/ |
D | axisflashmap.c | 458 unsigned long csum = 0; in init_axis_flash() local 467 csum += *p++; in init_axis_flash() 468 csum += *p++; in init_axis_flash() 469 csum += *p++; in init_axis_flash() 470 csum += *p++; in init_axis_flash() 472 ptable_ok = (csum == ptable_head->checksum); in init_axis_flash()
|
/arch/alpha/lib/ |
D | csum_ipv6_magic.S | 23 zapnot $20,15,$20 # .. e1 : zero extend incoming csum 83 addq $0,$1,$0 # .. e1 : merge the carries back into the csum
|
D | ev6-csum_ipv6_magic.S | 69 zapnot $20,15,$20 # U : zero extend incoming csum 119 addq $0,$1,$0 # E : merge the carries back into the csum
|
/arch/tile/include/arch/ |
D | mpipe_shm.h | 56 uint_reg_t csum : 1; member 118 uint_reg_t csum : 1;
|
/arch/c6x/lib/ |
D | csum_64plus.S | 23 ; return csum in A4 30 MV .D1X B6,A31 ; given csum 31 ZERO .D1 A9 ; csum (a side) 32 || ZERO .D2 B9 ; csum (b side) 60 || ADD .L1X A9,B9,A9 ; add csum from a and b sides 139 ;; Fold the csum
|
/arch/x86/um/ |
D | Makefile | 30 subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o ../lib/thunk_64.o \
|
/arch/mips/ar7/ |
D | prom.c | 77 u16 csum; member
|