Function report |
Source Code:kernel\futex.c |
Create Date:2022-07-28 10:55:12 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE6
Proto:SYSCALL_DEFINE6(futex, unsigned int __user *, uaddr, int, op, unsigned int, val, struct __kernel_timespec __user *, utime, unsigned int __user *, uaddr2, unsigned int, val3)
Type:
Parameter:Nothing
3917 | val2 = 0 |
3918 | cmd = op & FUTEX_CMD_MASK |
3920 | If utime && ( cmd == Second argument to futex syscall || cmd == FUTEX_LOCK_PI || cmd == FUTEX_WAIT_BITSET || cmd == FUTEX_WAIT_REQUEUE_PI ) Then |
3923 | If Value for the false possibility is greater at compile time(should_fail_futex(!(op & FUTEX_PRIVATE_FLAG))) Then Return -EFAULT |
3925 | If get_timespec64( & ts, utime) Then Return -EFAULT |
3927 | If Not Returns true if the timespec64 is norm, false if denorm: Then Return -EINVAL |
3939 | If cmd == FUTEX_REQUEUE || cmd == FUTEX_CMP_REQUEUE || cmd == FUTEX_CMP_REQUEUE_PI || cmd == FUTEX_WAKE_OP Then val2 = utime |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |