CHFS_EB_HDR_NOR_SIZE
CHFS_EB_EC_HDR_SIZE + CHFS_EB_HDR_NOR_SIZE;
ofs, CHFS_EB_HDR_NOR_SIZE,
CHFS_EB_EC_HDR_SIZE - CHFS_EB_HDR_NOR_SIZE;
if (ret || retlen != CHFS_EB_HDR_NOR_SIZE)
CHFS_EB_HDR_NOR_SIZE - 4);
ofs, CHFS_EB_HDR_NOR_SIZE, &retlen,
if (ret || retlen != CHFS_EB_HDR_NOR_SIZE)
CHFS_EB_HDR_NOR_SIZE)) {
CHFS_EB_HDR_NOR_SIZE - 4);
#define MINSIZE MAX(MAX(CHFS_EB_EC_HDR_SIZE, CHFS_EB_HDR_NOR_SIZE), \
CHFS_EB_HDR_NOR_SIZE - 4));
memcpy(buf, &ebhdr.u.nor_hdr, CHFS_EB_HDR_NOR_SIZE);