Searched refs:checksum (Results 1 - 7 of 7) sorted by relevance
/xnu-2422.115.4/osfmk/i386/ |
H A D | ucode.h | 14 uint32_t checksum; member in struct:intel_ucupdate
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_journal.h | 68 uint32_t checksum; // on-disk: checksum of this header and binfo[0] member in struct:block_list_header 117 uint32_t checksum; member in struct:journal_header 126 // we only checksum the original size of the journal_header to remain
|
H A D | vfs_journal.c | 150 // number of bytes to checksum in a block_list_header 247 // this isn't a great checksum routine but it will do for now. 248 // we use it to checksum the journal header and the block list 257 // this is a lame checksum but for now it'll do 480 jnl->jhdr->checksum = 0; 481 jnl->jhdr->checksum = calc_checksum((char *)jnl->jhdr, JOURNAL_HEADER_CKSUM_SIZE); 735 jnl->jhdr->checksum = SWAP32(jnl->jhdr->checksum); 748 blhdr->checksum = SWAP32(blhdr->checksum); 1096 unsigned int orig_checksum, checksum, check_block_checksums = 0; local 1822 int orig_checksum, checksum; local 2079 int orig_checksum, checksum; local [all...] |
/xnu-2422.115.4/libsa/ |
H A D | bootstrap.cpp | 627 uint32_t checksum; local 638 * then save the mkext's checksum in the IORegistry. 641 result = OSKext::readMkextArchive(booterData, &checksum); 647 "Startup mkext archive has checksum 0x%x.", (int)checksum); 651 checksumObj = OSData::withBytes((void *)&checksum, sizeof(checksum));
|
/xnu-2422.115.4/iokit/Kernel/ |
H A D | IONVRAM.cpp | 197 // Set the checksum to 0. 218 // Set the partition checksum. 228 // Set the checksum to 0. 236 // Set the partition checksum. 1206 UInt32 cnt, checksum = 0; 1210 checksum += tmpBuffer[cnt]; 1212 return checksum % 0x0000FFFF; 1217 UInt32 cnt, checksum, sum = 0; 1223 checksum = (sum >> 16) + (sum & 0x0000FFFF); 1224 if (checksum [all...] |
/xnu-2422.115.4/libkern/c++/ |
H A D | OSKext.cpp | 2349 uint32_t checksum; local 2365 checksum = mkext_adler32(crc_address, 2369 if (OSSwapBigToHostInt32(mkextHeader->adler32) != checksum) { 2372 "Kext archive has a bad checksum."); 2378 *checksumPtr = checksum; 2674 uint32_t checksum; local 2693 checksum = mkext_adler32(crc_address, 2697 if (MKEXT_GET_CHECKSUM(mkextHeader) != checksum) { 2701 "Mkext archive has bad checksum."); 2707 *checksumPtr = checksum; [all...] |
/xnu-2422.115.4/bsd/netinet/ |
H A D | udp_usrreq.c | 129 SYSCTL_INT(_net_inet_udp, UDPCTL_CHECKSUM, checksum, 319 * but we don't yet have a way to check the checksum 1539 * Set up checksum and output datagram. 2160 * calculated checksum value. Ignore cases
|
Completed in 105 milliseconds