Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:check_cpu_itimer

Proto:static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, u64 *expires, u64 cur_time, int signo)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
struct cpu_itimer *it
u64 *expires
u64cur_time
intsigno
879  If Not expires Then Return
882  If cur_time >= expires Then
883  If incr Then expires += incr
885  Else expires = 0
888  mer_expire - called when itimer expires*@which: type of the interval timer*@pid: pid of the process which owns the timer*@now: current time, used to calculate the latency of itimer
891  __group_send_sig_info(signo, SEND_SIG_PRIV, tsk)
894  If expires && expires < expires Then expires = expires
Caller
NameDescribe
check_process_timersCheck for any per-thread CPU timers that have fired and move them* off the tsk->*_timers list onto the firing list. Per-thread timers* have already been taken off.