Go to the source code of this file.
typedef struct MPIO_Datatype_s MPIO_Datatype |
static MPIO_Datatype * MPIO_Datatype_allocate | ( | MPI_Datatype | type | ) | [static] |
Definition at line 458 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop, MPIO_Datatype_s::dloop_depth, MPIO_Datatype_s::dloop_size, malloc(), MPI_Type_set_attr, MPIO_Datatype_keyval, MPIO_Datatype_s::refct, and MPIO_Datatype_s::valid.
Referenced by MPIO_Datatype_get_block_info(), MPIO_Datatype_get_extent(), MPIO_Datatype_get_size(), MPIO_Datatype_init_dataloop(), MPIO_Datatype_set_loopdepth(), MPIO_Datatype_set_loopptr(), and MPIO_Datatype_set_loopsize().
static void MPIO_Datatype_set_szext | ( | MPI_Datatype | type, | |
MPIO_Datatype * | dtp | |||
) | [static] |
Definition at line 489 of file romio_dataloop.c.
References MPIO_Datatype_s::extent, lb, MPI_Type_get_true_extent, MPI_Type_size, MPIO_Datatype_s::size, size, MPIO_Datatype_s::true_extent, MPIO_Datatype_s::true_lb, true_lb, and MPIO_Datatype_s::valid.
Referenced by MPIO_Datatype_get_block_info(), MPIO_Datatype_get_extent(), and MPIO_Datatype_get_size().
static int MPIO_Datatype_initialize | ( | void | ) | [static] |
Definition at line 405 of file romio_dataloop.c.
References MPIO_Datatype_copy_attr_function(), MPIO_Datatype_delete_attr_function(), MPIO_Datatype_finalize(), MPIO_Datatype_finalize_keyval, and MPIO_Datatype_keyval.
Referenced by MPIO_Datatype_get_extent(), MPIO_Datatype_get_loopdepth(), MPIO_Datatype_get_loopptr(), MPIO_Datatype_get_loopsize(), MPIO_Datatype_get_size(), MPIO_Datatype_init_dataloop(), MPIO_Datatype_set_loopdepth(), MPIO_Datatype_set_loopptr(), and MPIO_Datatype_set_loopsize().
static int MPIO_Datatype_finalize | ( | MPI_Comm | comm, | |
int | comm_keyval, | |||
void * | attrval, | |||
void * | extrastate | |||
) | [static] |
Definition at line 437 of file romio_dataloop.c.
References MPI_Type_free_keyval, MPIO_Datatype_finalize_keyval, and MPIO_Datatype_keyval.
Referenced by MPIO_Datatype_initialize().
static int MPIO_Datatype_copy_attr_function | ( | MPI_Datatype | type, | |
int | type_keyval, | |||
void * | extra_state, | |||
void * | attribute_val_in, | |||
void * | attribute_val_out, | |||
int * | flag | |||
) | [static] |
Definition at line 526 of file romio_dataloop.c.
References MPIO_Datatype_s::refct.
Referenced by MPIO_Datatype_initialize().
static int MPIO_Datatype_delete_attr_function | ( | MPI_Datatype | type, | |
int | type_keyval, | |||
void * | attribute_val, | |||
void * | extra_state | |||
) | [static] |
Definition at line 549 of file romio_dataloop.c.
References free(), and MPIO_Datatype_s::refct.
Referenced by MPIO_Datatype_initialize().
void MPIO_Datatype_init_dataloop | ( | MPI_Datatype | type | ) |
Definition at line 71 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop, MPIO_Datatype_s::dloop_depth, MPIO_Datatype_s::dloop_size, MPIO_Datatype_allocate(), MPIO_Datatype_initialize(), MPIO_Datatype_is_nontrivial(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
void MPIO_Datatype_get_size | ( | MPI_Datatype | type, | |
MPI_Offset * | size_p | |||
) |
Definition at line 101 of file romio_dataloop.c.
References MPIO_Datatype_allocate(), MPIO_Datatype_initialize(), MPIO_Datatype_keyval, MPIO_Datatype_set_szext(), MPIO_Datatype_s::size, and MPIO_Datatype_s::valid.
Referenced by MPIO_File_ds_io(), MPIO_Segment_contig_file_ds(), and MPIO_Segment_contig_fv2ib().
void MPIO_Datatype_get_extent | ( | MPI_Datatype | type, | |
MPI_Offset * | extent_p | |||
) |
Definition at line 125 of file romio_dataloop.c.
References MPIO_Datatype_s::extent, MPIO_Datatype_allocate(), MPIO_Datatype_initialize(), MPIO_Datatype_keyval, MPIO_Datatype_set_szext(), and MPIO_Datatype_s::valid.
void MPIO_Datatype_get_block_info | ( | MPI_Datatype | type, | |
MPI_Offset * | true_lb_p, | |||
MPI_Offset * | count_p, | |||
int * | n_contig_p | |||
) |
Definition at line 158 of file romio_dataloop.c.
References MPIO_Datatype_s::contig_blks, MPIO_Datatype_s::dloop, MPIO_Datatype_s::dloop_depth, MPIO_Datatype_s::dloop_size, MPIO_Datatype_s::extent, MPIO_Datatype_allocate(), MPIO_Datatype_keyval, MPIO_Datatype_set_szext(), MPIO_Datatype_s::true_extent, MPIO_Datatype_s::true_lb, and MPIO_Datatype_s::valid.
Referenced by MPIO_File_ds_io().
void MPIO_Datatype_get_el_type | ( | MPI_Datatype | type, | |
MPI_Datatype * | eltype_p, | |||
int | flag | |||
) |
Definition at line 227 of file romio_dataloop.c.
References MPIO_Datatype_get_loopptr().
Referenced by MPIO_File_ds_io().
void MPIO_Datatype_get_loopptr | ( | MPI_Datatype | type, | |
MPIO_Dataloop ** | ptr_p, | |||
int | flag | |||
) |
Definition at line 265 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop, MPIO_Datatype_initialize(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
Referenced by MPIO_Datatype_get_el_type().
void MPIO_Datatype_get_loopsize | ( | MPI_Datatype | type, | |
int * | size_p, | |||
int | flag | |||
) |
Definition at line 287 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop_size, MPIO_Datatype_initialize(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
void MPIO_Datatype_get_loopdepth | ( | MPI_Datatype | type, | |
int * | depth_p, | |||
int | flag | |||
) |
Definition at line 307 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop_depth, MPIO_Datatype_initialize(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
void MPIO_Datatype_set_loopptr | ( | MPI_Datatype | type, | |
MPIO_Dataloop * | ptr, | |||
int | flag | |||
) |
Definition at line 327 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop, MPIO_Datatype_allocate(), MPIO_Datatype_initialize(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
void MPIO_Datatype_set_loopsize | ( | MPI_Datatype | type, | |
int | size, | |||
int | flag | |||
) |
Definition at line 349 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop_size, MPIO_Datatype_allocate(), MPIO_Datatype_initialize(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
void MPIO_Datatype_set_loopdepth | ( | MPI_Datatype | type, | |
int | depth, | |||
int | flag | |||
) |
Definition at line 369 of file romio_dataloop.c.
References MPIO_Datatype_s::dloop_depth, MPIO_Datatype_allocate(), MPIO_Datatype_initialize(), MPIO_Datatype_keyval, and MPIO_Datatype_s::valid.
int MPIO_Datatype_is_nontrivial | ( | MPI_Datatype | type | ) |
Definition at line 389 of file romio_dataloop.c.
Referenced by MPIO_Datatype_init_dataloop().
int MPIO_Datatype_keyval = MPI_KEYVAL_INVALID [static] |
Definition at line 48 of file romio_dataloop.c.
Referenced by MPIO_Datatype_allocate(), MPIO_Datatype_finalize(), MPIO_Datatype_get_block_info(), MPIO_Datatype_get_extent(), MPIO_Datatype_get_loopdepth(), MPIO_Datatype_get_loopptr(), MPIO_Datatype_get_loopsize(), MPIO_Datatype_get_size(), MPIO_Datatype_init_dataloop(), MPIO_Datatype_initialize(), MPIO_Datatype_set_loopdepth(), MPIO_Datatype_set_loopptr(), and MPIO_Datatype_set_loopsize().
int MPIO_Datatype_finalize_keyval = MPI_KEYVAL_INVALID [static] |
Definition at line 49 of file romio_dataloop.c.
Referenced by MPIO_Datatype_finalize(), and MPIO_Datatype_initialize().