函数逻辑报告 |
Source Code:fs\stat.c |
Create Date:2022-07-29 10:32:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:vfs_statx - Get basic and extra attributes by filename*@dfd: A file descriptor representing the base dir for a relative filename*@filename: The name of the file of interest*@flags: Flags to control the query*@stat: The result structure to fill in
函数原型:int vfs_statx(int dfd, const char __user *filename, int flags, struct kstat *stat, unsigned int request_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | dfd | |
const char __user * | filename | |
int | flags | |
struct kstat * | stat | |
unsigned int | request_mask |
175 | 如果flags按位与Do not follow symbolic links. 按位或Suppress terminal automount traversal 按位或Allow empty relative pathname 按位或KSTAT_QUERY_FLAGS的值的反的值不等于0则返回:负EINVAL |
179 | 如果flags按位与Do not follow symbolic links. 则lookup_flags与等于llow links at the end 的反 |
186 | retry : |
187 | error等于user_path_at(dfd, filename, lookup_flags, & path) |
195 | 转到:retry |
197 | out : |
198 | 返回:error |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |