函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_proc_dointvec_ms_jiffies_conv

函数原型:static int do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data)

返回类型:int

参数:

类型参数名称
bool *negp
unsigned long *lvalp
int *valp
intwrite
void *data
3039  如果write
3040  jif等于msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
3042  如果jif大于INT_MAX则返回:1
3044  valp等于jif
3045  否则
3046  val等于valp
3048  如果val小于0则
3049  * negp = true
3050  lval等于负val
3051  否则
3052  * negp = false
3053  lval等于val
3055  lvalp等于Convert various time units to each other:
3057  返回:0