Searched refs:zfs_crc64_table (Results 1 – 7 of 7) sorted by relevance
31 static uint64_t zfs_crc64_table[256]; variable54 if (zfs_crc64_table[128] != ZFS_CRC64_POLY) { in zfs_init_crc()55 memset(zfs_crc64_table, 0, sizeof(zfs_crc64_table)); in zfs_init_crc()57 for (ct = zfs_crc64_table + i, *ct = i, j = 8; j > 0; j--) in zfs_init_crc()367 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in zap_hash()369 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ c) & 0xFF]; in zap_hash()
383 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in dnode_hash()388 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (osv >> 6)) & 0xFF]; in dnode_hash()389 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (obj >> 0)) & 0xFF]; in dnode_hash()390 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (obj >> 8)) & 0xFF]; in dnode_hash()391 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (obj >> 16)) & 0xFF]; in dnode_hash()
85 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in zap_hash()97 zfs_crc64_table[(h ^ word) & 0xFF]; in zap_hash()116 zfs_crc64_table[(h ^ *cp) & 0xFF]; in zap_hash()
120 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in zvol_name_hash()122 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (*p)) & 0xFF]; in zvol_name_hash()
285 #define SA_ATTR_HASH(attr) (zfs_crc64_table[(-1ULL ^ attr) & 0xFF])
758 uint64_t zfs_crc64_table[256]; variable1270 for (ct = zfs_crc64_table + i, *ct = i, j = 8; j > 0; j--) in buf_init()
1068 extern uint64_t zfs_crc64_table[256];