函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kstrtoint - convert a string to an int*@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.

函数原型:int kstrtoint(const char *s, unsigned int base, int *res)

返回类型:int

参数:

类型参数名称
const char *s
unsigned intbase
int *res
253  rv等于kstrtoll - convert a string to a 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 or a minus sign.
254  如果rv小于0则返回:rv
256  如果tmp不等于tmp则返回:负ERANGE
258  res等于tmp
259  返回:0
调用者
名称描述
kstrtoint_from_user
rdtgroup_tasks_write
pseudo_lock_measure_trigger
rcu_expedited_store
rcu_normal_store
reboot_setup
setup_relax_domain_level
cgroup_procs_write_start
cgroup_max_descendants_write
cgroup_max_depth_write
cgroup_freeze_write
perf_event_mux_interval_ms_store
create_entryThis registers a new binary format, it recognises the syntax* ':name:type:offset:magic:mask:interpreter:flags'* where the ':' is the IFS, that can be chosen with the first char
kobj_to_setup_data_nr
param_set_int
memory_oom_group_write
queue_poll_delay_store
ima_parse_rule
fs_parses_parse - Parse a filesystem configuration parameter*@fc: The filesystem context to log errors through