Searched defs:crctab (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_crcpos.c48 static ulong crctab[256] = { /* layout is from the POSIX.2 Rationale */ variable
113 *crcp = (*crcp<<8) ^ crctab[(uchar)((*crcp>>24)^*bp++)];
/illumos-gate/usr/src/lib/libxcurses2/src/libc/mks/
H A Dm_crcpos.c53 static const unsigned int crctab[256] = { variable
55 static const unsigned long crctab[256] = {
122 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)];
/illumos-gate/usr/src/common/lvm/
H A Dmd_crc.c55 uint_t *crctab; local
58 crctab = (uint_t *)MD_ZALLOC(256 * sizeof (int));
67 crctab[b] = v;
69 return (crctab);
92 uint_t *crctab; local
138 crctab = mddb_crctab;
161 newcrc = (newcrc << 8) ^ crctab[(newcrc >> 24) ^ *record++];
/illumos-gate/usr/src/uts/common/os/
H A Dsctp_crc32.c42 static uint32_t crctab[4][256]; variable
86 crctab[3 - k][i] = flip32(reflect_32(crc));
88 crctab[k][i] = reflect_32(crc);
103 crc = (crc << 8) ^ crctab[3][buf[i] ^ (crc >> 24)];
105 crc = (crc >> 8) ^ crctab[0][buf[i] ^ (crc & 0xff)];
120 crc = crctab[0][w >> 24] ^ crctab[1][(w >> 16) & 0xff] ^
121 crctab[2][(w >> 8) & 0xff] ^ crctab[3][w & 0xff];
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c536 static unsigned short crctab[] = { variable
577 crc = (crc << 8) ^ crctab[((crc >> 8) ^ *buf++) & 0xff];
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c1464 static unsigned crctab[256] = { variable
1522 *crcp = (*crcp<<8) ^ crctab[(unsigned char)((*crcp>>24)^val)];
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnandfs.c131 static const uint32_t crctab[] = { local
142 crc = (crc >> 4) ^ crctab[crc & 0xf];
143 crc = (crc >> 4) ^ crctab[crc & 0xf];

Completed in 73 milliseconds