函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mce_gen_pool_add

函数原型:int mce_gen_pool_add(struct mce *mce)

返回类型:int

参数:

类型参数名称
struct mce *mce
101  如果filter_mce(mce)则返回:负EINVAL
104  如果非mce_evt_pool则返回:负EINVAL
107  node等于gen_pool_alloc - allocate special memory from the pool*@pool: pool to allocate from*@size: number of bytes to allocate from the pool* Allocate the requested number of bytes from the specified pool.
108  如果非node
109  pr_warn_ratelimited("MCE records pool full!\n")
110  返回:负ENOMEM
113  memcpy( & mce, mce, mce的长度)
114  添加列表项
116  返回:0
调用者
名称描述
machine_check_pollPoll for corrected events or events that happened before reset.* Those are just logged through /dev/mcelog.* This is executed in standard interrupt context.* Note: spec recommends to panic for fatal unsignalled* errors here
mce_log