/freebsd-10.3-release/contrib/file/src/ |
H A D | tar.h | 60 char chksum[8]; member in struct:record::header
|
H A D | is_tar.c | 103 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); 111 /* Adjust checksum to count the "chksum" field as blanks. */ 112 for (i = 0; i < sizeof(header->header.chksum); i++) 113 sum -= header->header.chksum[i]; 114 sum += ' ' * sizeof(header->header.chksum);
|
/freebsd-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmip.h | 91 uint16_t chksum ; member in struct:__anon7247 111 uint16_t chksum ; member in struct:__anon7250 132 uint16_t chksum ; member in struct:__anon7251::__anon7252 149 uint16_t chksum ; member in struct:__anon7251::__anon7255 174 uint16_t chksum ; member in struct:__anon7256
|
/freebsd-10.3-release/bin/pax/ |
H A D | tar.h | 96 char chksum[CHK_LEN]; /* checksum */ member in struct:__anon10 135 char chksum[CHK_LEN]; /* checksum */ member in struct:__anon11
|
H A D | tar.c | 320 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) 637 if (ul_oct(tar_chksm((char *)&hdblk, sizeof(HD_TAR)), hd->chksum, 638 sizeof(hd->chksum), 3)) 717 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) 1045 if (ul_oct(tar_chksm((char *)&hdblk, sizeof(HD_USTAR)), hd->chksum, 1046 sizeof(hd->chksum), 3))
|
/freebsd-10.3-release/sys/fs/msdosfs/ |
H A D | direntry.h | 154 int chksum, struct msdosfsmount *pmp); 156 int chksum, struct msdosfsmount *pmp); 157 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
|
H A D | msdosfs_lookup.c | 141 int chksum = -1, chksum_ok; local 256 chksum = -1; 282 chksum = win2unixfn(&nb, 283 (struct winentry *)dep, chksum, 288 chksum = winChkName(&nb, 290 chksum, pmp); 291 if (chksum == -2) { 292 chksum = -1; 301 chksum = -1; 308 chksum_ok = (chksum 662 u_int8_t chksum = winChksum(ndep->deName); local [all...] |
H A D | msdosfs_conv.c | 526 unix2winfn(un, unlen, wep, cnt, chksum, pmp) 531 int chksum; 556 wep->weChksum = chksum; 595 winChkName(nbp, un, unlen, chksum, pmp) 599 int chksum; 638 return chksum; 646 win2unixfn(nbp, wep, chksum, pmp) 649 int chksum; 666 chksum = wep->weChksum; 667 } else if (chksum ! [all...] |
H A D | msdosfs_vnops.c | 1585 int chksum = -1; local 1731 chksum = -1; 1742 chksum = win2unixfn(&nb, 1743 (struct winentry *)dentp, chksum, pmp); 1751 chksum = -1; 1787 if (chksum != winChksum(dentp->deName)) { 1797 chksum = -1;
|
/freebsd-10.3-release/contrib/ipfilter/ipsend/ |
H A D | ipsend.h | 39 extern u_short chksum __P((u_short *, int));
|
H A D | ip.c | 39 u_short chksum(buf,len) function 151 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 224 ip->ip_sum = chksum((u_short *)ip, hlen); 293 t2->th_sum = chksum((u_short *)ip2, thlen + sizeof(ip_t)); 324 ti->ti_sum = chksum((u_short *)ti, thlen + sizeof(ip_t)); 345 ic->icmp_cksum = chksum((u_short *)ic, sizeof(struct icmp));
|
H A D | resend.c | 127 ip->ip_sum = chksum((u_short *)ip,
|
H A D | ipsend.c | 190 udp->uh_sum = chksum((u_short *)udp, len);
|
H A D | iptests.c | 235 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 247 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 266 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); 278 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2);
|
/freebsd-10.3-release/contrib/binutils/bfd/ |
H A D | ihex.c | 284 unsigned int chksum; local 329 chksum = len + addr + (addr >> 8) + type; 331 chksum += HEX2 (buf + 2 * i); 332 if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i)) 337 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); 721 unsigned int chksum; local 734 chksum = count + addr + (addr >> 8) + type; 739 chksum += *data; 742 TOHEX (p, (- chksum) & 0xff);
|
/freebsd-10.3-release/sys/dev/advansys/ |
H A D | adwlib.c | 272 u_int16_t chksum; local 276 chksum = 0; 282 chksum += wval; 296 return (chksum); 304 u_int16_t chksum; local 307 chksum = 0; 317 chksum += *wbuf; 324 adw_eeprom_write_16(adw, addr, chksum);
|
H A D | advlib.c | 1432 u_int32_t chksum; local 1441 chksum = adv_msum_lram_16(adv, s_addr, mcode_lram_size); 1447 return (chksum);
|
H A D | advlib.h | 308 u_int16_t chksum; member in struct:adv_eeprom_config
|
/freebsd-10.3-release/contrib/gcc/ |
H A D | coverage.c | 433 coverage_checksum_string (unsigned chksum, const char *string) 500 chksum = crc32_string (chksum, (ptr) ? ptr : string); 505 return chksum; 515 unsigned chksum = xloc.line; 517 chksum = coverage_checksum_string (chksum, xloc.file); 518 chksum = coverage_checksum_string 519 (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); 521 return chksum; 430 coverage_checksum_string(unsigned chksum, const char *string) argument 512 unsigned chksum = xloc.line; local [all...] |
/freebsd-10.3-release/sys/dev/ppbus/ |
H A D | if_plip.c | 693 u_char chksum = 0; local 738 chksum += i; 745 chksum += 0x08 + 0x00; /* Add into checksum */ 752 chksum += *cp; 759 if (clpoutbyte(chksum, LPMAXSPIN2, ppbus))
|
/freebsd-10.3-release/contrib/gdb/gdb/ |
H A D | remote-mips.c | 122 static int pmon_makeb64 (unsigned long v, char *p, int n, int *chksum); 125 unsigned int *chksum); 2810 pmon_makeb64 (unsigned long v, char *p, int n, int *chksum) 2828 if (chksum != NULL) 2833 *chksum += ((v >> 24) & 0xFFF); 2835 *chksum += ((v >> 12) & 0xFFF); 2837 *chksum += ((v >> 0) & 0xFFF); 2854 pmon_zeroset (int recsize, char **buff, int *amount, unsigned int *chksum) 2859 count = pmon_makeb64 (*amount, (*buff + 2), 12, chksum); 2805 pmon_makeb64(unsigned long v, char *p, int n, int *chksum) argument 2849 pmon_zeroset(int recsize, char **buff, int *amount, unsigned int *chksum) argument
|
/freebsd-10.3-release/sys/dev/usb/wlan/ |
H A D | if_upgtvar.h | 164 uint32_t chksum; member in struct:upgt_lmac_mem
|
H A D | if_upgt.c | 457 mem->chksum = upgt_chksum_le((uint32_t *)stats, 609 mem->chksum = upgt_chksum_le((uint32_t *)led, 755 mem->chksum = upgt_chksum_le((uint32_t *)filter, 1020 mem->chksum = upgt_chksum_le((uint32_t *)chan, 1397 mem->chksum = upgt_chksum_le((uint32_t *)eeprom, 2280 mem->chksum = upgt_chksum_le((uint32_t *)txdesc, len - sizeof(*mem));
|
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu.c | 1493 uint8_t chksum = BP_GET_CHECKSUM(bp_orig); local 1497 ASSERT(zio_checksum_table[chksum].ci_flags &
|
/freebsd-10.3-release/contrib/ipfilter/iplang/ |
H A D | iplang_y.y | 1750 ip->ip_sum = chksum((u_short *)ip, ip->ip_hl << 2); 1764 icmp->icmp_cksum = chksum((u_short *)icmp, canip->ah_len);
|