Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:show_vfsstat

Proto:static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
struct vfsmount *mnt
195  p = private
196  r = real_mount(mnt)
197  struct path mnt_path = {dentry = root of the mounted tree , mnt = mnt}
198  sb = The root of the dentry tree
202  If show_devname Then
203  seq_puts(m, "device ")
204  err = show_devname(m, dentry)
205  If err Then Go to out
207  Else
209  seq_puts(m, "device ")
211  Else seq_puts(m, "no device")
216  seq_puts(m, " mounted on ")
218  err = Same as seq_path, but relative to supplied root.
219  If err Then Go to out
221  seq_putc(m, ' ')
224  seq_puts(m, "with fstype ")
225  show_type(m, sb)
228  If show_stats Then
229  seq_putc(m, ' ')
230  err = show_stats(m, dentry)
233  seq_putc(m, '\n')
234  out :
235  Return err