Function report |
Source Code:fs\stat.c |
Create Date:2022-07-28 20:03:03 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cp_compat_stat
Proto:static int cp_compat_stat(struct kstat *stat, struct compat_stat __user *ubuf)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kstat * | stat | |
| struct compat_stat __user * | ubuf |
| 596 | If Not acceptable for old filesystems || Not acceptable for old filesystems Then Return -EOVERFLOW |
| 600 | st_dev = old_encode_dev(dev) |
| 610 | st_rdev = old_encode_dev(rdev) |
| 611 | If size > MAX_NON_LFS Then Return -EOVERFLOW |
| 615 | st_atime_nsec = nanoseconds |
| 617 | st_mtime_nsec = nanoseconds |
| 619 | st_ctime_nsec = nanoseconds |
| 621 | st_blksize = Preferred I/O size |
| 622 | Return If copy_to_user(ubuf, & tmp, size of tmp ) Then -EFAULT Else 0 |
| Name | Describe |
|---|---|
| COMPAT_SYSCALL_DEFINE2 | |
| COMPAT_SYSCALL_DEFINE2 | |
| COMPAT_SYSCALL_DEFINE2 |
| 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 |