函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline int timer_overrun_to_int(struct k_itimer *timr, int baseval)

返回类型:int

参数:

类型参数名称
struct k_itimer *timr
intbaseval
262  sum等于it_overrun_lastbaseval
264  返回:如果sum大于INT_MAXINT_MAX否则sum
调用者
名称描述
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