Lines Matching refs:mmap_size
123 unsigned long mmap_size; member
550 ctx->mmap_size = nr_pages * PAGE_SIZE; in aio_setup_ring()
551 pr_debug("attempting mmap of %lu bytes\n", ctx->mmap_size); in aio_setup_ring()
554 ctx->mmap_size = 0; in aio_setup_ring()
559 ctx->mmap_base = do_mmap(ctx->aio_ring_file, 0, ctx->mmap_size, in aio_setup_ring()
564 ctx->mmap_size = 0; in aio_setup_ring()
828 if (ctx->mmap_size) in ioctx_alloc()
829 vm_munmap(ctx->mmap_base, ctx->mmap_size); in ioctx_alloc()
874 if (ctx->mmap_size) in kill_ioctx()
875 vm_munmap(ctx->mmap_base, ctx->mmap_size); in kill_ioctx()
919 ctx->mmap_size = 0; in exit_aio()