Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SYSCALL_DEFINE3

Proto:SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value, struct itimerval __user *, ovalue)

Type:

Parameter:Nothing

342  If value Then
343  error = get_itimerval( & set_buffer, value)
344  If error Then Return error
346  Else
347  memset( & set_buffer, 0, size of set_buffer )
348  Print a one-time message (analogous to WARN_ONCE() et al):(warning conditions "%s calls setitimer() with new_value NULL pointer. Misfeature support will be removed\n", comm)
353  error = do_setitimer(which, & set_buffer, ovalue ? & get_buffer : NULL)
354  If error || Not ovalue Then Return error
357  If put_itimerval(ovalue, & get_buffer) Then Return -EFAULT
359  Return 0