函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__timespec_to_jiffies

函数原型:static unsigned long __timespec_to_jiffies(unsigned long sec, long nsec)

返回类型:unsigned long

参数:

类型参数名称
unsigned longsec
longnsec
647  返回:The TICK_NSEC - 1 rounds up the value to the next resolution
调用者
名称描述
timeval_to_jiffiesWe could use a similar algorithm to timespec_to_jiffies (with a* different multiplier for usec instead of nsec)