Searched refs:ec_hdr (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/usr.sbin/makefs/chfs/
H A Dchfs_mkfs.c129 ebhdr.ec_hdr.magic = htole32(CHFS_MAGIC_BITMASK);
130 ebhdr.ec_hdr.erase_cnt = htole32(1);
131 ebhdr.ec_hdr.crc_ec = htole32(crc32(0,
132 (uint8_t *)&ebhdr.ec_hdr + 8, 4));
134 memcpy(buf, &ebhdr.ec_hdr, CHFS_EB_EC_HDR_SIZE);
/netbsd-current/sys/ufs/chfs/
H A Debh.c153 &retlen, (unsigned char *) &ebhdr->ec_hdr);
193 (unsigned char *) &ebhdr->ec_hdr);
300 if (check_pattern((void *) &ebhdr->ec_hdr,
307 magic = le32toh(ebhdr->ec_hdr.magic);
315 hdr_crc = le32toh(ebhdr->ec_hdr.crc_ec);
316 crc = crc32(0, (uint8_t *) &ebhdr->ec_hdr + 8, 4);
378 if (check_pattern((void *) &ebhdr->ec_hdr,
385 magic = le32toh(ebhdr->ec_hdr.magic);
393 hdr_crc = le32toh(ebhdr->ec_hdr.crc_ec);
394 crc = crc32(0, (uint8_t *) &ebhdr->ec_hdr
[all...]
H A Debh.h62 * @ec_hdr: erase counter header ob eraseblock
67 struct chfs_eb_ec_hdr ec_hdr; member in struct:chfs_eb_hdr

Completed in 167 milliseconds