Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\string.c Create Date:2022-07-28 07:27:09
Last Modify:2022-05-21 21:56:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_kstrtoull

Proto:static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res)

Type:int

Parameter:

TypeParameterName
const char *s
unsigned intbase
unsigned long long *res
301  s = _parse_integer_fixup_radix(s, & base)
302  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.
303  If rv & KSTRTOX_OVERFLOW Then Return -ERANGE
305  If rv == 0 Then Return -EINVAL
307  s += rv
308  If s == '\n' Then s++
310  If s Then Return -EINVAL
312  res = _res
313  Return 0
Caller
NameDescribe
kstrtoullkstrtoull - convert a string to an unsigned long long*@s: The start of the string. The string must be null-terminated, and may also* include a single newline before its terminating null. The first character* may also be a plus sign, but not a minus sign.