taglinefilesource code
sum78arch/alpha/boot/main.cunsigned long i, rev, sum;
sum120arch/alpha/boot/main.csum = 0;
sum122arch/alpha/boot/main.csum += *l;
sum123arch/alpha/boot/main.chwrpb.chksum = sum;
sum398arch/alpha/kernel/apecs.cunsigned long *l, sum;
sum400arch/alpha/kernel/apecs.csum = 0;
sum402arch/alpha/kernel/apecs.csum += *l;
sum403arch/alpha/kernel/apecs.chwrpb->chksum = sum;
sum33arch/alpha/lib/checksum.cunsigned int sum)
sum35arch/alpha/lib/checksum.creturn ~from64to16(saddr + daddr + sum +
sum130arch/alpha/lib/checksum.cunsigned int csum_partial(unsigned char * buff, int len, unsigned int sum)
sum135arch/alpha/lib/checksum.cresult += sum;
sum149arch/alpha/lib/checksum.cunsigned int csum_partial_copy(char *src, char *dst, int len, int sum)
sum158arch/alpha/lib/checksum.csum = csum_partial(src, len, sum);
sum160arch/alpha/lib/checksum.creturn sum;
sum404arch/i386/kernel/bios32.cunsigned char sum;
sum420arch/i386/kernel/bios32.csum = 0;
sum422arch/i386/kernel/bios32.csum += check->chars[i];
sum423arch/i386/kernel/bios32.cif (sum != 0)
sum26arch/i386/lib/checksum.cunsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum) {
sum92arch/i386/lib/checksum.c: "=a"(sum)
sum93arch/i386/lib/checksum.c: "0"(sum), "c"(len), "S"(buff)
sum95arch/i386/lib/checksum.creturn(sum);
sum105arch/i386/lib/checksum.cint len, int sum) {
sum190arch/i386/lib/checksum.c: "=a" (sum)
sum191arch/i386/lib/checksum.c: "0"(sum), "c"(len), "S"(src), "D" (dst)
sum193arch/i386/lib/checksum.creturn(sum);
sum200arch/i386/lib/checksum.cint len, int sum) {
sum285arch/i386/lib/checksum.c: "=a" (sum)
sum286arch/i386/lib/checksum.c: "0"(sum), "c"(len), "S"(src), "D" (dst)
sum288arch/i386/lib/checksum.creturn(sum);
sum326drivers/net/eexpress.cunsigned short sum = 0;
sum330drivers/net/eexpress.csum += inb(id_addr);
sum331drivers/net/eexpress.cprintk("EtherExpress ID checksum is %04x.\n", sum);
sum335drivers/net/eexpress.csum |= (id_val >> 4) << ((id_val & 3) << 2);
sum338drivers/net/eexpress.cif (sum == 0xbaba
sum42drivers/sound/hex2hex.hunsigned char sum;
sum48drivers/sound/hex2hex.hsum = n;
sum52drivers/sound/hex2hex.hsum += addr/256;
sum53drivers/sound/hex2hex.hsum += addr%256;
sum57drivers/sound/hex2hex.hsum += linetype;
sum71drivers/sound/hex2hex.hsum += c;
sum77drivers/sound/hex2hex.hsum = ~sum + 1;
sum78drivers/sound/hex2hex.hif (check != sum)
sum18fs/ext2/bitmap.cunsigned long sum = 0;
sum23fs/ext2/bitmap.csum += nibblemap[map->b_data[i] & 0xf] +
sum25fs/ext2/bitmap.creturn (sum);
sum26fs/minix/bitmap.cunsigned i, j, end, sum = 0;
sum40fs/minix/bitmap.csum += nibblemap[tmp&0xf] + nibblemap[(tmp>>4)&0xf];
sum44fs/minix/bitmap.csum += nibblemap[bh->b_data[j] & 0xf] 
sum47fs/minix/bitmap.creturn(sum);
sum186fs/proc/array.cunsigned sum = 0;
sum189fs/proc/array.csum += kstat.interrupts[i];
sum208fs/proc/array.csum);
sum346fs/xiafs/bitmap.cu_long sum;
sum348fs/xiafs/bitmap.csum=0;
sum351fs/xiafs/bitmap.csum += nibblemap[tmp & 0xf] + nibblemap[(tmp & 0xff) >> 4];
sum353fs/xiafs/bitmap.creturn sum;
sum360fs/xiafs/bitmap.cu_long sum;
sum362fs/xiafs/bitmap.csum=0;
sum367fs/xiafs/bitmap.csum += count_zone(bh);
sum372fs/xiafs/bitmap.creturn i - sum;
sum379fs/xiafs/bitmap.cu_long sum;
sum381fs/xiafs/bitmap.csum=0;
sum386fs/xiafs/bitmap.csum += count_zone(bh);
sum391fs/xiafs/bitmap.creturn i - sum;
sum19include/asm-alpha/checksum.hunsigned int sum);
sum33include/asm-alpha/checksum.hextern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
sum42include/asm-alpha/checksum.hunsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
sum16include/asm-i386/checksum.hunsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
sum26include/asm-i386/checksum.hunsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
sum36include/asm-i386/checksum.hunsigned int csum_partial_copy_fromuser(const char *src, char *dst, int len, int sum);
sum47include/asm-i386/checksum.hunsigned int sum;
sum68include/asm-i386/checksum.h: "=&r" (sum), "=&r" (iph), "=&r" (ihl)
sum70include/asm-i386/checksum.hreturn(sum);
sum85include/asm-i386/checksum.hunsigned int sum) {
sum97include/asm-i386/checksum.h: "=&r" (sum), "=&r" (saddr)
sum98include/asm-i386/checksum.h: "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum));
sum99include/asm-i386/checksum.hreturn((unsigned short)sum);
sum106include/asm-i386/checksum.hstatic inline unsigned short int csum_fold(unsigned int sum)
sum115include/asm-i386/checksum.h: "=&r" (sum)
sum116include/asm-i386/checksum.h: "0" (sum)
sum118include/asm-i386/checksum.hreturn sum;
sum127include/asm-i386/checksum.hunsigned int sum;
sum137include/asm-i386/checksum.h: "=a"(sum), "=r" (scratch)
sum139include/asm-i386/checksum.hreturn(sum);
sum903net/appletalk/ddp.cunsigned long sum=0;  /* Assume unsigned long is >16 bits */
sum912net/appletalk/ddp.csum+=*data;
sum913net/appletalk/ddp.csum<<=1;
sum914net/appletalk/ddp.cif(sum&0x10000)
sum916net/appletalk/ddp.csum++;
sum917net/appletalk/ddp.csum&=0xFFFF;
sum921net/appletalk/ddp.cif(sum)
sum922net/appletalk/ddp.creturn htons((unsigned short)sum);
sum1100net/ipv4/tcp.cint sum;
sum1127net/ipv4/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
sum1129net/ipv4/tcp.csum++;
sum1130net/ipv4/tcp.cif (sum > 0) 
sum1132net/ipv4/tcp.camount += sum;
sum1135net/ipv4/tcp.ccounted += sum;