函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:show_vfsstat

函数原型:static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt)

返回类型:int

参数:

类型参数名称
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  如果show_devname
203  seq_puts(m, "device ")
204  err等于show_devname(m, dentry)
205  如果err则转到:out
207  否则
209  seq_puts(m, "device ")
211  否则seq_puts(m, "no device")
216  seq_puts(m, " mounted on ")
218  err等于Same as seq_path, but relative to supplied root.
219  如果err则转到:out
221  seq_putc(m, ' ')
224  seq_puts(m, "with fstype ")
225  show_type(m, sb)
228  如果show_stats
229  seq_putc(m, ' ')
230  err等于show_stats(m, dentry)
233  seq_putc(m, '\n')
234  out :
235  返回:err