函数逻辑报告 |
Source Code:fs\stat.c |
Create Date:2022-07-29 10:32:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cp_statx
函数原型:static __attribute__((__noinline__)) int cp_statx(const struct kstat *stat, struct statx __user *buffer)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct kstat * | stat | |
struct statx __user * | buffer |
536 | Number of hard links 等于nlink |
540 | Inode number 等于ino |
545 | tv_nsec等于 nanoseconds |
547 | tv_nsec等于 nanoseconds |
549 | tv_nsec等于 nanoseconds |
551 | tv_nsec等于 nanoseconds |
553 | stx_rdev_minor等于MINOR(rdev) |
555 | stx_dev_minor等于MINOR(dev) |
557 | 返回:如果copy_to_user(buffer, & tmp, tmp的长度)则负EFAULT否则0 |
名称 | 描述 |
---|---|
SYSCALL_DEFINE5 | sys_statx - System call to get enhanced stats*@dfd: Base directory to pathwalk from *or* fd to stat.*@filename: File to stat or "" with AT_EMPTY_PATH*@flags: AT_* flags to control pathwalk.*@mask: Parts of statx struct actually required. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |