函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:SYSCALL_DEFINE3

函数原型:SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value, struct itimerval __user *, ovalue)

返回类型:

参数:

342  如果value
343  error等于get_itimerval( & set_buffer, value)
344  如果error则返回:error
346  否则
347  memset( & set_buffer, 0, 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  如果error或非ovalue则返回:error
357  如果put_itimerval(ovalue, & get_buffer)则返回:负EFAULT
359  返回:0