函数逻辑报告 |
Source Code:fs\eventpoll.c |
Create Date:2022-07-29 10:50:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ep_alloc
函数原型:static int ep_alloc(struct eventpoll **pep)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
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.() |
1001 | 如果此条件成立可能性小(为编译器优化)(!ep)则转到:free_uid |
1008 | 初始化链表头 |
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 | 返回:0 |
1017 | free_uid : |
1019 | 返回:error |
名称 | 描述 |
---|---|
do_epoll_create | Open an eventpoll file descriptor. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |