Function report |
Source Code:fs\stat.c |
Create Date:2022-07-28 20:03:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cp_new_stat
Proto:static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kstat * | stat | |
struct stat __user * | statbuf |
307 | If size > MAX_NON_LFS Then Return -EOVERFLOW |
312 | st_dev = encode_dev(dev) |
322 | st_rdev = encode_dev(rdev) |
328 | st_atime_nsec = nanoseconds |
329 | st_mtime_nsec = nanoseconds |
330 | st_ctime_nsec = nanoseconds |
333 | st_blksize = Preferred I/O size |
334 | Return If copy_to_user(statbuf, & tmp, size of tmp ) Then -EFAULT Else 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE2 | |
SYSCALL_DEFINE2 | |
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 |