函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\aio.c Create Date:2022-07-29 10:53:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:aio_private_file

函数原型:static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages)

返回类型:struct file

参数:

类型参数名称
struct kioctx *ctx
loff_tnr_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.
239  如果是错误则返回:错误指示
242  a_ops等于aio_ctx_aops
243  private_data等于ctx
244  i_size等于PAGE_SIZEnr_pages
246  file等于alloc_file_pseudo(inode, aio_mnt, "[aio]", O_RDWR, & aio_ring_fops)
248  如果是错误放置一个索引节点
250  返回:file
调用者
名称描述
aio_setup_ring