HomeSort by: relevance | last modified time | path
    Searched refs:nand_hdr (Results 1 - 3 of 3) sorted by relevancy

  /src/usr.sbin/makefs/chfs/
chfs_mkfs.c 143 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);
  /src/sys/ufs/chfs/
ebh.c 101 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 + 4
    [all...]
ebh.h 64 * @u.nand_hdr: eraseblock header on NAND flash
70 struct chfs_nand_eb_hdr nand_hdr; member in union:chfs_eb_hdr::__anon12423610010a

Completed in 12 milliseconds