diff options
author | Yuwei Wang <wangyuweihx@gmail.com> | 2022-06-29 08:48:31 +0000 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-06-30 13:14:35 +0200 |
commit | c381d02b2fd5f82d2207db1b9b25ff60d0d9c27c (patch) | |
tree | 9edc706e72e6d744f193d348ff5fa17c3574c2f6 /include/linux/sysctl.h | |
parent | d19b4c52f7c99fdc5198a6f5885ba818245966cd (diff) | |
download | linux-c381d02b2fd5f82d2207db1b9b25ff60d0d9c27c.tar.gz linux-c381d02b2fd5f82d2207db1b9b25ff60d0d9c27c.tar.bz2 linux-c381d02b2fd5f82d2207db1b9b25ff60d0d9c27c.zip |
sysctl: add proc_dointvec_ms_jiffies_minmax
add proc_dointvec_ms_jiffies_minmax to fit read msecs value to jiffies
with a limited range of values
Signed-off-by: Yuwei Wang <wangyuweihx@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 80263f7cdb77..17b42ce89d3e 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -75,6 +75,8 @@ int proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, int proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos); int proc_dointvec_jiffies(struct ctl_table *, int, void *, size_t *, loff_t *); +int proc_dointvec_ms_jiffies_minmax(struct ctl_table *table, int write, + void *buffer, size_t *lenp, loff_t *ppos); int proc_dointvec_userhz_jiffies(struct ctl_table *, int, void *, size_t *, loff_t *); int proc_dointvec_ms_jiffies(struct ctl_table *, int, void *, size_t *, |