Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-28 10:46:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:common_hrtimer_try_to_cancel

Proto:static int common_hrtimer_try_to_cancel(struct k_itimer *timr)

Type:int

Parameter:

TypeParameterName
struct k_itimer *timr
805  Return hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped