函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:SYSCALL_DEFINE4

函数原型:SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, const struct __kernel_timespec __user *, rqtp, struct __kernel_timespec __user *, rmtp)

返回类型:

参数:

131  :which_clock恒等于The IDs of the various system clocks (for POSIX.1b interval timers):
132  :which_clock恒等于CLOCK_MONOTONIC
133  :which_clock恒等于CLOCK_BOOTTIME
134  退出
135  默认
136  返回:负EINVAL
139  如果get_timespec64( & t, rqtp)则返回:负EFAULT
141  如果非Returns true if the timespec64 is norm, false if denorm:则返回:负EINVAL
143  如果prefix, newline flags 按位与The various flags for setting POSIX.1b interval timers:rmtp = NULL
145  type等于如果rmtpTT_NATIVE否则TT_NONE
146  rmtp等于rmtp
147  返回:hrtimer_nanosleep( & t, prefix, newline flags & The various flags for setting POSIX.1b interval timers: ? Time value is absolute : Time value is relative to now, which_clock)