函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kernel.h Create Date:2022-07-27 06:38:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline int __must_check kstrtol(const char *s, unsigned int base, long *res)

返回类型:int

参数:

类型参数名称
const char *s
unsigned intbase
long *res
378  如果sizeof(long)恒等于sizeof(longlong)且__alignof__(long)恒等于__alignof__(longlong)则返回:kstrtoll(s, base, (longlong * )res)
381  否则返回:_kstrtol(s, base, res)
调用者
名称描述
kstrtol_from_user
test_dev_config_update_u8
test_dev_config_update_int
param_set_long
traceprobe_split_symbol_offsetSplit symbol and offset.
str_to_immediate
parse_probe_argRecursive argument parser
datablob_parsedatablob_parse - parse the keyctl data and fill in the* payload and options structures* On success returns 0, otherwise -EINVAL.
encrypted_key_allocAllocate memory for decrypted key and datablob.