Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-clock.c Create Date:2022-07-28 10:48:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pc_clock_adjtime

Proto:static int pc_clock_adjtime(clockid_t id, struct __kernel_timex *tx)

Type:int

Parameter:

TypeParameterName
clockid_tid
struct __kernel_timex *tx
231  err = get_clock_desc(id, & cd)
232  If err Then Return err
235  If (f_mode & le is open for writing ) == 0 Then
236  err = -EACCES
237  Go to out
240  If clock_adjtime Then err = clock_adjtime(clk, tx)
242  Else err = -EOPNOTSUPP
244  out :
245  put_clock_desc( & cd)
247  Return err