Function report |
Source Code:arch\x86\boot\string.c |
Create Date:2022-07-28 07:27:08 |
| Last Modify:2022-05-21 21:56:45 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *p)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | s | |
| unsigned int | base | |
| unsigned long long * | p |
| 264 | res = 0 |
| 265 | rv = 0 |
| 266 | When 1 cycle |
| 275 | Else Break |
| 284 | If Value for the false possibility is greater at compile time(res & (~0ull << 60)) Then |
| 285 | If res > __div_u64(ULLONG_MAX - val, base) Then rv |= KSTRTOX_OVERFLOW |
| 289 | rv++ |
| 290 | s++ |
| 293 | Return rv |
| Name | Describe |
|---|---|
| bitmap_getnum | |
| _kstrtoull | |
| _kstrtoull | |
| __bpf_strtoull |
| 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 |