search for: rcd_tmp

Displaying 1 result from an estimated 1 matches for "rcd_tmp".

Did you mean: ac_tmp
2010 Aug 20
0
[PATCH 1/2] Implement APEI ERST feature to Xen
..._id, 0); + if (rc) + return rc; + *offset = 0; + + return 0; +} + +static size_t __erst_read(u64 record_id, struct cper_record_header *record, + size_t buflen) +{ + int rc; + u64 offset, len = 0; + struct cper_record_header *rcd_tmp; + + rc = __erst_read_to_erange(record_id, &offset); + if (rc) + return rc; + rcd_tmp = erst_erange.vaddr + offset; + len = rcd_tmp->record_length; + if (len <= buflen) + memcpy(record, rcd_tmp, len); + + return len; +} + +/*...