| /trueos/sys/fs/msdosfs/ |
| HD | msdosfs_conv.c | 526 unix2winfn(un, unlen, wep, cnt, chksum, pmp) in unix2winfn() argument 531 int chksum; 556 wep->weChksum = chksum; 595 winChkName(nbp, un, unlen, chksum, pmp) in winChkName() argument 599 int chksum; 638 return chksum; 646 win2unixfn(nbp, wep, chksum, pmp) in win2unixfn() argument 649 int chksum; 666 chksum = wep->weChksum; 667 } else if (chksum != wep->weChksum) [all …]
|
| HD | msdosfs_lookup.c | 141 int chksum = -1, chksum_ok; in msdosfs_lookup_() local 256 chksum = -1; in msdosfs_lookup_() 282 chksum = win2unixfn(&nb, in msdosfs_lookup_() 283 (struct winentry *)dep, chksum, in msdosfs_lookup_() 288 chksum = winChkName(&nb, in msdosfs_lookup_() 290 chksum, pmp); in msdosfs_lookup_() 291 if (chksum == -2) { in msdosfs_lookup_() 292 chksum = -1; in msdosfs_lookup_() 301 chksum = -1; in msdosfs_lookup_() 308 chksum_ok = (chksum == winChksum(dep->deName)); in msdosfs_lookup_() [all …]
|
| HD | 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,
|
| HD | 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;
|
| /trueos/sys/contrib/octeon-sdk/ |
| HD | cvmip.h | 91 uint16_t chksum ; member 111 uint16_t chksum ; member 132 uint16_t chksum ; member 149 uint16_t chksum ; member 174 uint16_t chksum ; member
|
| /trueos/contrib/file/src/ |
| HD | is_tar.c | 103 recsum = from_oct(8, header->header.chksum); in is_tar() 111 for (i = sizeof(header->header.chksum); --i >= 0;) in is_tar() 112 sum -= header->header.chksum[i]; in is_tar() 113 sum += ' ' * sizeof header->header.chksum; in is_tar()
|
| HD | tar.h | 60 char chksum[8]; member
|
| /trueos/contrib/binutils/bfd/ |
| HD | ihex.c | 284 unsigned int chksum; in ihex_scan() local 329 chksum = len + addr + (addr >> 8) + type; in ihex_scan() 331 chksum += HEX2 (buf + 2 * i); in ihex_scan() 332 if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i)) in ihex_scan() 337 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); in ihex_scan() 721 unsigned int chksum; in ihex_write_record() local 734 chksum = count + addr + (addr >> 8) + type; in ihex_write_record() 739 chksum += *data; in ihex_write_record() 742 TOHEX (p, (- chksum) & 0xff); in ihex_write_record()
|
| /trueos/sys/dev/advansys/ |
| HD | adwlib.c | 272 u_int16_t chksum; in adw_eeprom_read() local 276 chksum = 0; in adw_eeprom_read() 282 chksum += wval; in adw_eeprom_read() 296 return (chksum); in adw_eeprom_read() 304 u_int16_t chksum; in adw_eeprom_write() local 307 chksum = 0; in adw_eeprom_write() 317 chksum += *wbuf; in adw_eeprom_write() 324 adw_eeprom_write_16(adw, addr, chksum); in adw_eeprom_write()
|
| HD | advlib.c | 1432 u_int32_t chksum; in adv_load_microcode() local 1441 chksum = adv_msum_lram_16(adv, s_addr, mcode_lram_size); in adv_load_microcode() 1447 return (chksum); in adv_load_microcode()
|
| HD | advlib.h | 308 u_int16_t chksum; member
|
| /trueos/contrib/ipfilter/ipsend/ |
| HD | ip.c | 39 u_short chksum(buf,len) in chksum() 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));
|
| HD | ipsend.h | 39 extern u_short chksum __P((u_short *, int));
|
| HD | resend.c | 127 ip->ip_sum = chksum((u_short *)ip,
|
| HD | 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);
|
| HD | ipsend.c | 190 udp->uh_sum = chksum((u_short *)udp, len); in udpcksum()
|
| /trueos/contrib/gcc/ |
| HD | coverage.c | 430 coverage_checksum_string (unsigned chksum, const char *string) in coverage_checksum_string() argument 497 chksum = crc32_string (chksum, (ptr) ? ptr : string); in coverage_checksum_string() 502 return chksum; in coverage_checksum_string() 512 unsigned chksum = xloc.line; in compute_checksum() local 514 chksum = coverage_checksum_string (chksum, xloc.file); in compute_checksum() 515 chksum = coverage_checksum_string in compute_checksum() 516 (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); in compute_checksum() 518 return chksum; in compute_checksum()
|
| /trueos/bin/pax/ |
| HD | tar.h | 96 char chksum[CHK_LEN]; /* checksum */ member 135 char chksum[CHK_LEN]; /* checksum */ member
|
| HD | tar.c | 320 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) in tar_id() 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))
|
| /trueos/sys/dev/ppbus/ |
| HD | if_plip.c | 693 u_char chksum = 0; in lpoutput() local 738 chksum += i; in lpoutput() 745 chksum += 0x08 + 0x00; /* Add into checksum */ in lpoutput() 752 chksum += *cp; in lpoutput() 759 if (clpoutbyte(chksum, LPMAXSPIN2, ppbus)) in lpoutput()
|
| /trueos/contrib/gdb/gdb/ |
| HD | remote-mips.c | 121 static int pmon_makeb64 (unsigned long v, char *p, int n, int *chksum); 124 unsigned int *chksum); 2805 pmon_makeb64 (unsigned long v, char *p, int n, int *chksum) in pmon_makeb64() argument 2823 if (chksum != NULL) in pmon_makeb64() 2828 *chksum += ((v >> 24) & 0xFFF); in pmon_makeb64() 2830 *chksum += ((v >> 12) & 0xFFF); in pmon_makeb64() 2832 *chksum += ((v >> 0) & 0xFFF); in pmon_makeb64() 2849 pmon_zeroset (int recsize, char **buff, int *amount, unsigned int *chksum) in pmon_zeroset() argument 2854 count = pmon_makeb64 (*amount, (*buff + 2), 12, chksum); in pmon_zeroset()
|
| /trueos/sys/dev/usb/wlan/ |
| HD | if_upgt.c | 457 mem->chksum = upgt_chksum_le((uint32_t *)stats, in upgt_get_stats() 609 mem->chksum = upgt_chksum_le((uint32_t *)led, in upgt_set_led() 755 mem->chksum = upgt_chksum_le((uint32_t *)filter, in upgt_set_macfilter() 1020 mem->chksum = upgt_chksum_le((uint32_t *)chan, in upgt_set_chan() 1397 mem->chksum = upgt_chksum_le((uint32_t *)eeprom, in upgt_eeprom_read() 2280 mem->chksum = upgt_chksum_le((uint32_t *)txdesc, len - sizeof(*mem)); in upgt_tx_start()
|
| HD | if_upgtvar.h | 164 uint32_t chksum; member
|
| /trueos/contrib/ipfilter/iplang/ |
| HD | iplang_y.y | 1750 ip->ip_sum = chksum((u_short *)ip, ip->ip_hl << 2); in end_ipv4() 1764 icmp->icmp_cksum = chksum((u_short *)icmp, canip->ah_len); in end_icmp()
|
| /trueos/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | dmu.c | 1479 uint8_t chksum = BP_GET_CHECKSUM(bp_orig); in dmu_sync_done() local 1483 ASSERT(zio_checksum_table[chksum].ci_dedup); in dmu_sync_done()
|