PPL Logo

libs/ck-libs/ampi/romio/common/dataloop/romio_dataloop.c File Reference

Go to the source code of this file.

Data Structures

struct  MPIO_Datatype_s

Typedefs

typedef struct MPIO_Datatype_s MPIO_Datatype

Functions

static MPIO_DatatypeMPIO_Datatype_allocate (MPI_Datatype type)
static void MPIO_Datatype_set_szext (MPI_Datatype type, MPIO_Datatype *dtp)
static int MPIO_Datatype_initialize (void)
static int MPIO_Datatype_finalize (MPI_Comm comm, int comm_keyval, void *attrval, void *extrastate)
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 int MPIO_Datatype_delete_attr_function (MPI_Datatype type, int type_keyval, void *attribute_val, void *extra_state)
void MPIO_Datatype_init_dataloop (MPI_Datatype type)
void MPIO_Datatype_get_size (MPI_Datatype type, MPI_Offset *size_p)
void MPIO_Datatype_get_extent (MPI_Datatype type, MPI_Offset *extent_p)
void MPIO_Datatype_get_block_info (MPI_Datatype type, MPI_Offset *true_lb_p, MPI_Offset *count_p, int *n_contig_p)
void MPIO_Datatype_get_el_type (MPI_Datatype type, MPI_Datatype *eltype_p, int flag)
void MPIO_Datatype_get_loopptr (MPI_Datatype type, MPIO_Dataloop **ptr_p, int flag)
void MPIO_Datatype_get_loopsize (MPI_Datatype type, int *size_p, int flag)
void MPIO_Datatype_get_loopdepth (MPI_Datatype type, int *depth_p, int flag)
void MPIO_Datatype_set_loopptr (MPI_Datatype type, MPIO_Dataloop *ptr, int flag)
void MPIO_Datatype_set_loopsize (MPI_Datatype type, int size, int flag)
void MPIO_Datatype_set_loopdepth (MPI_Datatype type, int depth, int flag)
int MPIO_Datatype_is_nontrivial (MPI_Datatype type)

Variables

static int MPIO_Datatype_keyval = MPI_KEYVAL_INVALID
static int MPIO_Datatype_finalize_keyval = MPI_KEYVAL_INVALID


Typedef Documentation


Function Documentation

static MPIO_Datatype * MPIO_Datatype_allocate ( MPI_Datatype  type  )  [static]

static void MPIO_Datatype_set_szext ( MPI_Datatype  type,
MPIO_Datatype dtp 
) [static]

static int MPIO_Datatype_initialize ( void   )  [static]

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void MPIO_Datatype_init_dataloop ( MPI_Datatype  type  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void MPIO_Datatype_get_extent ( MPI_Datatype  type,
MPI_Offset extent_p 
)

void MPIO_Datatype_get_block_info ( MPI_Datatype  type,
MPI_Offset true_lb_p,
MPI_Offset count_p,
int n_contig_p 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

int MPIO_Datatype_is_nontrivial ( MPI_Datatype  type  ) 

Definition at line 389 of file romio_dataloop.c.

Referenced by MPIO_Datatype_init_dataloop().

Here is the caller graph for this function:


Variable Documentation

int MPIO_Datatype_keyval = MPI_KEYVAL_INVALID [static]

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().


Generated on Mon Sep 21 08:06:00 2020 for Charm++ by  doxygen 1.5.5