IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <assert.h>
#include "ior.h"
#include "aiori.h"
#include "iordef.h"
#include "utilities.h"
Go to the source code of this file.
Functions | |
static void * | MMAP_Create (char *, IOR_param_t *) |
static void * | MMAP_Open (char *, IOR_param_t *) |
static IOR_offset_t | MMAP_Xfer (int, void *, IOR_size_t *, IOR_offset_t, IOR_param_t *) |
static void | MMAP_Close (void *, IOR_param_t *) |
static void | MMAP_Fsync (void *, IOR_param_t *) |
static void | ior_mmap_file (int *file, IOR_param_t *param) |
Variables | |
ior_aiori_t | mmap_aiori |
|
static |
Definition at line 52 of file aiori-MMAP.c.
References ERR, IOR_param_t::expectedAggFileSize, IOR_param_t::mmap_ptr, NULL, IOR_param_t::open, IOR_param_t::randomOffset, size, and WRITE.
Referenced by MMAP_Create(), and MMAP_Open().
|
static |
Definition at line 138 of file aiori-MMAP.c.
References ERR, IOR_param_t::expectedAggFileSize, IOR_param_t::mmap_ptr, NULL, and POSIX_Close().
|
static |
Definition at line 81 of file aiori-MMAP.c.
References ERR, IOR_param_t::expectedAggFileSize, ior_mmap_file(), and POSIX_Create().
|
static |
Definition at line 129 of file aiori-MMAP.c.
References EWARN, IOR_param_t::expectedAggFileSize, and IOR_param_t::mmap_ptr.
|
static |
Definition at line 95 of file aiori-MMAP.c.
References ior_mmap_file(), and POSIX_Open().
|
static |
Definition at line 107 of file aiori-MMAP.c.
References ERR, IOR_param_t::fsyncPerWrite, IOR_param_t::mmap_ptr, IOR_param_t::offset, TRUE, and WRITE.
ior_aiori_t mmap_aiori |
Definition at line 38 of file aiori-MMAP.c.