Searched refs:node_crc (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/sys/ufs/chfs/ |
H A D | media.h | 93 le32 node_crc; /* crc of all the previous fields */ member 108 le32 node_crc; /* crc of full node */ member 130 le32 node_crc; /* crc of full node */ member
|
H A D | chfs_scan.c | 117 if (crc != le32toh(vnode->node_crc)) { in chfs_scan_check_vnode() 289 if (crc != le32toh(dirent->node_crc)) { in chfs_scan_check_dirent_node() 363 if (crc != le32toh(dnode->node_crc)) { in chfs_scan_check_data_node()
|
H A D | chfs_write.c | 83 fvnode->node_crc = htole32(crc32(0, (uint8_t *)fvnode, size - 4)); in chfs_write_flash_vnode() 196 fdirent->node_crc = crc32(0, (uint8_t *)fdirent, sizeof(*fdirent) - 4); in chfs_write_flash_dirent() 314 dnode->node_crc = htole32(crc32(0, (uint8_t *)dnode, in chfs_write_flash_dnode()
|
H A D | chfs_gc.c | 751 if (crc != le32toh(fvnode->node_crc)) { in chfs_gcollect_pristine() 761 if (crc != le32toh(fdirent->node_crc)) { in chfs_gcollect_pristine() 777 if (crc != le32toh(fdata->node_crc)) { in chfs_gcollect_pristine() 1101 fdnode->node_crc = htole32(crc32(0, (uint8_t *)fdnode, in chfs_gcollect_dnode()
|
H A D | chfs_readinode.c | 825 if (crc != le32toh(dnode->node_crc)) { in chfs_get_data_nodes() 826 chfs_err("Node CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->node_crc)); in chfs_get_data_nodes() 1165 if (crc != le32toh(dnode->node_crc)) { in chfs_read_data() 1166 chfs_err("Node CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->node_crc)); in chfs_read_data()
|
/netbsd-src/usr.sbin/makefs/chfs/ |
H A D | chfs_mkfs.c | 181 fvnode.node_crc = htole32(crc32(0, (uint8_t *)&fvnode, in write_vnode() 216 fdirent.node_crc = htole32(crc32(0, (uint8_t *)&fdirent, in write_dirent() 299 fdata.node_crc = htole32(crc32(0, in write_data()
|