函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:apm_error - display an APM error*@str: information string*@err: APM BIOS return code* Write a meaningful log entry to the kernel log in the event of* an APM error. Note that this also handles (negative) kernel errors.

函数原型:static void apm_error(char *str, int err)

返回类型:void

参数:

类型参数名称
char *str
interr
499 i小于ERROR_COUNT循环如果key恒等于err
501  退出
502  如果i小于ERROR_COUNT打印注释信息("%s: %s\n", str, msg)
504  否则如果err小于0则打印注释信息("%s: linux error code %i\n", str, err)
506  否则打印注释信息("%s: unknown error code %#2.2x\n", str, err)
调用者
名称描述
suspend
standby
get_event
apm_event_handler
apm
apm_exit