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

Name:validate_clock_permissions

Proto:static inline int validate_clock_permissions(const clockid_t clock)

Type:int

Parameter:

TypeParameterName
const clockid_tclock
118  Return If __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) Then 0 Else -EINVAL
Caller
NameDescribe
posix_cpu_clock_getres
posix_cpu_clock_set