函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rate_limit_us_store

函数原型:static ssize_t rate_limit_us_store(struct gov_attr_set *attr_set, const char *buf, size_t count)

返回类型:ssize_t

参数:

类型参数名称
struct gov_attr_set *attr_set
const char *buf
size_tcount
604  tunables等于to_sugov_tunables(attr_set)
608  如果kstrtouint - convert a string to an unsigned 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, but not a minus sign.则返回:负EINVAL
611  rate_limit_us等于rate_limit_us
613  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(sg_policy, & policy_list, tunables_hook)
614  freq_update_delay_ns等于rate_limit_usNSEC_PER_USEC
616  返回:count