Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\cmdline.c Create Date:2022-07-28 06:12:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int get_option(char **str, int *pint)

Type:int

Parameter:

TypeParameterName
char **str
int *pint
52  cur = str
54  If Not cur || Not cur Then Return 0
56  pint = simple_strtol - convert a string to a signed long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtol instead.
57  If cur == str Then Return 0
59  If str == ',' Then
60  str++
61  Return 2
63  If str == '-' Then Return 3
66  Return 1
Caller
NameDescribe
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