taglinefilesource code
sum101arch/alpha/boot/main.cunsigned long i, rev, sum;
sum143arch/alpha/boot/main.csum = 0;
sum145arch/alpha/boot/main.csum += *l;
sum146arch/alpha/boot/main.chwrpb.chksum = sum;
sum421arch/alpha/kernel/apecs.cunsigned long *l, sum;
sum423arch/alpha/kernel/apecs.csum = 0;
sum425arch/alpha/kernel/apecs.csum += *l;
sum426arch/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;
sum410arch/i386/kernel/bios32.cunsigned char sum;
sum426arch/i386/kernel/bios32.csum = 0;
sum428arch/i386/kernel/bios32.csum += check->chars[i];
sum429arch/i386/kernel/bios32.cif (sum != 0)
sum73arch/i386/kernel/smp.cint sum=0;
sum75arch/i386/kernel/smp.csum+=*mp++;
sum76arch/i386/kernel/smp.creturn sum&0xFF;
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);
sum24arch/mips/lib/checksum.cunsigned int csum_partial(const unsigned char *buff, int len, unsigned int sum)
sum127arch/mips/lib/checksum.c: "=r"(sum), "=r" (scratch1), "=r" (scratch2)
sum128arch/mips/lib/checksum.c: "0"(sum), "r"(len), "r"(buff)
sum131arch/mips/lib/checksum.creturn sum;
sum138arch/mips/lib/checksum.cint len, int sum)
sum144arch/mips/lib/checksum.csum = csum_partial(src, len, sum);
sum147arch/mips/lib/checksum.creturn sum;
sum101arch/ppc/kernel/stubs.cunsigned int csum_partial(unsigned char * buff, int len, unsigned int sum)
sum107arch/ppc/kernel/stubs.cunsigned int csum_partial_copy(char *src, char *dst, int len, int sum)
sum321drivers/net/eexpress.cunsigned short sum = 0;
sum325drivers/net/eexpress.csum += inb(id_addr);
sum326drivers/net/eexpress.cprintk("EtherExpress ID checksum is %04x.\n", sum);
sum330drivers/net/eexpress.csum |= (id_val >> 4) << ((id_val & 3) << 2);
sum333drivers/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);
sum22fs/minix/bitmap.cunsigned i, j, end, sum = 0;
sum36fs/minix/bitmap.csum += nibblemap[tmp&0xf] + nibblemap[(tmp>>4)&0xf];
sum40fs/minix/bitmap.csum += nibblemap[bh->b_data[j] & 0xf] 
sum43fs/minix/bitmap.creturn(sum);
sum197fs/proc/array.cunsigned sum = 0;
sum200fs/proc/array.csum += kstat.interrupts[i];
sum229fs/proc/array.csum);
sum343fs/xiafs/bitmap.cu_long sum;
sum345fs/xiafs/bitmap.csum=0;
sum348fs/xiafs/bitmap.csum += nibblemap[tmp & 0xf] + nibblemap[(tmp & 0xff) >> 4];
sum350fs/xiafs/bitmap.creturn sum;
sum357fs/xiafs/bitmap.cu_long sum;
sum359fs/xiafs/bitmap.csum=0;
sum364fs/xiafs/bitmap.csum += count_zone(bh);
sum369fs/xiafs/bitmap.creturn i - sum;
sum376fs/xiafs/bitmap.cu_long sum;
sum378fs/xiafs/bitmap.csum=0;
sum383fs/xiafs/bitmap.csum += count_zone(bh);
sum388fs/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);
sum62include/asm-alpha/checksum.hstatic inline unsigned short csum_fold(unsigned int sum)
sum64include/asm-alpha/checksum.hsum = (sum & 0xffff) + (sum >> 16);
sum65include/asm-alpha/checksum.hsum = (sum & 0xffff) + (sum >> 16);
sum66include/asm-alpha/checksum.hreturn ~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 int csum_fold(unsigned int sum)
sum112include/asm-i386/checksum.h: "=r" (sum)
sum113include/asm-i386/checksum.h: "r" (sum << 16), "0" (sum & 0xffff0000)
sum115include/asm-i386/checksum.hreturn (~sum) >> 16;
sum124include/asm-i386/checksum.hunsigned int sum;
sum134include/asm-i386/checksum.h: "=a"(sum), "=r" (scratch)
sum136include/asm-i386/checksum.hreturn(sum);
sum25include/asm-mips/checksum.hunsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
sum34include/asm-mips/checksum.hunsigned int csum_partial_copy(const char *src, char *dst, int len, int sum);
sum52include/asm-mips/checksum.hunsigned short int sum;
sum95include/asm-mips/checksum.h: "=r" (sum), "=r" (dummy1), "=r" (dummy2)
sum99include/asm-mips/checksum.hreturn sum;
sum110include/asm-mips/checksum.hunsigned int sum)
sum130include/asm-mips/checksum.h: "=r" (sum)
sum131include/asm-mips/checksum.h: "0" (daddr), "r"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum)
sum134include/asm-mips/checksum.hreturn (unsigned short)sum;
sum140include/asm-mips/checksum.hstatic inline unsigned short int csum_fold(unsigned int sum)
sum150include/asm-mips/checksum.h: "=r"(sum)
sum151include/asm-mips/checksum.h: "0" (sum)
sum154include/asm-mips/checksum.hreturn sum;
sum162include/asm-mips/checksum.hunsigned short int sum;
sum172include/asm-mips/checksum.h: "=r"(sum)
sum176include/asm-mips/checksum.hreturn sum;
sum19include/asm-ppc/checksum.hunsigned int sum);
sum33include/asm-ppc/checksum.hextern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
sum42include/asm-ppc/checksum.hunsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
sum92include/asm-sparc/checksum.hextern inline unsigned int csum_partial(unsigned char * buff, int len, unsigned int sum)
sum97include/asm-sparc/checksum.hresult += sum;
sum110include/asm-sparc/checksum.hextern inline unsigned int csum_partial_copy(char *src, char *dst, int len, int sum)
sum119include/asm-sparc/checksum.hsum = csum_partial(src, len, sum);
sum121include/asm-sparc/checksum.hreturn sum;
sum140include/asm-sparc/checksum.hstatic inline unsigned short csum_fold(unsigned int sum)
sum142include/asm-sparc/checksum.hsum = (sum & 0xffff) + (sum >> 16);
sum143include/asm-sparc/checksum.hsum = (sum & 0xffff) + (sum >> 16);
sum144include/asm-sparc/checksum.hreturn ~sum;
sum155include/asm-sparc/checksum.hunsigned int sum)
sum158include/asm-sparc/checksum.h+ (daddr & 0xffff) + (sum >> 16) +
sum159include/asm-sparc/checksum.h(sum & 0xffff) + proto + len));
sum923net/appletalk/ddp.cunsigned long sum=0;  /* Assume unsigned long is >16 bits */
sum932net/appletalk/ddp.csum+=*data;
sum933net/appletalk/ddp.csum<<=1;
sum934net/appletalk/ddp.cif(sum&0x10000)
sum936net/appletalk/ddp.csum++;
sum937net/appletalk/ddp.csum&=0xFFFF;
sum941net/appletalk/ddp.cif(sum)
sum942net/appletalk/ddp.creturn htons((unsigned short)sum);
sum1141net/ipv4/tcp.cint sum;
sum1168net/ipv4/tcp.csum = skb->len - (counted - skb->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
sum1170net/ipv4/tcp.csum++;
sum1171net/ipv4/tcp.cif (sum > 0) 
sum1173net/ipv4/tcp.camount += sum;
sum1176net/ipv4/tcp.ccounted += sum;