函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_probe.c Create Date:2022-07-27 13:53:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:str_to_immediate

函数原型:static int str_to_immediate(char *str, unsigned long *imm)

返回类型:int

参数:

类型参数名称
char *str
unsigned long *imm
331  如果是数字则返回:kstrtoul - convert a string to an unsigned 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.
333  否则如果str[0]恒等于'-'则返回:kstrtol - convert a string to a 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 or a minus sign.
335  否则如果str[0]恒等于'+'则返回:kstrtol - convert a string to a 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 or a minus sign.
337  返回:负EINVAL
调用者
名称描述
parse_probe_argRecursive argument parser