Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\timerfd.c Create Date:2022-07-28 20:19:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This gets called when the timer event triggers. We set the "expired"* flag, but we do not re-arm the timer (in case it's necessary,* tintv != 0) until the timer is accessed.

Proto:static void timerfd_triggered(struct timerfd_ctx *ctx)

Type:void

Parameter:

TypeParameterName
struct timerfd_ctx *ctx
66  spin_lock_irqsave( & lock, flags)
67  expired = 1
68  ticks++
69  wake_up_locked_poll( & wqh, Epoll event masks )
70  spin_unlock_irqrestore( & lock, flags)
Caller
NameDescribe
timerfd_tmrproc
timerfd_alarmproc