函数逻辑报告 |
Source Code:fs\notify\inotify\inotify_user.c |
Create Date:2022-07-29 10:49:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:inotify_read
函数原型:static ssize_t inotify_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
char __user * | buf | |
size_t | count | |
loff_t * | pos |
225 | 当1循环 |
226 | 加自旋锁 |
228 | 自旋锁解锁 |
232 | 如果kevent则 |
236 | ret等于Copy an event to user space, returning how much we copied.* We already checked that the event size is smaller than the* buffer we had in "get_one_event()" above. |
242 | 继续下一循环 |
246 | 如果f_flags按位与O_NONBLOCK则退出 |
249 | 如果signal_pending(当前进程)则退出 |
261 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |