函数逻辑报告 |
Source Code:fs\notify\fdinfo.c |
Create Date:2022-07-29 10:48:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:show_mark_fhandle
函数原型:static void show_mark_fhandle(struct seq_file *m, struct inode *inode)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct seq_file * | m | |
| struct inode * | inode |
| 44 | struct{struct file_handle handle;u8 pad[128];}f |
| 50 | handle_bytes等于pad的长度 |
| 51 | size等于handle_bytes右移2位 |
| 53 | ret等于exportfs_encode_inode_fh(inode, (structfid * ) file identifier , & size, NULL) |
| 54 | 如果ret恒等于FILEID_INVALID或ret小于0则 |
| 59 | handle_type等于ret |
| 60 | handle_bytes等于size乘sizeof(u32) |
| 62 | seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", handle_bytes, handle_type) |
| 65 | 以i小于handle_bytes循环seq_printf(m, "%02x", (int) file identifier [i]) |
| 名称 | 描述 |
|---|---|
| inotify_fdinfo | |
| fanotify_fdinfo |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |