Function report |
Source Code:fs\eventpoll.c |
Create Date:2022-07-28 20:19:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ep_alloc
Proto:static int ep_alloc(struct eventpoll **pep)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct eventpoll ** | pep |
998 | user = get_current_user - Get the current task's user_struct* Get the user record of the current task, pinning it so that it can't go* away.() |
1000 | ep = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
1001 | If Value for the false possibility is greater at compile time(!ep) Then Go to free_uid |
1010 | * This is a single linked list that chains all the "struct epitem" that * happened while transferring ready events to userspace w/out * holding ->lock. = EP_UNACTIVE_PTR |
1015 | Return 0 |
1017 | free_uid : |
1019 | Return error |
Name | Describe |
---|---|
do_epoll_create | Open an eventpoll file descriptor. |
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 |