tag | line | file | source code |
sum | 78 | arch/alpha/boot/main.c | unsigned long i, rev, sum; |
sum | 120 | arch/alpha/boot/main.c | sum = 0; |
sum | 122 | arch/alpha/boot/main.c | sum += *l; |
sum | 123 | arch/alpha/boot/main.c | hwrpb.chksum = sum; |
sum | 398 | arch/alpha/kernel/apecs.c | unsigned long *l, sum; |
sum | 400 | arch/alpha/kernel/apecs.c | sum = 0; |
sum | 402 | arch/alpha/kernel/apecs.c | sum += *l; |
sum | 403 | arch/alpha/kernel/apecs.c | hwrpb->chksum = sum; |
sum | 33 | arch/alpha/lib/checksum.c | unsigned int sum) |
sum | 35 | arch/alpha/lib/checksum.c | return ~from64to16(saddr + daddr + sum + |
sum | 130 | arch/alpha/lib/checksum.c | unsigned int csum_partial(unsigned char * buff, int len, unsigned int sum) |
sum | 135 | arch/alpha/lib/checksum.c | result += sum; |
sum | 149 | arch/alpha/lib/checksum.c | unsigned int csum_partial_copy(char *src, char *dst, int len, int sum) |
sum | 158 | arch/alpha/lib/checksum.c | sum = csum_partial(src, len, sum); |
sum | 160 | arch/alpha/lib/checksum.c | return sum; |
sum | 404 | arch/i386/kernel/bios32.c | unsigned char sum; |
sum | 420 | arch/i386/kernel/bios32.c | sum = 0; |
sum | 422 | arch/i386/kernel/bios32.c | sum += check->chars[i]; |
sum | 423 | arch/i386/kernel/bios32.c | if (sum != 0) |
sum | 26 | arch/i386/lib/checksum.c | unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum) { |
sum | 92 | arch/i386/lib/checksum.c | : "=a"(sum) |
sum | 93 | arch/i386/lib/checksum.c | : "0"(sum), "c"(len), "S"(buff) |
sum | 95 | arch/i386/lib/checksum.c | return(sum); |
sum | 105 | arch/i386/lib/checksum.c | int len, int sum) { |
sum | 190 | arch/i386/lib/checksum.c | : "=a" (sum) |
sum | 191 | arch/i386/lib/checksum.c | : "0"(sum), "c"(len), "S"(src), "D" (dst) |
sum | 193 | arch/i386/lib/checksum.c | return(sum); |
sum | 200 | arch/i386/lib/checksum.c | int len, int sum) { |
sum | 285 | arch/i386/lib/checksum.c | : "=a" (sum) |
sum | 286 | arch/i386/lib/checksum.c | : "0"(sum), "c"(len), "S"(src), "D" (dst) |
sum | 288 | arch/i386/lib/checksum.c | return(sum); |
sum | 326 | drivers/net/eexpress.c | unsigned short sum = 0; |
sum | 330 | drivers/net/eexpress.c | sum += inb(id_addr); |
sum | 331 | drivers/net/eexpress.c | printk("EtherExpress ID checksum is %04x.\n", sum); |
sum | 335 | drivers/net/eexpress.c | sum |= (id_val >> 4) << ((id_val & 3) << 2); |
sum | 338 | drivers/net/eexpress.c | if (sum == 0xbaba |
sum | 42 | drivers/sound/hex2hex.h | unsigned char sum; |
sum | 48 | drivers/sound/hex2hex.h | sum = n; |
sum | 52 | drivers/sound/hex2hex.h | sum += addr/256; |
sum | 53 | drivers/sound/hex2hex.h | sum += addr%256; |
sum | 57 | drivers/sound/hex2hex.h | sum += linetype; |
sum | 71 | drivers/sound/hex2hex.h | sum += c; |
sum | 77 | drivers/sound/hex2hex.h | sum = ~sum + 1; |
sum | 78 | drivers/sound/hex2hex.h | if (check != sum) |
sum | 18 | fs/ext2/bitmap.c | unsigned long sum = 0; |
sum | 23 | fs/ext2/bitmap.c | sum += nibblemap[map->b_data[i] & 0xf] + |
sum | 25 | fs/ext2/bitmap.c | return (sum); |
sum | 26 | fs/minix/bitmap.c | unsigned i, j, end, sum = 0; |
sum | 40 | fs/minix/bitmap.c | sum += nibblemap[tmp&0xf] + nibblemap[(tmp>>4)&0xf]; |
sum | 44 | fs/minix/bitmap.c | sum += nibblemap[bh->b_data[j] & 0xf] |
sum | 47 | fs/minix/bitmap.c | return(sum); |
sum | 186 | fs/proc/array.c | unsigned sum = 0; |
sum | 189 | fs/proc/array.c | sum += kstat.interrupts[i]; |
sum | 208 | fs/proc/array.c | sum); |
sum | 346 | fs/xiafs/bitmap.c | u_long sum; |
sum | 348 | fs/xiafs/bitmap.c | sum=0; |
sum | 351 | fs/xiafs/bitmap.c | sum += nibblemap[tmp & 0xf] + nibblemap[(tmp & 0xff) >> 4]; |
sum | 353 | fs/xiafs/bitmap.c | return sum; |
sum | 360 | fs/xiafs/bitmap.c | u_long sum; |
sum | 362 | fs/xiafs/bitmap.c | sum=0; |
sum | 367 | fs/xiafs/bitmap.c | sum += count_zone(bh); |
sum | 372 | fs/xiafs/bitmap.c | return i - sum; |
sum | 379 | fs/xiafs/bitmap.c | u_long sum; |
sum | 381 | fs/xiafs/bitmap.c | sum=0; |
sum | 386 | fs/xiafs/bitmap.c | sum += count_zone(bh); |
sum | 391 | fs/xiafs/bitmap.c | return i - sum; |
sum | 19 | include/asm-alpha/checksum.h | unsigned int sum); |
sum | 33 | include/asm-alpha/checksum.h | extern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum); |
sum | 42 | include/asm-alpha/checksum.h | unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum); |
sum | 16 | include/asm-i386/checksum.h | unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum); |
sum | 26 | include/asm-i386/checksum.h | unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum); |
sum | 36 | include/asm-i386/checksum.h | unsigned int csum_partial_copy_fromuser(const char *src, char *dst, int len, int sum); |
sum | 47 | include/asm-i386/checksum.h | unsigned int sum; |
sum | 68 | include/asm-i386/checksum.h | : "=&r" (sum), "=&r" (iph), "=&r" (ihl) |
sum | 70 | include/asm-i386/checksum.h | return(sum); |
sum | 85 | include/asm-i386/checksum.h | unsigned int sum) { |
sum | 97 | include/asm-i386/checksum.h | : "=&r" (sum), "=&r" (saddr) |
sum | 98 | include/asm-i386/checksum.h | : "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum)); |
sum | 99 | include/asm-i386/checksum.h | return((unsigned short)sum); |
sum | 106 | include/asm-i386/checksum.h | static inline unsigned short int csum_fold(unsigned int sum) |
sum | 115 | include/asm-i386/checksum.h | : "=&r" (sum) |
sum | 116 | include/asm-i386/checksum.h | : "0" (sum) |
sum | 118 | include/asm-i386/checksum.h | return sum; |
sum | 127 | include/asm-i386/checksum.h | unsigned int sum; |
sum | 137 | include/asm-i386/checksum.h | : "=a"(sum), "=r" (scratch) |
sum | 139 | include/asm-i386/checksum.h | return(sum); |
sum | 903 | net/appletalk/ddp.c | unsigned long sum=0; /* Assume unsigned long is >16 bits */ |
sum | 912 | net/appletalk/ddp.c | sum+=*data; |
sum | 913 | net/appletalk/ddp.c | sum<<=1; |
sum | 914 | net/appletalk/ddp.c | if(sum&0x10000) |
sum | 916 | net/appletalk/ddp.c | sum++; |
sum | 917 | net/appletalk/ddp.c | sum&=0xFFFF; |
sum | 921 | net/appletalk/ddp.c | if(sum) |
sum | 922 | net/appletalk/ddp.c | return htons((unsigned short)sum); |
sum | 1100 | net/ipv4/tcp.c | int sum; |
sum | 1127 | net/ipv4/tcp.c | sum = skb->len -(counted - skb->h.th->seq); /* Length - header but start from where we are up to (avoid overlaps) */ |
sum | 1129 | net/ipv4/tcp.c | sum++; |
sum | 1130 | net/ipv4/tcp.c | if (sum > 0) |
sum | 1132 | net/ipv4/tcp.c | amount += sum; |
sum | 1135 | net/ipv4/tcp.c | counted += sum; |