Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_timespec64

Proto:int get_timespec64(struct timespec64 *ts, const struct __kernel_timespec __user *uts)

Type:int

Parameter:

TypeParameterName
struct timespec64 *ts
const struct __kernel_timespec __user *uts
878  ret = copy_from_user( & kts, uts, size of kts )
879  If ret Then Return -EFAULT
882  seconds = seconds
885  If in_compat_syscall() Then nanoseconds &= 0xFFFFFFFFUL
889  nanoseconds = nanoseconds
891  Return 0
Caller
NameDescribe
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