Function report | 
Source Code:lib\cmdline.c | 
Create Date:2022-07-28 06:12:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
Proto:unsigned long long memparse(const char *ptr, char **retptr)
Type:unsigned long long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | ptr | |
| char ** | retptr | 
| 132 | Case endptr == 'E' | 
| 133 | Case endptr == 'e' | 
| 134 | ret <<= 10 | 
| 136 | Case endptr == 'P' | 
| 137 | Case endptr == 'p' | 
| 138 | ret <<= 10 | 
| 140 | Case endptr == 'T' | 
| 141 | Case endptr == 't' | 
| 142 | ret <<= 10 | 
| 144 | Case endptr == 'G' | 
| 145 | Case endptr == 'g' | 
| 146 | ret <<= 10 | 
| 148 | Case endptr == 'M' | 
| 149 | Case endptr == 'm' | 
| 150 | ret <<= 10 | 
| 152 | Case endptr == 'K' | 
| 153 | Case endptr == 'k' | 
| 156 | Default | 
| 157 | Break | 
| 163 | Return ret | 
| Name | Describe | 
|---|---|
| parse_memopt | The "mem=nopentium" boot option disables 4MB page tables on 32-bit kernels: | 
| parse_memmap_one | |
| parse_alloc_mptable_opt | |
| parse_mem_block_size | Kernel parameter to specify UV mem block size | 
| set_corruption_check_size | |
| early_cma | |
| parse_crashkernel_mem | This function parses command lines in the format* crashkernel=ramsize-range:size[,...][@offset]* The function returns 0 on success and -EINVAL on failure. | 
| parse_crashkernel_simple | That function parses "simple" (old) crashkernel command lines like* crashkernel=size[@offset]* It returns 0 on success and -EINVAL on failure. | 
| parse_crashkernel_suffix | That function parses "suffix" crashkernel command lines like* crashkernel=size,[high|low]* It returns 0 on success and -EINVAL on failure. | 
| set_buf_size | |
| setup_elfcorehdr | lfcorehdr= specifies the location of elf core header stored by the crashed* kernel. This option will be passed by kexec loader to the capture kernel.* Syntax: elfcorehdr=[size[KMG]@]offset[KMG] | 
| early_initrd | |
| page_counter_memparse | page_counter_memparse - memparse() for page counter limits*@buf: string to parse*@max: string meaning maximum possible value*@nr_pages: returns the result in number of pages* Returns -EINVAL, or 0 and @nr_pages on success. @nr_pages will be | 
| parse_subpart | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |