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:timerfd_alarmproc

Proto:static enum alarmtimer_restart timerfd_alarmproc(struct alarm *alarm, ktime_t now)

Type:enum alarmtimer_restart

Parameter:

TypeParameterName
struct alarm *alarm
ktime_tnow
84  ctx = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(alarm, structtimerfd_ctx, alarm)
86  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.
87  Return ALARMTIMER_NORESTART