Home
last modified time | relevance | path

Searched refs:chksum (Results 1 – 25 of 28) sorted by relevance

12

/trueos/sys/fs/msdosfs/
HDmsdosfs_conv.c526 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 …]
HDmsdosfs_lookup.c141 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 …]
HDdirentry.h154 int chksum, struct msdosfsmount *pmp);
156 int chksum, struct msdosfsmount *pmp);
157 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
HDmsdosfs_vnops.c1585 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/
HDcvmip.h91 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/
HDis_tar.c103 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()
HDtar.h60 char chksum[8]; member
/trueos/contrib/binutils/bfd/
HDihex.c284 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/
HDadwlib.c272 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()
HDadvlib.c1432 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()
HDadvlib.h308 u_int16_t chksum; member
/trueos/contrib/ipfilter/ipsend/
HDip.c39 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));
HDipsend.h39 extern u_short chksum __P((u_short *, int));
HDresend.c127 ip->ip_sum = chksum((u_short *)ip,
HDiptests.c235 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);
HDipsend.c190 udp->uh_sum = chksum((u_short *)udp, len); in udpcksum()
/trueos/contrib/gcc/
HDcoverage.c430 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/
HDtar.h96 char chksum[CHK_LEN]; /* checksum */ member
135 char chksum[CHK_LEN]; /* checksum */ member
HDtar.c320 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/
HDif_plip.c693 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/
HDremote-mips.c121 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/
HDif_upgt.c457 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()
HDif_upgtvar.h164 uint32_t chksum; member
/trueos/contrib/ipfilter/iplang/
HDiplang_y.y1750 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/
HDdmu.c1479 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()

12