函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:COMPAT_SYSCALL_DEFINE3

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

返回类型:

参数:

389  如果value
390  error等于get_old_itimerval32( & set_buffer, value)
391  如果error则返回:error
393  否则
394  memset( & set_buffer, 0, set_buffer的长度)
395  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)
400  error等于do_setitimer(which, & set_buffer, ovalue ? & get_buffer : NULL)
401  如果error或非ovalue则返回:error
403  如果put_old_itimerval32(ovalue, & get_buffer)则返回:负EFAULT
405  返回:0