Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kernel.h Create Date:2022-07-28 05:34:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline int __must_check kstrtol(const char *s, unsigned int base, long *res)

Type:int

Parameter:

TypeParameterName
const char *s
unsigned intbase
long *res
378  If sizeof(long) == sizeof(longlong) && __alignof__(long) == __alignof__(longlong) Then Return kstrtoll(s, base, (longlong * )res)
381  Else Return _kstrtol(s, base, res)
Caller
NameDescribe
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.