Function report |
Source Code:fs\select.c |
Create Date:2022-07-28 20:07:07 |
Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_compat_pselect
Proto:static long do_compat_pselect(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, void __user *tsp, compat_sigset_t __user *sigmask, compat_size_t sigsetsize, enum poll_time_type type)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
int | n | |
compat_ulong_t __user * | inp | |
compat_ulong_t __user * | outp | |
compat_ulong_t __user * | exp | |
void __user * | tsp | |
compat_sigset_t __user * | sigmask | |
compat_size_t | sigsetsize | |
enum poll_time_type | type |
1298 | struct timespec64 ts, end_time, * to = NULL |
1301 | If tsp Then |
1303 | Case type == PT_OLD_TIMESPEC |
1304 | If get_old_timespec32( & ts, tsp) Then Return -EFAULT |
1306 | Break |
1307 | Case type == PT_TIMESPEC |
1308 | If get_timespec64( & ts, tsp) Then Return -EFAULT |
1310 | Break |
1311 | Default |
1312 | BUG() |
1320 | ret = set_compat_user_sigmask(sigmask, sigsetsize) |
1325 | Return poll_select_finish( & end_time, tsp, type, ret) |
Name | Describe |
---|---|
COMPAT_SYSCALL_DEFINE6 |
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 |