函数逻辑报告

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

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

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

返回类型:int

参数:

类型参数名称
const char *s
unsigned intbase
unsigned long *res
350  如果sizeof(unsignedlong)恒等于sizeof(unsignedlonglong)且__alignof__(unsignedlong)恒等于__alignof__(unsignedlonglong)则返回:kstrtoull(s, base, (unsignedlonglong * )res)
353  否则返回:Internal, do not use.
调用者
名称描述
kstrtoul_from_user
test_dev_config_update_uint_sync
test_dev_config_update_uint_range
store_interrupt_enable
store_threshold_limit
reload_store
bw_validate_amdCheck whether MBA bandwidth percentage value is correct. The value is* checked against the minimum and maximum bandwidth values specified by* the hardware. The allocated bandwidth percentage is rounded to the next* control step available on the hardware.
bw_validateCheck whether MBA bandwidth percentage value is correct. The value is* checked against the minimum and max bandwidth values specified by the* hardware. The allocated bandwidth percentage is rounded to the next* control step available on the hardware.
cbm_validate_intelCheck whether a cache bit mask is valid. The SDM says:* Please note that all (and only) contiguous '1' combinations* are allowed (e.g. FFFFH, 0FF0H, 003CH, etc.).* Additionally Haswell requires at least two bits set.
cbm_validate_amdCheck whether a cache bit mask is valid. AMD allows non-contiguous* bitmasks
parse_lineFor each domain in this resource we expect to find a series of:* id=mask* separated by ";". The "id" is in decimal, and must match one of* the "id"s for this resource.
set_corruption_check
set_corruption_check_period
param_set_ulong
kexec_crash_size_store
param_set_first_fqs_jiffies
param_set_next_fqs_jiffies
gcov_persist_setup
trace_pid_write
set_tracing_thresh
event_trigger_callbackvent_trigger_callback - Generic event_command @func implementation*@cmd_ops: The command ops, used for trigger registration*@file: The trace_event_file associated with the event*@glob: The raw string used to register the trigger*@cmd: The cmd portion of
event_enable_trigger_func
parse_map_size
trace_kprobe_create
find_fetch_type
parse_probe_vars
str_to_immediate
parse_probe_argRecursive argument parser
trace_uprobe_create
perf_event_parse_addr_filterAddress filter string parser
read_ahead_kb_store
nr_hugepages_store_common
nr_overcommit_hugepages_store
tokenize_frame_descr
dump_str_object_info
kmemleak_writeFile write operation to configure kmemleak at run-time
queue_var_store
bfq_var_store
getoptionsan have zero or more token= options
checkreqprot_setup
apparmor_enabled_setup
integrity_audit_setupma_audit_setup - enable informational auditing messages
ima_parse_rule