函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-27 07:09:12
Last Modify:2022-05-21 09:47:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:转换字符串为无符号长整形

函数原型:unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base)

返回类型:unsigned long long

参数:

类型参数名称
const char *cp
char **endp
unsigned intbase
68  cp等于_parse_integer_fixup_radix(cp, & base)
69  rv等于Convert non-negative integer string representation in explicitly given radix* to an integer.* Return number of characters consumed maybe or-ed with overflow bit.* If overflow occurs, result integer (incorrect) is still returned.
71  cp加等于rv按位与KSTRTOX_OVERFLOW的反
73  如果endpendp等于cp
76  返回:result
调用者
名称描述
simple_strtoul转换字符串为无符号整形
simple_strtoll转换字符串为长整形
vsscanfvsscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: format of buffer*@args: arguments
memparsememparse - 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
parse_earlyprintk解析命令行参数"earlyprintk"
parse_memmap_one
kdbgetu64arg
split_token_from_namesplit_token_from_name - separate a string of form ^*@op: operation being checked*@args: string to parse (NOT NULL)*@token: stores returned parsed token value (NOT NULL)* Returns: start position of name after token else NULL on failure