函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\apei.c Create Date:2022-07-27 09:04:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:apei_write_mce

函数原型:int apei_write_mce(struct mce *m)

返回类型:int

参数:

类型参数名称
struct mce *m
75  memset( & rcd, 0, rcd的长度)
76  memcpy(must be CPER_SIG_RECORD , CPER record signature and the size , CPER_SIG_SIZE)
77  must be CPER_RECORD_REV 等于CPER record header revision, used in revision field in struct* cper_record_header
78  must be CPER_SIG_END 等于Used in signature_end field in struct cper_record_header
79  section_count等于1
80  error_severity等于CPER_SEV_FATAL
82  validation_bits等于0
83  record_length等于rcd的长度
84  creator_id等于CPER_CREATOR_MCE
85  notification_type等于Machine Check Exception
86  record_id等于cper_next_record_id()
87  flags等于If set, the error is for previous boot
89  Offset in bytes of the* section body from the base* of the record header = (void * ) & mce - (void * ) & rcd
90  section_length等于mce的长度
91  must be CPER_RECORD_REV 等于CPER section header revision, used in revision field in struct* cper_section_descriptor
93  validation_bits等于0
94  flags等于Flags bits definitions for flags in struct cper_section_descriptor* If set, the section is associated with the error condition* directly, and should be focused on
95  section_type等于CPER_SECTION_TYPE_MCE
96  section_severity等于CPER_SEV_FATAL
98  memcpy( & mce, m, m的长度)
100  返回:erst_write( & hdr)
调用者
名称描述
mce_panic