函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This 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

函数原型:void posixtimer_rearm(struct kernel_siginfo *info)

返回类型:void

参数:

类型参数名称
struct kernel_siginfo *info
292  timr等于lock_timer(si_tid, & flags)
293  如果非timr则返回
296  如果it_intervalit_requeue_pending恒等于si_sys_private
297  timer_rearm(timr)
299  it_active等于1
300  it_overrun_last等于it_overrun
301  it_overrun等于负1LL
302  it_requeue_pending先自加
304  si_overrun等于The siginfo si_overrun field and the return value of timer_getoverrun(2)* are of type int. Clamp the overrun value to INT_MAX
307  unlock_timer(timr, flags)