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;
sum423arch/alpha/kernel/apecs.cunsigned long *l, sum;
sum425arch/alpha/kernel/apecs.csum = 0;
sum427arch/alpha/kernel/apecs.csum += *l;
sum428arch/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)
sum99arch/i386/kernel/smp.cint sum=0;
sum101arch/i386/kernel/smp.csum+=*mp++;
sum102arch/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;
sum107arch/ppc/kernel/stubs.cunsigned int csum_partial(unsigned char * buff, int len, unsigned int sum)
sum113arch/ppc/kernel/stubs.cunsigned int csum_partial_copy(char *src, char *dst, int len, int sum)
sum264drivers/net/eexpress.cunsigned short sum = 0;
sum270drivers/net/eexpress.csum |= (t>>4) << ((t & 0x03)<<2);
sum272drivers/net/eexpress.cif (sum==0xbaba && !eexp_hw_probe(dev,*port)) 
sum8248drivers/scsi/advansys.cushort              sum;
sum8256drivers/scsi/advansys.csum = 0;
sum8261drivers/scsi/advansys.csum += wval;
sum8276drivers/scsi/advansys.csum += wval;
sum8280drivers/scsi/advansys.creturn (sum);
sum8291drivers/scsi/advansys.cushort              sum;
sum8298drivers/scsi/advansys.csum = 0;
sum8300drivers/scsi/advansys.csum += *wbuf;
sum8314drivers/scsi/advansys.csum += *wbuf;
sum8319drivers/scsi/advansys.c*wbuf = sum;
sum8320drivers/scsi/advansys.cif (sum != AscWriteEEPWord(iop_base, (uchar) s_addr, sum)) {
sum8997drivers/scsi/advansys.culong               sum;
sum9000drivers/scsi/advansys.csum = 0L;
sum9002drivers/scsi/advansys.csum += AscReadLramWord(iop_base, s_addr);
sum9004drivers/scsi/advansys.creturn (sum);
sum24drivers/sound/hex2hex.hunsigned char sum;
sum30drivers/sound/hex2hex.hsum = n;
sum34drivers/sound/hex2hex.hsum += addr/256;
sum35drivers/sound/hex2hex.hsum += addr%256;
sum39drivers/sound/hex2hex.hsum += linetype;
sum53drivers/sound/hex2hex.hsum += c;
sum59drivers/sound/hex2hex.hsum = ~sum + 1;
sum60drivers/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);
sum218fs/fat/dir.cunsigned char sum;
sum220fs/fat/dir.cfor (sum = 0, i = 0; i < 11; i++) {
sum221fs/fat/dir.csum = (((sum&1)<<7)|((sum&0xfe)>>1)) + de->name[i];
sum224fs/fat/dir.cif (sum != alias_checksum) {
sum225fs/fat/dir.cPRINTK(("Checksums don't match %d != %d\n", sum, alias_checksum));
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);
sum196fs/proc/array.cunsigned sum = 0;
sum199fs/proc/array.csum += kstat.interrupts[i];
sum228fs/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));
sum935net/appletalk/ddp.cunsigned long sum=0;  /* Assume unsigned long is >16 bits */
sum944net/appletalk/ddp.csum+=*data;
sum945net/appletalk/ddp.csum<<=1;
sum946net/appletalk/ddp.cif(sum&0x10000)
sum948net/appletalk/ddp.csum++;
sum949net/appletalk/ddp.csum&=0xFFFF;
sum953net/appletalk/ddp.cif(sum)
sum954net/appletalk/ddp.creturn htons((unsigned short)sum);
sum604net/ipv4/tcp.cint sum;
sum631net/ipv4/tcp.csum = skb->len - (counted - skb->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
sum633net/ipv4/tcp.csum++;
sum634net/ipv4/tcp.cif (sum > 0) 
sum636net/ipv4/tcp.camount += sum;
sum639net/ipv4/tcp.ccounted += sum;