Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The siginfo si_overrun field and the return value of timer_getoverrun(2)* are of type int. Clamp the overrun value to INT_MAX

Proto:static inline int timer_overrun_to_int(struct k_itimer *timr, int baseval)

Type:int

Parameter:

TypeParameterName
struct k_itimer *timr
intbaseval
262  sum = it_overrun_last + baseval
264  Return If sum > INT_MAX Then INT_MAX Else sum
Caller
NameDescribe
posixtimer_rearmThis function is exported for use by the signal deliver code. It is* called just prior to the info block being released and passes that* block to us. It's function is to update the overrun entry AND to* restart the timer
SYSCALL_DEFINE1Get the number of overruns of a POSIX