函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_task_for_clock

函数原型:static inline struct task_struct *get_task_for_clock(const clockid_t clock)

返回类型:struct task_struct

参数:

类型参数名称
const clockid_tclock
108  返回:__get_task_for_clock(clock, true, false)
调用者
名称描述
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.