Function report |
Source Code:fs\file_table.c |
Create Date:2022-07-28 20:01:52 |
| Last Modify:2020-03-18 10:20:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_file_pseudo
Proto:struct file *alloc_file_pseudo(struct inode *inode, struct vfsmount *mnt, const char *name, int flags, const struct file_operations *fops)
Type:struct file
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| struct vfsmount * | mnt | |
| const char * | name | |
| int | flags | |
| const struct file_operations * | fops |
| 218 | static const struct dentry_operations anon_ops = {d_dname = simple_dname} |
| 225 | dentry = d_alloc_pseudo( pointer to superblock , & this) |
| 228 | If Not s_d_op Then d_set_d_op(dentry, & anon_ops) |
| 237 | Return file |
| Name | Describe |
|---|---|
| create_pipe_files | |
| anon_inode_getfile | 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 |
| aio_private_file |
| 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 |