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:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_task_for_clock

Proto:static inline struct task_struct *get_task_for_clock(const clockid_t clock)

Type:struct task_struct

Parameter:

TypeParameterName
const clockid_tclock
108  Return __get_task_for_clock(clock, true, false)
Caller
NameDescribe
posix_cpu_timer_createValidate the clockid_t for a new CPU-clock timer, and initialize the timer.* This is called from sys_timer_create() and do_cpu_nanosleep() with the* new timer already all-zeros initialized.