Function report |
Source Code:fs\select.c |
Create Date:2022-07-28 20:07:05 |
Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_sys_poll
Proto:static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, struct timespec64 *end_time)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pollfd __user * | ufds | |
unsigned int | nfds | |
struct timespec64 * | end_time |
973 | If nfds > rlimit(RLIMIT_NOFILE) Then Return -EINVAL |
976 | len = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedint, nfds, N_STACK_PPS) |
977 | cycle |
978 | next = NULL |
980 | If Not len Then Break |
988 | If Not todo Then Break |
991 | len = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(todo, POLLFD_PER_PAGE) |
992 | walk = next = Allocation memory |
994 | If Not walk Then |
1000 | poll_initwait( & table) |
1002 | poll_freewait( & table) |
1008 | When j < len cycle If Write a simple value into user space, with less checking(revents, & revents) Then |
1010 | Go to out_fds |
1014 | out_fds : |
1022 | Return err |
Name | Describe |
---|---|
do_restart_poll | |
SYSCALL_DEFINE3 | |
SYSCALL_DEFINE5 | |
COMPAT_SYSCALL_DEFINE5 | New compat syscall for 64 bit time_t |
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 |