Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__timespec_to_jiffies

Proto:static unsigned long __timespec_to_jiffies(unsigned long sec, long nsec)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longsec
longnsec
647  Return The TICK_NSEC - 1 rounds up the value to the next resolution
Caller
NameDescribe
timeval_to_jiffiesWe could use a similar algorithm to timespec_to_jiffies (with a* different multiplier for usec instead of nsec)