函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_timespec64

函数原型:int get_timespec64(struct timespec64 *ts, const struct __kernel_timespec __user *uts)

返回类型:int

参数:

类型参数名称
struct timespec64 *ts
const struct __kernel_timespec __user *uts
878  ret等于copy_from_user( & kts, uts, kts的长度)
879  如果ret则返回:负EFAULT
882  seconds 等于 seconds
885  如果in_compat_syscall()则 nanoseconds 与等于0xFFFFFFFFUL
889  nanoseconds 等于 nanoseconds
891  返回:0
调用者
名称描述
COMPAT_SYSCALL_DEFINE4
get_itimerspec64
SYSCALL_DEFINE2
SYSCALL_DEFINE4
SYSCALL_DEFINE2We preserve minimal support for CLOCK_REALTIME and CLOCK_MONOTONIC* as it is easy to remain compatible with little code. CLOCK_BOOTTIME* is also included for convenience as at least systemd uses it.
SYSCALL_DEFINE4
SYSCALL_DEFINE6
prepare_timeout
SYSCALL_DEFINE5
do_compat_pselect
COMPAT_SYSCALL_DEFINE5New compat syscall for 64 bit time_t
SYSCALL_DEFINE4
SYSCALL_DEFINE6
COMPAT_SYSCALL_DEFINE6
io_timeout_prep
SYSCALL_DEFINE4sys_rt_sigtimedwait - synchronously wait for queued signals specified* in @uthese*@uthese: queued signals to wait for*@uinfo: if non-null, the signal's siginfo is returned here*@uts: upper bound on process time suspension*@sigsetsize: size of sigset_t type
ksys_semtimedop
do_pselect