Function report |
Source Code:fs\proc_namespace.c |
Create Date:2022-07-28 20:15:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:show_mountinfo
Proto:static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If show_path Then |
| 145 | Else |
| 155 | seq_puts(m, mnt_flags & does the user want this to be r/o? ? " ro" : " rw") |
| 156 | show_mnt_opts(m, mnt) |
| 159 | If IS_MNT_SHARED(r) Then seq_printf(m, " shared:%i", peer group identifier ) |
| 161 | If IS_MNT_SLAVE(r) Then |
| 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 | If IS_MNT_UNBINDABLE(r) Then seq_puts(m, " unbindable") |
| 175 | If show_devname Then |
| 176 | err = show_devname(m, root of the mounted tree ) |
| 179 | Else |
| 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 | If show_options Then err = show_options(m, root of the mounted tree ) |
| 189 | out : |
| 190 | Return err |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |