函数逻辑报告 | 
Source Code:fs\stat.c | 
Create Date:2022-07-29 10:32:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:cp_new_stat
函数原型:static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct kstat * | stat | |
| struct stat __user * | statbuf | 
| 307 | 如果size大于MAX_NON_LFS则返回:负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 | 返回:如果copy_to_user(statbuf, & tmp, tmp的长度)则负EFAULT否则0 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |