函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_cpu_itimer

函数原型:static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, u64 *expires, u64 cur_time, int signo)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
struct cpu_itimer *it
u64 *expires
u64cur_time
intsigno
879  如果非expires则返回
882  如果cur_time大于等于expires
883  如果increxpires加等于incr
885  否则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  如果expiresexpires小于expiresexpires等于expires
调用者
名称描述
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.