函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:param_set_next_fqs_jiffies

函数原型:static int param_set_next_fqs_jiffies(const char *val, const struct kernel_param *kp)

返回类型:int

参数:

类型参数名称
const char *val
const struct kernel_param *kp
476  ret等于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.
478  如果非ret
479  WRITE_ONCE( * (ulong * )arg, (j > HZ) ? HZ : (j ? : 1))
480  Make sure that we give the grace-period kthread time to detect any* idle CPUs before taking active measures to force quiescent states.* However, don't go below 100 milliseconds, adjusted upwards for really* large systems.
482  返回:ret