Home
last modified time | relevance | path

Searched refs:zfs_crc64_table (Results 1 – 7 of 7) sorted by relevance

/freebsd-14-stable/sys/cddl/boot/zfs/
HDzfssubr.c29 static uint64_t zfs_crc64_table[256]; variable
54 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()
373 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in zap_hash()
375 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ c) & 0xFF]; in zap_hash()
/freebsd-14-stable/sys/contrib/openzfs/module/zfs/
HDdmu_objset.c401 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in dnode_hash()
406 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (osv >> 11)) & 0xFF]; in dnode_hash()
407 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (obj >> 0)) & 0xFF]; in dnode_hash()
408 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (obj >> 8)) & 0xFF]; in dnode_hash()
409 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (obj >> 16)) & 0xFF]; in dnode_hash()
HDzap_micro.c87 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in zap_hash()
99 zfs_crc64_table[(h ^ word) & 0xFF]; in zap_hash()
118 zfs_crc64_table[(h ^ *cp) & 0xFF]; in zap_hash()
HDzvol.c118 ASSERT(zfs_crc64_table[128] == ZFS_CRC64_POLY); in zvol_name_hash()
120 crc = (crc >> 8) ^ zfs_crc64_table[(crc ^ (*p)) & 0xFF]; in zvol_name_hash()
HDsa.c285 #define SA_ATTR_HASH(attr) (zfs_crc64_table[(-1ULL ^ attr) & 0xFF])
HDarc.c773 uint64_t zfs_crc64_table[256]; variable
1269 for (ct = zfs_crc64_table + i, *ct = i, j = 8; j > 0; j--) in buf_init()
/freebsd-14-stable/sys/contrib/openzfs/include/sys/
HDdmu.h1094 extern uint64_t zfs_crc64_table[256];