函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Validate 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.

函数原型:static int posix_cpu_timer_create(struct k_itimer *new_timer)

返回类型:int

参数:

类型参数名称
struct k_itimer *new_timer
389  p等于get_task_for_clock(it_clock)
391  如果非p则返回:负EINVAL
394  kclock等于clock_posix_cpu
395  timerqueue_init( & node)
396  task等于p
397  返回:0
调用者
名称描述
do_cpu_nanosleep
process_cpu_timer_create
thread_cpu_timer_create