函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:check_rlimit

函数原型:static bool check_rlimit(u64 time, u64 limit, int signo, bool rt, bool hard)

返回类型:bool

参数:

类型参数名称
u64time
u64limit
intsigno
boolrt
boolhard
809  如果time小于limit则返回:false
812  如果print_fatal_signals
813  打印信息("%s Watchdog Timeout (%s): %s[%d]\n", rt ? "RT" : "CPU", hard ? "hard" : "soft", comm, task_pid_nr(当前进程))
817  __group_send_sig_info(signo, SEND_SIG_PRIV, 当前进程)
818  返回:true
调用者
名称描述
check_thread_timersCheck for any per-thread CPU timers that have fired and move them off* the tsk->cpu_timers[N] list onto the firing list. Here we update the
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.