函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alarm_cancel - Spins trying to cancel an alarm timer until it is done*@alarm: ptr to alarm to be canceled* Returns 1 if the timer was canceled, 0 if it was not active.

函数原型:int alarm_cancel(struct alarm *alarm)

返回类型:int

参数:

类型参数名称
struct alarm *alarm
440  循环
441  ret等于alarm_try_to_cancel - Tries to cancel an alarm timer*@alarm: ptr to alarm to be canceled* Returns 1 if the timer was canceled, 0 if it was not running,* and -1 if the callback was running
442  如果ret大于等于0则返回:ret
444  hrtimer_cancel_wait_running( & timer)
调用者
名称描述
timerfd_release