Searched defs:CRC (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-crc.c27 "32 bit CRC (cyclic redundancy check)."
57 #define CRC(p,s,c) (s = (s >> 8) ^ (p)->tab[(s ^ (c)) & 0xff]) macro
269 CRC(sum, c, *b++);
277 CRC(sum, c, *b++);
298 CRC(sum, c, *b++);
327 CRC(sum, c, n >> j);
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_misc.c511 uint_t CRC = 0; local
525 for (next = CRC, shift = 28; shift >= 0; shift -= 4) {
529 CRC = next & IEEE1394_CRC16_MASK;
533 tnf_uint, crc, CRC);
534 return (CRC);
542 * were manufactured using this incorrect CRC. On CRC16 failures
543 * this CRC is tried in case it is a legacy device.
548 uint_t CRC = 0; local
559 for (next = CRC, shift = 28; shift > 0; shift -= 4) {
563 CRC
[all...]
H A Ds1394_csr.c1279 * computes the necessary CRC values before returning.
1290 uint_t CRC; local
1323 /* Calculate CRC-16 */
1325 CRC = s1394_CRC16(&(tm_ptr[1]), length);
1326 tm_ptr[0] = (length << IEEE1394_TOP_MAP_LEN_SHIFT) | CRC;
1447 uint32_t CRC; local
1519 /* The CRC covers only our Bus_Info_Block */
1520 CRC = s1394_CRC16(&config_rom[1], 4);
1521 config_rom[0] = (0x04040000) | CRC;
1542 CRC
1821 uint32_t CRC; local
1969 uint_t CRC; local
2130 uint_t CRC; local
[all...]
H A Ds1394_dev_disc.c2148 * good CRC else returns B_FALSE.
2154 uint32_t crc_len, crc_value, CRC, CRC_old, quad0; local
2186 CRC = s1394_CRC16(&node->cfgrom[1], crc_len);
2188 if (CRC != crc_value) {
2203 "!Bad CRC in config rom (node's GUID %08x%08x)",
2211 tnf_uint, crc, crc_value, tnf_uint, crc_computed, CRC);
2226 * Performs crc check on a directory. Returns B_TRUE if dir has good CRC
2234 uint32_t dir_len, crc_value, CRC, CRC_old, quad0; local
2260 CRC = s1394_CRC16(&dir[1], dir_len);
2262 if (CRC !
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.h98 #define CRC 4 /* CRC with expanded maj/min numbers */ macro
191 #define APATH 1024 /* maximum ASC or CRC header path length */
213 #define ASC_CNT 14 /* ASC and CRC headers */

Completed in 94 milliseconds