函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well

函数原型:int get_option(char **str, int *pint)

返回类型:int

参数:

类型参数名称
char **str
int *pint
52  cur等于str
54  如果非cur或非cur则返回:0
56  pint等于转换字符串为整形
57  如果cur恒等于str则返回:0
59  如果str恒等于','则
60  str自加
61  返回:2
63  如果str恒等于'-'则返回:3
66  返回:1
调用者
名称描述
get_optionsget_options - Parse a string into a list of integers*@str: String to be parsed*@nints: size of integer array*@ints: integer array* This function parses a string containing a comma-separated* list of integers, a hyphen-separated range of _positive_
setup_debug_locks_verbose
cachesize_setup
mcheck_enablemce=off Disables machine check* mce=no_cmci Disables CMCI* mce=no_lmce Disables LMCE* mce=dont_log_ce Clears corrected events silently, no log created for CEs
cpu_init_udelay
_setup_possible_cpus
apic_set_disabled_cpu_apicid
setup_show_lapic
gart_parse_options
reserve_setup
setup_print_fatal_signals
dma_debug_entries_cmdline
profile_setup
nrcpushis is hard limit
maxcpus
md_setupParse the command-line parameters given our kernel, but do not* actually try to invoke the MD device now; that is handled by* md_setup_drive after the low-level disk drivers have initialised
setup_slub_min_orderKmalloc subsystem
setup_slub_max_order
setup_slub_min_objects
fpu__init_parse_early_paramWe parse fpu parameters early because fpu__init_system() is executed* before parse_early_param().
loglevel
slab_max_order_setup