Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\boot.h Create Date:2022-07-28 07:26:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cmdline_find_option_bool

Proto:static inline int cmdline_find_option_bool(const char *option)

Type:int

Parameter:

TypeParameterName
const char *option
284  cmd_line_ptr = cmd_line_ptr
286  If cmd_line_ptr >= 0x100000 Then Return -1
289  Return Find a boolean option (like quiet,noapic,nosmp....)* Returns the position of that option (starts counting with 1)* or 0 on not found
Caller
NameDescribe
check_cpuReturns -1 on error.* *cpu_level is set to the current CPU level; *req_level to the required* level. x86-64 is considered level 64 for this purpose.* *err_flags_ptr is set to the flags error array if there are flags missing.
main