函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\timerfd.c Create Date:2022-07-29 10:51:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static void timerfd_triggered(struct timerfd_ctx *ctx)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
timerfd_tmrproc
timerfd_alarmproc