函数逻辑报告 |
Source Code:fs\proc_namespace.c |
Create Date:2022-07-29 10:47:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:show_mountinfo
函数原型:static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct seq_file * | m | |
| struct vfsmount * | mnt |
| 134 | r等于real_mount(mnt) |
| 135 | sb等于 pointer to superblock |
| 139 | seq_printf(m, "%i %i %u:%u ", mount identifier , mount identifier , MAJOR(s_dev), MINOR(s_dev)) |
| 141 | 如果show_path则 |
| 145 | 否则 |
| 155 | seq_puts(m, mnt_flags & does the user want this to be r/o? ? " ro" : " rw") |
| 156 | show_mnt_opts(m, mnt) |
| 159 | 如果IS_MNT_SHARED(r)则seq_printf(m, " shared:%i", peer group identifier ) |
| 161 | 如果IS_MNT_SLAVE(r)则 |
| 162 | master等于 peer group identifier |
| 163 | dom等于Get ID of closest dominating peer group having a representative* under the given root.* Caller must hold namespace_sem |
| 164 | seq_printf(m, " master:%i", master) |
| 168 | 如果IS_MNT_UNBINDABLE(r)则seq_puts(m, " unbindable") |
| 175 | 如果show_devname则 |
| 176 | err等于show_devname(m, root of the mounted tree ) |
| 179 | 否则 |
| 180 | mangle(m, Name of device e.g. /dev/dsk/hda1 ? Name of device e.g. /dev/dsk/hda1 : "none") |
| 183 | err等于show_sb_opts(m, sb) |
| 186 | 如果show_options则err等于show_options(m, root of the mounted tree ) |
| 189 | out : |
| 190 | 返回:err |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |