| 函数逻辑报告 | 
| Source Code: fs\proc_namespace.c | Create Date:2022-07-29 10:47:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:mounts_open_common
函数原型:static int mounts_open_common(struct inode *inode, struct file *file, int (*show)(struct seq_file *, struct vfsmount *))
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct inode * | inode | |
| struct file * | file | |
| int (* | show | 
| 241 | task等于get_proc_task(inode) | 
| 243 | struct mnt_namespace * ns = NULL | 
| 260 | get_mnt_ns(ns) | 
| 261 | 如果非文件系统信息则 | 
| 267 | get_fs_root(文件系统信息, & root) | 
| 268 | task_unlock(task) | 
| 269 | put_task_struct(task) | 
| 271 | ret等于seq_open_private(file, & mounts_op, sizeof(structproc_mounts)) | 
| 272 | 如果ret则转到:err_put_path | 
| 276 | poll_event等于event | 
| 282 | cached_event等于0ULL的反 | 
| 284 | 返回:0 | 
| 286 | err_put_path : | 
| 288 | err_put_ns : | 
| 289 | put_mnt_ns(ns) | 
| 290 | err : | 
| 291 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| mounts_open | |
| mountinfo_open | |
| mountstats_open | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |