/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | token.c | 365 * checksum adr_u_short 375 unsigned short id, offset, checksum; local 386 adrm_u_short(adr, &checksum, 1);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | e1000.c | 602 * Verifies that the EEPROM has a valid checksum 607 * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is 613 uint16_t checksum = 0; local 623 checksum += eeprom_data; 626 if(checksum == (uint16_t) EEPROM_SUM)
|
H A D | pci.h | 258 unsigned char checksum; /* All bytes must add up to zero */ member in struct:bios32::__anon2097
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 1785 int checksum; local 1828 checksum = sec_hash->u.sec_obj->checksum_method; 1830 if (checksum == CRC32_SECTION) { /* read-only section */ 2382 /* calculate new checksum */ 2616 /* calculate checksum */ 2628 /* write the checksum value */
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | piclenvd.c | 1413 uint8_t checksum; local 1429 * verify the checksum of the data. A 2's compliment 1431 * last byte. The sum of all the checksum should be 1432 * 0. If the checksum is bad, return an error for 1437 for (i = checksum = 0; i < 512; i++) 1438 checksum += index[i]; 1440 if ((checksum != 0) && env_debug) { 1442 "SMART checksum error! 0x%x\n", checksum); 1478 * If the checksum i [all...] |
H A D | envd.h | 535 uint8_t checksum; /* page checksum */ member in struct:smart_struct
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | dyn.c | 61 DYN_CMD_T_CHECKSUM = 10, /* dyn:checksum */ 1513 long checksum = elf_checksum(obj_state->os_elf); local 1516 if (dyn[ndx].d_un.d_val == checksum) { 1519 dyn_name, EC_WORD(ndx), EC_XWORD(checksum)); 1525 EC_XWORD(checksum)); 1527 dyn[ndx].d_un.d_val = checksum; 2054 /* dyn:checksum */ 2152 /* dyn:checksum */
|
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_regs.h | 421 uint8_t checksum[4]; member in struct:qlt_nvram 636 uint8_t checksum[4]; member in struct:qlt_nvram_81xx
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_init.h | 237 uint8_t checksum; member in struct:nvram 706 uint8_t checksum[4]; member in struct:nvram_24xx
|
H A D | ql_xioctl.h | 314 uint8_t checksum[2]; member in struct:ql_flash_layout_pointer 320 uint8_t checksum[2]; member in struct:ql_flash_layout_header 337 uint8_t checksum[2]; member in struct:ql_fp_cfg_hdr
|
/illumos-gate/usr/src/uts/common/io/myri10ge/firmware/ |
H A D | myri10ge_mcp.h | 55 uint16_t checksum; member in struct:mcp_slot 67 uint16_t checksum; member in struct:mcp_slot_8
|
/illumos-gate/usr/src/uts/sun4v/ontario/io/ |
H A D | tsalarm.c | 142 uint16_t msg_cksum; /* 16-bit checksum of req msg data */ 143 uint16_t hdr_cksum; /* 16-bit checksum of req hdr */ 160 uint16_t msg_cksum; /* 16-bit checksum of resp msg data */ 161 uint16_t hdr_cksum; /* 16-bit checksum of resp hdr */ 234 static uint16_t checksum(uint16_t *addr, int32_t count); 925 cksum = checksum((uint16_t *)datap, req_msg->msg_len); 942 /* fill request header checksum */ 943 req_msg_hdr->hdr_cksum = checksum((uint16_t *)req_msg_hdr, 984 * Check header checksum if it matches with the received hdr 985 * checksum 1628 checksum(uint16_t *addr, int32_t count) function [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 129 uintptr_t rm_reports; /* # of referencing checksum reports */ 131 uint8_t rm_ecksuminjected; /* checksum error was injected */ 1534 * performance and simplicity. The dump device uses the checksum setting 1809 * Report a checksum error for a child of a RAID-Z device. 1853 * data we read. If it doesn't, we fire off a checksum error. Return the 1864 enum zio_checksum checksum = (bp == NULL ? zio->io_prop.zp_checksum : local 1867 if (checksum == ZIO_CHECKSUM_NOPARITY) 2082 * reassemble with a correct checksum, then try combinatorial 2162 * has a valid checksum. Naturally, this case applies in the absence of 2304 * Start checksum ereport [all...] |
H A D | dmu.c | 1752 dmu_object_set_checksum(objset_t *os, uint64_t object, uint8_t checksum, argument 1758 * Send streams include each object's checksum function. This 1760 * checksum function transmitted. 1762 ASSERT3U(checksum, <, ZIO_CHECKSUM_LEGACY_FUNCTIONS); 1765 ASSERT3U(checksum, <, ZIO_CHECKSUM_FUNCTIONS); 1766 dn->dn_checksum = checksum; 1805 enum zio_checksum checksum = os->os_checksum; local 1838 * checksum is multi-bit correctable, and it's not a 1839 * ZBT-style checksum, then it's suitable for metadata 1840 * as well. Otherwise, the metadata checksum default [all...] |
H A D | dmu_objset.c | 198 enum zio_checksum checksum; local 205 checksum = zio_checksum_dedup_select(spa, newval, ZIO_CHECKSUM_OFF); 207 os->os_dedup_checksum = checksum & ZIO_CHECKSUM_MASK; 208 os->os_dedup_verify = !!(checksum & ZIO_CHECKSUM_VERIFY); 333 /* convert checksum errors into IO errors */ 364 * func returns, thus changing the checksum/compression from the 366 * checksum/compression/copies.
|
H A D | spa_misc.c | 1428 char *checksum = NULL; local 1444 checksum = 1450 SNPRINTF_BLKPTR(snprintf, ' ', buf, buflen, bp, type, checksum,
|
H A D | zvol.c | 1281 * we can't change the data whilst calculating the checksum. 1308 /* convert checksum errors into IO errors */ 1415 /* convert checksum errors into IO errors */ 1898 uint64_t checksum, compress, refresrv, vbs, dedup; local 1935 zfs_prop_to_name(ZFS_PROP_CHECKSUM), &checksum, 1982 &checksum, tx); 2014 * If MULTI_VDEV_CRASH_DUMP is active, use the NOPARITY checksum 2017 checksum = spa_feature_is_active(spa, 2029 checksum) == 0); 2107 uint64_t checksum, compres local [all...] |
H A D | zio.c | 931 void *data, int checksum, zio_done_func_t *done, void *private, 945 zio->io_prop.zp_checksum = checksum; 952 void *data, int checksum, zio_done_func_t *done, void *private, 966 zio->io_prop.zp_checksum = checksum; 968 if (zio_checksum_table[checksum].ci_flags & ZCHECKSUM_FLAG_EMBEDDED) { 971 * the end of the write buffer to hold the verifier/checksum. 1000 * checksum and the parent need not. This pushes error 1769 * as the verifier to ensure uniqueness of the SHA256 checksum. 1770 * Critically, the gang block bp's blk_cksum is the checksum of the data, 1840 * a new gang block header checksum fo 930 zio_read_phys(zio_t *pio, vdev_t *vd, uint64_t offset, uint64_t size, void *data, int checksum, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, boolean_t labels) argument 951 zio_write_phys(zio_t *pio, vdev_t *vd, uint64_t offset, uint64_t size, void *data, int checksum, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, boolean_t labels) argument 3223 enum zio_checksum checksum; local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_tlv_layout.h | 138 uint32_t checksum; member in struct:tlv_partition_trailer
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 154 * zio_checksum_verify: Provides support for checksum verification. 166 uint32_t checksum = BP_GET_CHECKSUM(bp); local 169 zio_checksum_info_t *ci = &zio_checksum_table[checksum]; 177 if (checksum >= ZIO_CHECKSUM_FUNCTIONS || ci->ci_func[0] == NULL) { 178 grub_printf("checksum algorithm %u not supported\n", checksum); 240 * number, the version number, and the checksum. 333 grub_printf("failed to checksum a gang block header\n"); 382 /* verify that the checksum matches */ 459 * Read in a block of data, verify its checksum, decompres [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x550.c | 2072 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; 2153 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; 2210 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; 2296 * @csum: address of checksum to update 2362 * ixgbe_calc_checksum_X550 - Calculates and returns the checksum 2364 * @buffer: pointer to buffer containing calculated checksum 2367 * Returns a negative error code on error, or the 16-bit checksum 2374 u16 checksum = 0; local 2398 * For X550 hardware include 0x0-0x41 in the checksum, skip the 2399 * checksum wor 2466 u16 checksum; local 2519 u16 checksum = 0; local [all...] |
H A D | ixgbe_common.c | 1261 * EEPROM will most likely contain an invalid checksum. 1343 * EEPROM will most likely contain an invalid checksum. 2107 * ixgbe_calc_eeprom_checksum_generic - Calculates and returns the checksum 2110 * Returns a negative error code on error, or the 16-bit checksum 2116 u16 checksum = 0; local 2123 /* Include 0x0-0x3F in the checksum */ 2129 checksum += word; 2156 checksum += word; 2160 checksum = (u16)IXGBE_EEPROM_SUM - checksum; 2177 u16 checksum; local 2224 u16 checksum; local [all...] |
/illumos-gate/usr/src/boot/sys/i386/include/pc/ |
H A D | bios.h | 55 u_int8_t cksum; /* checksum */ 243 uint8_t checksum; member in struct:smbios_eps
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 72 * Signature for checksum functions. 82 /* ZIO embedded checksum */ 93 * Information about each checksum function. 96 /* checksum function for each byteorder */ 227 * Calls the template init function of a checksum which supports context 231 zio_checksum_template_init(enum zio_checksum checksum, const spa_t *spa) argument 233 zio_checksum_info_t *ci = &zio_checksum_table[checksum]; 238 if (spa->spa_cksum_tmpls[checksum] != NULL) 243 if (spa->spa_cksum_tmpls[checksum] == NULL) { 244 spa->spa_cksum_tmpls[checksum] 256 unsigned int checksum; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | bscv.c | 302 "bad checksum", /* 15 */ 2267 * serial escape character, alarm3 mode, version and checksum read from 4590 /* write the checksum to PCSM */ 4620 uint16_t checksum; local 4647 pagesize, imagep, &checksum); 4652 " attempt %d, index 0x%x, checksum 0x%x, %s image", 4654 index, checksum, is_image2 ? "main" : "loader"); 4658 " checksum 0x%x, %s image", retval, index, checksum,
|