示例#1
0
/**
 * rtas_get_mtms_scn
 * @brief retrieve the Failing Enclosure (MTMS) section of an RTAS Event
 *
 * @param re rtas_event pointer
 * @return pointer to rtas_event_scn on success, NULL on failure
 */
struct rtas_mt_scn *
rtas_get_mt_scn(struct rtas_event *re)
{
    return (struct rtas_mt_scn *)get_re_scn(re, RTAS_MT_SCN);
}
示例#2
0
/**
 * rtas_get_src_scn
 * @brief retrieve the RTAS src section for a RTAS event
 *
 * @param re rtas_event pointer
 * @return rtas_event_scn pointer for a SRC section
 */ 
struct rtas_src_scn *
rtas_get_src_scn(struct rtas_event *re)
{
    return (struct rtas_src_scn *)get_re_scn(re, RTAS_PSRC_SCN);
}
示例#3
0
/**
 * rtas_get_priv_hdr_scn
 * @brief retrieve the Private Header section of an RTAS Event 
 *
 * @param re rtas_event pointer
 * @return pointer to rtas_event_scn on success, NULL on failure
 */
struct rtas_priv_hdr_scn *
rtas_get_priv_hdr_scn(struct rtas_event *re)
{
    return (struct rtas_priv_hdr_scn *)get_re_scn(re, RTAS_PRIV_HDR_SCN);
}
示例#4
0
/**
 * rtas_rtas_usr_hdr_scn
 * @brief retrieve the User Header section for an RTAS event.
 *
 * @param re rtas_event pointer
 * @return rtas_event_scn pointer to User Header section, NULL on failure
 */
struct rtas_usr_hdr_scn *
rtas_get_usr_hdr_scn(struct rtas_event *re)
{
    return (struct rtas_usr_hdr_scn *)get_re_scn(re, RTAS_USR_HDR_SCN);
}
示例#5
0
/**
 * rtas_get_ibm_diag_scn
 * @brief Retrieve the IBM Diagnostic Log section of the RTAS Event
 *
 * @param re rtas_event pointer
 * @return rtas_event_scn pointer for diagnostics log section
 */
struct rtas_ibm_diag_scn *
rtas_get_ibm_diag_scn(struct rtas_event *re)
{
    return (struct rtas_ibm_diag_scn *)get_re_scn(re, RTAS_IBM_DIAG_SCN);
}
示例#6
0
/**
 * rtas_get_vend_specific
 * @brief retrive a vendor specific section of the RTAS event
 *
 * @param re parsed rtas event
 * @return reference to a rtas_event_scn on success, NULL on failure
 */
struct rtas_vend_errlog_scn *
rtas_get_vend_errlog_scn(struct rtas_event *re)
{
    return (struct rtas_vend_errlog_scn *)get_re_scn(re, RTAS_VEND_ERRLOG_SCN);
}
示例#7
0
/**
 * rtas_get_dump_scn
 * @brief Retrieve the Dump Locator section of the RTAS Event
 *
 * @param re rtas_event pointer
 * @return rtas_event_scn pointer to dump locator section
 */
struct rtas_dump_scn *
rtas_get_dump_scn(struct rtas_event *re)
{
    return (struct rtas_dump_scn *)get_re_scn(re, RTAS_DUMP_SCN);
}
示例#8
0
/**
 * rtas_get_event_exthdr_scn
 * @brief Retrieve the RTAS Event extended header
 *
 * @param re rtas_event pointer
 * @return rtas_event_scn pointer for RTAS extended header section
 */
struct rtas_event_exthdr *
rtas_get_event_exthdr_scn(struct rtas_event *re)
{
    return (struct rtas_event_exthdr *)get_re_scn(re, RTAS_EVENT_EXT_HDR);
}
示例#9
0
/**
 * rtas_get_cpu_scn
 * @brief Retrieve the CPU section of the RTAS Event
 * 
 * @param re rtas_event pointer
 * @return rtas_event_scn pointer for cpu section
 */
struct rtas_cpu_scn *
rtas_get_cpu_scn(struct rtas_event *re)
{
    return (struct rtas_cpu_scn *)get_re_scn(re, RTAS_CPU_SCN);
}