函数逻辑报告 |
Source Code:fs\anon_inodes.c |
Create Date:2022-07-29 10:51:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:anon_inode_getfile - creates a new file instance by hooking it up to an* anonymous inode, and a dentry that describe the "class"* of the file*@name: [in] name of the "class" of the new file*@fops: [in] file operations for the new file*@priv: [in] private
函数原型:struct file *anon_inode_getfile(const char *name, const struct file_operations *fops, void *priv, int flags)
返回类型:struct file
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | name | |
const struct file_operations * | fops | |
void * | priv | |
int | flags |
83 | 如果owner且非判断模块是否处于活动状态则返回:错误号 |
91 | file等于alloc_file_pseudo(anon_inode_inode, anon_inode_mnt, name, flags & (O_ACCMODE | O_NONBLOCK), fops) |
100 | 返回:file |
102 | err : |
103 | 放置一个索引节点 |
104 | module_put(owner) |
105 | 返回:file |
名称 | 描述 |
---|---|
anon_inode_getfd | anon_inode_getfd - creates a new file instance by hooking it up to an* anonymous inode, and a dentry that describe the "class"* of the file*@name: [in] name of the "class" of the new file*@fops: [in] file operations for the new file*@priv: [in] private |
io_uring_get_fd | Allocate an anonymous fd, this is what constitutes the application* visible backing of an io_uring instance. The application mmaps this* fd to gain access to the SQ/CQ ring details. If UNIX sockets are enabled, |
copy_process | 创建进程 |
do_epoll_create | Open an eventpoll file descriptor. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |