/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | biosdisk.h | 105 unsigned char checksum; /* offset 73 */ member in struct:int13_fn48_result
|
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 100 * Check the checksum. 102 if (checksum(label, CK_CHECKSUM) != 0) 108 * This routine checks or calculates the label checksum, depending on 112 checksum(label, mode) function 120 * If we are generating a checksum, don't include the checksum 133 * If we are checking the checksum, the total will be zero for 134 * a correct checksum, so we can just return the sum. 139 * If we are generating the checksum, fill it in. 370 * Generate the correct checksum [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_nvm.c | 601 * EEPROM will most likely contain an invalid checksum. 681 * EEPROM will most likely contain an invalid checksum. 1152 * e1000_validate_nvm_checksum_generic - Validate EEPROM checksum 1155 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM 1161 u16 checksum = 0; local 1172 checksum += nvm_data; 1175 if (checksum != (u16) NVM_SUM) { 1184 * e1000_update_nvm_checksum_generic - Update EEPROM checksum 1187 * Updates the EEPROM checksum by reading/adding each word of the EEPROM 1188 * up to the checksum 1194 u16 checksum = 0; local [all...] |
H A D | e1000_82575.c | 2573 * checksum 2575 * @offset: offset in words of the checksum protected region 2577 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM 2583 u16 checksum = 0; local 2594 checksum += nvm_data; 2597 if (checksum != (u16) NVM_SUM) { 2609 * checksum 2611 * @offset: offset in words of the checksum protected region 2613 * Updates the EEPROM checksum by reading/adding each word of the EEPROM 2614 * up to the checksum 2620 u16 checksum = 0; local [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x540.c | 474 * ixgbe_calc_eeprom_checksum_X540 - Calculates and returns the checksum 481 * Returns a negative error code on error, or the 16-bit checksum 486 u16 checksum = 0; local 500 /* Include 0x0-0x3F in the checksum */ 507 checksum += word; 542 checksum += word; 546 checksum = (u16)IXGBE_EEPROM_SUM - checksum; 548 return (s32)checksum; 552 * ixgbe_validate_eeprom_checksum_X540 - Validate EEPROM checksum 563 u16 checksum; local 625 u16 checksum; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | isapnp.h | 284 u_char checksum; member in struct:_pnp_id
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | pxe.c | 163 uint8_t checksum; local 183 * do byte checksum: 186 checksum = 0; 189 checksum += *checkptr++; 190 if (checksum != 0) { 191 printf("PXENV+ structure failed checksum, ignoring\n"); 199 * the checksum fails. 208 checksum = 0; 212 checksum += *checkptr++; 213 if (checksum ! [all...] |
H A D | multiboot.h | 110 multiboot_uint32_t checksum; member in struct:multiboot_header
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | api_public.h | 76 uint32_t checksum; /* checksum of this sig struct */ member in struct:api_signature
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pac.c | 678 /* Zero out the data portion of the checksum only */ 693 krb5_checksum checksum; local 707 checksum.checksum_type = load_32_le(p); 708 checksum.length = checksum_data.length - PAC_SIGNATURE_DATA_LENGTH; 709 checksum.contents = p + PAC_SIGNATURE_DATA_LENGTH; 718 /* Zero out both checksum buffers */ 732 &pac_data, &checksum, &valid); 756 krb5_checksum checksum; local 777 checksum.checksum_type = load_32_le(p); 778 checksum [all...] |
/illumos-gate/usr/src/lib/libpcp/common/ |
H A D | libpcp.c | 84 static uint16_t checksum(uint16_t *addr, int32_t count); 347 * PCPL_CKSUM_ERROR - checksum error. 391 cksum = checksum((uint16_t *)datap, req_msg->msg_len); 408 /* fill request header checksum */ 409 req_msg_hdr->hdr_cksum = checksum((uint16_t *)req_msg_hdr, 461 * Check header checksum if it matches with the received hdr 462 * checksum. 467 cksum = checksum((uint16_t *)resp_msg_hdr, resp_msg_hdr_sz); 510 /* verify response message data checksum */ 511 cksum = checksum((uint16_ 1279 checksum(uint16_t *addr, int32_t count) function [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | undi.c | 59 uint8_t checksum ( void *block, size_t size ) { function 212 if ( checksum(undi.pnp_bios,sizeof(pnp_bios_t)) !=0) { 213 DBG ( "invalid checksum\n..." ); 239 if ( checksum ( pxe, sizeof(pxe_t) ) != 0 ) { 240 DBG ( "invalid checksum\n..." ); 315 if ( checksum(pnp_header,sizeof(pnp_header_t)) != 0 ) { 316 DBG ( "invalid PnP checksum\n..." ); 495 if ( checksum ( pxe, sizeof(pxe_t) ) != 0 ) { 496 DBG ( "invalid checksum\n" ); 1218 if (checksum(px [all...] |
H A D | nic.c | 222 * compute an ip style checksum. 244 unsigned long checksum; local 254 checksum = sum + new; 255 if (checksum > 0xFFFF) { 256 checksum -= 0xFFFF; 258 return (~checksum) & 0xFFFF; 383 uint16_t checksum; local 393 checksum = ipchksum(&pseudo, 12); 396 checksum = add_ipchksums(12, checksum, ipchksu [all...] |
H A D | undi.h | 111 uint8_t checksum; member in struct:pnp_bios 141 uint8_t checksum; member in struct:pnp_header
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | hermon.c | 1558 uint8_t checksum; local 1564 checksum = 1570 if (checksum != 0) { 1571 logmsg(MSG_INFO, "Corrupted chunk size checksum\n");
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hpet_acpi.c | 378 cmn_err(CE_WARN, "!hpet_validate_table: Invalid HPET checksum"); 397 unsigned char checksum = 0; local 401 checksum += *table; 403 return (checksum == 0);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | multiboot.h | 63 uint32_t checksum; member in struct:multiboot_header
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_db.c | 492 int checksum = 42; local 503 /* compute checksum */ 506 checksum -= r->r_driver_name[i]; 509 checksum -= min; 510 checksum -= r->r_blkno; 513 checksum -= devidp[i]; 517 r->r_driver_name, min, r->r_blkno, devidp, checksum) < 0) { 2448 int checksum; local 2527 checksum = strtol(buff, &buff, 10); 2529 checksum [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs.c | 197 checksum(int32_t *sp, int32_t *lp, int nb) function 294 if (!checksum(&ebp->chksum, (int32_t *)bp->b_un.b_addr,
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_scsi.h | 164 uint8_t checksum; member in struct:Identify_Logical_Drive
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | mboxsc.c | 183 * checksum calculation, the seed should be 0. 494 mboxsc_chksum_t checksum; local 635 * Calculate the message checksum using the header and the data. 637 checksum = mboxsc_checksum(CHKSUM_INIT, (uint8_t *)&header, 639 checksum = mboxsc_checksum(checksum, (uint8_t *)datap, length); 642 * Attempt to write the message and checksum to IOSRAM until successful, 657 MBOXSC_CHKSUM_SIZE, (caddr_t)&checksum); 882 * message (e.g. checksum error, cancellation by the sender) are 988 * and checksum [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | ddt.c | 256 ddt_bp_create(enum zio_checksum checksum, argument 270 BP_SET_CHECKSUM(bp, checksum);
|
H A D | dsl_scan.c | 1281 dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum, argument 1296 ddt_bp_create(checksum, ddk, ddp, &bp);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ibft.c | 181 /* Bad checksum */ 218 uchar_t checksum = 0; local 231 checksum = checksum + start[i]; 234 if (!checksum)
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_flash.h | 72 efx_dword_t checksum; member in struct:blob_hdr_s 113 efx_word_t checksum; /* of whole header area + firmware image */ member in struct:siena_mc_boot_hdr_s
|