Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpufreq_schedutil.c Create Date:2022-07-28 09:45:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rate_limit_us_store

Proto:static ssize_t rate_limit_us_store(struct gov_attr_set *attr_set, const char *buf, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct gov_attr_set *attr_set
const char *buf
size_tcount
604  tunables = to_sugov_tunables(attr_set)
608  If 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. Then Return -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_us * NSEC_PER_USEC
616  Return count