| Function report | 
| Source Code: fs\aio.c | Create Date:2022-07-28 20:21:11 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:aio_private_file
Proto:static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages)
Type:struct file
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kioctx * | ctx | |
| loff_t | nr_pages | 
| 238 | inode = A single inode exists for all anon_inode files. Contrary to pipes,* anon_inode inodes have no associated per-instance data, so we need* only allocate one of them. | 
| 242 | a_ops = aio_ctx_aops | 
| 243 | private_data = ctx | 
| 246 | file = alloc_file_pseudo(inode, aio_mnt, "[aio]", O_RDWR, & aio_ring_fops) | 
| 248 | If IS_ERR(file) Then put an inode | 
| 250 | Return file | 
| Name | Describe | 
|---|---|
| aio_setup_ring | 
| 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 |