#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.
|
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 option_help * | MMAP_options (void **init_backend_options, void *init_values) |
|
static void | ior_mmap_file (int *file, IOR_param_t *param) |
|
◆ ior_mmap_file()
static void ior_mmap_file |
( |
int * |
file, |
|
|
IOR_param_t * |
param |
|
) |
| |
|
static |
Definition at line 82 of file aiori-MMAP.c.
References IOR_param_t::backend_options, ERR, IOR_param_t::expectedAggFileSize, mmap_options_t::madv_dont_need, mmap_options_t::madv_pattern, mmap_options_t::mmap_ptr, NULL, o, IOR_param_t::open, IOR_param_t::randomOffset, size, and WRITE.
Referenced by MMAP_Create(), and MMAP_Open().
◆ MMAP_Close()
static void MMAP_Close |
( |
void * |
fd, |
|
|
IOR_param_t * |
param |
|
) |
| |
|
static |
◆ MMAP_Create()
static void * MMAP_Create |
( |
char * |
testFileName, |
|
|
IOR_param_t * |
param |
|
) |
| |
|
static |
◆ MMAP_Fsync()
static void MMAP_Fsync |
( |
void * |
fd, |
|
|
IOR_param_t * |
param |
|
) |
| |
|
static |
◆ MMAP_Open()
static void * MMAP_Open |
( |
char * |
testFileName, |
|
|
IOR_param_t * |
param |
|
) |
| |
|
static |
◆ MMAP_options()
static option_help * MMAP_options |
( |
void ** |
init_backend_options, |
|
|
void * |
init_values |
|
) |
| |
|
static |
◆ MMAP_Xfer()
◆ mmap_aiori
Initial value:= {
.name = "MMAP",
}
static void * MMAP_Create(char *, IOR_param_t *)
static void MMAP_Fsync(void *, IOR_param_t *)
static option_help * MMAP_options(void **init_backend_options, void *init_values)
char * aiori_get_version()
void POSIX_Delete(char *testFileName, IOR_param_t *param)
static void MMAP_Close(void *, IOR_param_t *)
IOR_offset_t POSIX_GetFileSize(IOR_param_t *test, MPI_Comm testComm, char *testFileName)
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 *)
Definition at line 39 of file aiori-MMAP.c.