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

/netbsd-current/usr.sbin/makefs/chfs/
H A Dchfs_mkfs.c143 ebhdr.u.nand_hdr.lid = htole32(lebnumber++);
144 ebhdr.u.nand_hdr.serial = htole64(++(max_serial));
145 ebhdr.u.nand_hdr.crc = htole32(crc32(0,
146 (uint8_t *)&ebhdr.u.nand_hdr + 4,
148 memcpy(buf, &ebhdr.u.nand_hdr, CHFS_EB_HDR_NAND_SIZE);
/netbsd-current/sys/ufs/chfs/
H A Debh.c101 ebhdr->u.nand_hdr.lid = htole32(lnr);
201 (unsigned char *) &ebhdr->u.nand_hdr);
231 ebhdr->u.nand_hdr.crc = htole32(crc);
268 ebhdr->u.nand_hdr.serial = htole64(++(*ebh->max_serial));
270 crc = crc32(0, (uint8_t *)&ebhdr->u.nand_hdr + 4,
272 ebhdr->u.nand_hdr.crc = htole32(crc);
276 (unsigned char *) &ebhdr->u.nand_hdr);
403 if (check_pattern((void *) &ebhdr->u.nand_hdr, 0xFF, 0,
410 hdr_crc = le32toh(ebhdr->u.nand_hdr.crc);
412 crc = crc32(0, (uint8_t *) &ebhdr->u.nand_hdr
[all...]
H A Debh.h64 * @u.nand_hdr: eraseblock header on NAND flash
70 struct chfs_nand_eb_hdr nand_hdr; member in union:chfs_eb_hdr::__anon19196

Completed in 138 milliseconds