函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:validate_clock_permissions

函数原型:static inline int validate_clock_permissions(const clockid_t clock)

返回类型:int

参数:

类型参数名称
const clockid_tclock
118  返回:如果__get_task_for_clock(clock, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., false)则0否则负EINVAL
调用者
名称描述
posix_cpu_clock_getres
posix_cpu_clock_set