| Function report | 
| Source Code: fs\statfs.c | Create Date:2022-07-28 20:12:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:vfs_ustat
Proto:static int vfs_ustat(dev_t dev, struct kstatfs *sbuf)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| dev_t | dev | |
| struct kstatfs * | sbuf | 
| 236 | s = user_get_super(dev) | 
| 241 | err = statfs_by_dentry(s_root, sbuf) | 
| 242 | drop_super(s) | 
| 243 | Return err | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE2 | |
| COMPAT_SYSCALL_DEFINE2 | This is a copy of sys_ustat, just dealing with a structure layout.* Given how simple this syscall is that apporach is more maintainable* than the various conversion hacks. | 
| 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 |