RAS_TABLE_HEADER_SIZE
#define RAS_TABLE_V2_1_INFO_START RAS_TABLE_HEADER_SIZE
#define RAS_RECORD_START_V2_1 (RAS_HDR_START + RAS_TABLE_HEADER_SIZE + \
#define RAS_MAX_RECORD_COUNT_V2_1 ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE - \
buf_size = RAS_TABLE_HEADER_SIZE +
buf_size = RAS_TABLE_HEADER_SIZE +
RAS_TABLE_HEADER_SIZE) / RAS_TABLE_RECORD_SIZE)
RAS_TABLE_HEADER_SIZE - \
unsigned char buf[RAS_TABLE_HEADER_SIZE] = { 0 };
buf, RAS_TABLE_HEADER_SIZE);
if (res < RAS_TABLE_HEADER_SIZE) {
u8 buf[RAS_TABLE_HEADER_SIZE];
buf, RAS_TABLE_HEADER_SIZE);
} else if (res < RAS_TABLE_HEADER_SIZE) {
RAS_TABLE_HEADER_SIZE);
hdr->tbl_size = RAS_TABLE_HEADER_SIZE +
hdr->tbl_size = RAS_TABLE_HEADER_SIZE;
control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE +
control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE +
#define RAS_RECORD_START (RAS_HDR_START + RAS_TABLE_HEADER_SIZE)
#define RAS_MAX_RECORD_COUNT ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE) \
buf_size = RAS_TABLE_HEADER_SIZE +
buf_size = RAS_TABLE_HEADER_SIZE +
unsigned char buf[RAS_TABLE_HEADER_SIZE] = { 0 };
buf, RAS_TABLE_HEADER_SIZE);
if (res < RAS_TABLE_HEADER_SIZE) {
#define RAS_TABLE_V2_1_INFO_START RAS_TABLE_HEADER_SIZE
#define RAS_RECORD_START_V2_1 (RAS_HDR_START + RAS_TABLE_HEADER_SIZE + \
#define RAS_MAX_RECORD_COUNT_V2_1 ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE - \
RAS_TABLE_HEADER_SIZE) / RAS_TABLE_RECORD_SIZE)
RAS_TABLE_HEADER_SIZE - \
u8 buf[RAS_TABLE_HEADER_SIZE];
buf, RAS_TABLE_HEADER_SIZE);
} else if (res < RAS_TABLE_HEADER_SIZE) {
"Short write:%d out of %d\n", res, RAS_TABLE_HEADER_SIZE);
hdr->tbl_size = RAS_TABLE_HEADER_SIZE +
hdr->tbl_size = RAS_TABLE_HEADER_SIZE;
control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE +
control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE +
#define RAS_RECORD_START (RAS_HDR_START + RAS_TABLE_HEADER_SIZE)
#define RAS_MAX_RECORD_COUNT ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE) \