Function report |
Source Code:fs\statfs.c |
Create Date:2022-07-28 20:12:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:COMPAT_SYSCALL_DEFINE2(ustat, unsigned, dev, struct compat_ustat __user *, u)
Type:
Parameter:Nothing
| 390 | err = vfs_ustat(new_decode_dev(dev), & sbuf) |
| 394 | memset( & tmp, 0, sizeof(structcompat_ustat)) |
| 397 | If copy_to_user(u, & tmp, sizeof(structcompat_ustat)) Then Return -EFAULT |
| 399 | Return 0 |
| 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 |