Lines Matching refs:aio_ring_file
166 struct file *aio_ring_file; member
284 struct file *aio_ring_file = ctx->aio_ring_file; in put_aio_ring_file() local
287 if (aio_ring_file) { in put_aio_ring_file()
288 truncate_setsize(file_inode(aio_ring_file), 0); in put_aio_ring_file()
291 i_mapping = aio_ring_file->f_mapping; in put_aio_ring_file()
294 ctx->aio_ring_file = NULL; in put_aio_ring_file()
297 fput(aio_ring_file); in put_aio_ring_file()
341 if (ctx && ctx->aio_ring_file == file) { in aio_ring_mremap()
481 ctx->aio_ring_file = NULL; in aio_setup_ring()
485 ctx->aio_ring_file = file; in aio_setup_ring()
528 ctx->mmap_base = do_mmap_pgoff(ctx->aio_ring_file, 0, ctx->mmap_size, in aio_setup_ring()