PPL Logo

libs/ck-libs/ampi/romio/adio/include/adioi.h File Reference

Go to the source code of this file.

Data Structures

struct  ADIOI_Hints_struct
struct  ADIOI_Datarep
struct  ADIOI_Fl_node
struct  ADIOI_AIO_req_str
struct  ADIOI_Fns_struct
struct  ADIOI_Access
struct  ADIOI_Offlen
struct  flatten_state
struct  view_state

Typedefs

typedef struct ADIOI_Fl_node ADIOI_Flatlist_node
typedef struct ADIOI_AIO_req_str ADIOI_AIO_Request

Enumerations

enum  { ADIOI_HINT_AUTO = 0, ADIOI_HINT_ENABLE = 1, ADIOI_HINT_DISABLE = 2 }

Functions

void ADIOI_SetFunctions (ADIO_File fd)
void ADIOI_Flatten_datatype (MPI_Datatype type)
void ADIOI_Flatten (MPI_Datatype type, ADIOI_Flatlist_node *flat, ADIO_Offset st_offset, int *curr_index)
void ADIOI_Delete_flattened (MPI_Datatype datatype)
int ADIOI_Count_contiguous_blocks (MPI_Datatype type, int *curr_index)
void ADIOI_Complete_async (int *error_code)
void * ADIOI_Malloc_fn (size_t size, int lineno, const char *fname)
void * ADIOI_Calloc_fn (size_t nelem, size_t elsize, int lineno, const char *fname)
void * ADIOI_Realloc_fn (void *ptr, size_t size, int lineno, const char *fname)
void ADIOI_Free_fn (void *ptr, int lineno, const char *fname)
void ADIOI_Datatype_iscontig (MPI_Datatype datatype, int *flag)
void ADIOI_Get_position (ADIO_File fd, ADIO_Offset *offset)
void ADIOI_Get_eof_offset (ADIO_File fd, ADIO_Offset *eof_offset)
void ADIOI_Get_byte_offset (ADIO_File fd, ADIO_Offset offset, ADIO_Offset *disp)
void ADIOI_process_system_hints (MPI_Info info)
void ADIOI_incorporate_system_hints (MPI_Info info, MPI_Info sysinfo, MPI_Info *new_info)
void ADIOI_GEN_Fcntl (ADIO_File fd, int flag, ADIO_Fcntl_t *fcntl_struct, int *error_code)
void ADIOI_GEN_Flush (ADIO_File fd, int *error_code)
void ADIOI_GEN_OpenColl (ADIO_File fd, int rank, int access_mode, int *error_code)
void ADIOI_SCALEABLE_OpenColl (ADIO_File fd, int rank, int access_mode, int *error_code)
void ADIOI_FAILSAFE_OpenColl (ADIO_File fd, int rank, int access_mode, int *error_code)
void ADIOI_GEN_Delete (char *filename, int *error_code)
void ADIOI_GEN_ReadContig (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
int ADIOI_GEN_aio (ADIO_File fd, void *buf, int len, ADIO_Offset offset, int wr, MPI_Request *request)
void ADIOI_GEN_IreadContig (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_GEN_WriteContig (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_GEN_IwriteContig (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_GEN_ReadStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_GEN_IreadStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_GEN_IwriteStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
int ADIOI_GEN_IODone (ADIO_Request *request, ADIO_Status *status, int *error_code)
void ADIOI_GEN_IOComplete (ADIO_Request *request, ADIO_Status *status, int *error_code)
int ADIOI_GEN_aio_poll_fn (void *extra_state, ADIO_Status *status)
int ADIOI_GEN_aio_wait_fn (int count, void **array_of_states, double timeout, ADIO_Status *status)
int ADIOI_GEN_aio_query_fn (void *extra_state, ADIO_Status *status)
int ADIOI_GEN_aio_free_fn (void *extra_state)
int ADIOI_GEN_Feature (ADIO_File fd, int feature)
void ADIOI_GEN_ReadStrided_naive (ADIO_File fd, void *buf, int count, MPI_Datatype buftype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_GEN_WriteStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_GEN_WriteStrided_naive (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_NOLOCK_WriteStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_GEN_ReadStridedColl (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_GEN_WriteStridedColl (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_Calc_my_off_len (ADIO_File fd, int bufcount, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Offset **offset_list_ptr, ADIO_Offset **len_list_ptr, ADIO_Offset *start_offset_ptr, ADIO_Offset *end_offset_ptr, int *contig_access_count_ptr)
void ADIOI_Calc_file_domains (ADIO_Offset *st_offsets, ADIO_Offset *end_offsets, int nprocs, int nprocs_for_coll, ADIO_Offset *min_st_offset_ptr, ADIO_Offset **fd_start_ptr, ADIO_Offset **fd_end_ptr, int min_fd_size, ADIO_Offset *fd_size_ptr, int striping_unit)
int ADIOI_Calc_aggregator (ADIO_File fd, ADIO_Offset off, ADIO_Offset min_off, ADIO_Offset *len, ADIO_Offset fd_size, ADIO_Offset *fd_start, ADIO_Offset *fd_end)
void ADIOI_Calc_my_req (ADIO_File fd, ADIO_Offset *offset_list, ADIO_Offset *len_list, int contig_access_count, ADIO_Offset min_st_offset, ADIO_Offset *fd_start, ADIO_Offset *fd_end, ADIO_Offset fd_size, int nprocs, int *count_my_req_procs_ptr, int **count_my_req_per_proc_ptr, ADIOI_Access **my_req_ptr, int **buf_idx_ptr)
void ADIOI_Calc_others_req (ADIO_File fd, int count_my_req_procs, int *count_my_req_per_proc, ADIOI_Access *my_req, int nprocs, int myrank, int *count_others_req_procs_ptr, ADIOI_Access **others_req_ptr)
void ADIOI_Calc_bounds (ADIO_File fd, int count, MPI_Datatype buftype, int file_ptr_type, ADIO_Offset offset, ADIO_Offset *st_offset, ADIO_Offset *end_offset)
int ADIOI_Agg_idx (int rank, ADIO_File fd)
void ADIOI_Calc_file_realms (ADIO_File fd, ADIO_Offset min_st_offset, ADIO_Offset max_end_offset)
void ADIOI_IOFiletype (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, MPI_Datatype custom_ftype, int rdwr, ADIO_Status *status, int *error_code)
void ADIOI_IOStridedColl (ADIO_File fd, void *buf, int count, int rdwr, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Status *status, int *error_code)
void ADIOI_Print_flatlist_node (ADIOI_Flatlist_node *flatlist_node_p)
ADIOI_Flatlist_nodeADIOI_Add_contig_flattened (MPI_Datatype contig_type)
void ADIOI_Exch_file_views (int myrank, int nprocs, int file_ptr_type, ADIO_File fd, int count, MPI_Datatype datatype, ADIO_Offset off, view_state *my_mem_view_state_arr, view_state *agg_file_view_state_arr, view_state *client_file_view_state_arr)
int ADIOI_init_view_state (int file_ptr_type, int nprocs, view_state *view_state_arr, int op_type)
int ADIOI_Build_agg_reqs (ADIO_File fd, int rw_type, int nprocs, view_state *client_file_view_state_arr, MPI_Datatype *client_comm_dtype_arr, ADIO_Offset *client_comm_sz_arr, ADIO_Offset *agg_dtype_offset_p, MPI_Datatype *agg_dtype_p)
int ADIOI_Build_client_reqs (ADIO_File fd, int nprocs, view_state *my_mem_view_state_arr, view_state *agg_file_view_state_arr, ADIO_Offset *agg_comm_sz_arr, MPI_Datatype *agg_comm_dtype_arr)
int ADIOI_Build_client_pre_req (ADIO_File fd, int agg_rank, int agg_idx, view_state *my_mem_view_state_p, view_state *agg_file_view_state_p, ADIO_Offset max_pre_req_sz, int max_ol_ct)
int ADIOI_Build_client_req (ADIO_File fd, int agg_rank, int agg_idx, view_state *my_mem_view_state_p, view_state *agg_file_view_state_p, ADIO_Offset agg_comm_sz, MPI_Datatype *agg_comm_dtype_p)
ADIO_Offset ADIOI_GEN_SeekIndividual (ADIO_File fd, ADIO_Offset offset, int whence, int *error_code)
void ADIOI_GEN_Resize (ADIO_File fd, ADIO_Offset size, int *error_code)
void ADIOI_GEN_SetInfo (ADIO_File fd, MPI_Info users_info, int *error_code)
void ADIOI_GEN_Close (ADIO_File fd, int *error_code)
void ADIOI_Shfp_fname (ADIO_File fd, int rank)
void ADIOI_GEN_Prealloc (ADIO_File fd, ADIO_Offset size, int *error_code)
int ADIOI_Error (ADIO_File fd, int error_code, char *string)
int MPIR_Err_setmsg (int, int, const char *, const char *, const char *,...)
int ADIOI_End_call (MPI_Comm comm, int keyval, void *attribute_val, void *extra_state)
int MPIR_Status_set_bytes (MPI_Status *status, MPI_Datatype datatype, int nbytes)
int ADIOI_Uses_generic_read (ADIO_File fd)
int ADIOI_Uses_generic_write (ADIO_File fd)
int ADIOI_FAKE_IODone (ADIO_Request *request, ADIO_Status *status, int *error_code)
void ADIOI_FAKE_IreadContig (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_FAKE_IreadStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_FAKE_IwriteContig (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_FAKE_IwriteStrided (ADIO_File fd, void *buf, int count, MPI_Datatype datatype, int file_ptr_type, ADIO_Offset offset, ADIO_Request *request, int *error_code)
void ADIOI_FAKE_IOComplete (ADIO_Request *request, ADIO_Status *status, int *error_code)
int MPIOI_File_read (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname, MPI_Status *status)
int MPIOI_File_write (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname, MPI_Status *status)
int MPIOI_File_read_all (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname, MPI_Status *status)
int MPIOI_File_write_all (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname, MPI_Status *status)
int MPIOI_File_read_all_begin (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname)
int MPIOI_File_write_all_begin (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname)
int MPIOI_File_read_all_end (MPI_File fh, void *buf, char *myname, MPI_Status *status)
int MPIOI_File_write_all_end (MPI_File fh, void *buf, char *myname, MPI_Status *status)
int MPIOI_File_iwrite (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname, MPI_Request *request)
int MPIOI_File_iread (MPI_File fh, MPI_Offset offset, int file_ptr_type, void *buf, int count, MPI_Datatype datatype, char *myname, MPI_Request *request)
int ADIOI_Set_lock (FDTYPE fd_sys, int cmd, int type, ADIO_Offset offset, int whence, ADIO_Offset len)
int ADIOI_Set_lock64 (FDTYPE fd_sys, int cmd, int type, ADIO_Offset offset, int whence, ADIO_Offset len)
int ADIOI_Strncpy (char *outstr, const char *instr, size_t maxlen)
int ADIOI_Strnapp (char *, const char *, size_t)
char * ADIOI_Strdup (const char *)
int snprintf (char *, size_t, const char *,...) ATTRIBUTE((format(printf
int int ADIOI_Snprintf (char *str, size_t size, const char *format,...) ATTRIBUTE((format(printf

Variables

char * sys_errlist []
int ADIOI_MPE_open_a
int ADIOI_MPE_open_b
int ADIOI_MPE_read_a
int ADIOI_MPE_read_b
int ADIOI_MPE_write_a
int ADIOI_MPE_write_b
int ADIOI_MPE_lseek_a
int ADIOI_MPE_lseek_b
int ADIOI_MPE_close_a
int ADIOI_MPE_close_b
int ADIOI_MPE_writelock_a
int ADIOI_MPE_writelock_b
int ADIOI_MPE_readlock_a
int ADIOI_MPE_readlock_b
int ADIOI_MPE_unlock_a
int ADIOI_MPE_unlock_b
int ADIOI_MPE_postwrite_a
int ADIOI_MPE_postwrite_b
int ADIOI_MPE_openinternal_a
int ADIOI_MPE_openinternal_b
int ADIOI_MPE_stat_a
int ADIOI_MPE_stat_b
int ADIOI_MPE_iread_a
int ADIOI_MPE_iread_b
int ADIOI_MPE_iwrite_a
int ADIOI_MPE_iwrite_b


Typedef Documentation


Enumeration Type Documentation

anonymous enum

Enumerator:
ADIOI_HINT_AUTO 
ADIOI_HINT_ENABLE 
ADIOI_HINT_DISABLE 

Definition at line 95 of file adioi.h.


Function Documentation

void ADIOI_SetFunctions ( ADIO_File  fd  ) 

void ADIOI_Flatten_datatype ( MPI_Datatype  type  ) 

void ADIOI_Flatten ( MPI_Datatype  type,
ADIOI_Flatlist_node flat,
ADIO_Offset  st_offset,
int curr_index 
)

void ADIOI_Delete_flattened ( MPI_Datatype  datatype  ) 

int ADIOI_Count_contiguous_blocks ( MPI_Datatype  type,
int curr_index 
)

Definition at line 737 of file flatten.c.

References ADIO_Type_create_darray(), ADIO_Type_create_subarray(), ADIOI_Count_contiguous_blocks(), ADIOI_Datatype_iscontig(), count, dims, dtype, int, MPI_Abort, MPI_Type_free, MPI_Type_get_contents, n, and stype.

Referenced by ADIOI_Count_contiguous_blocks(), and ADIOI_Flatten_datatype().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_Complete_async ( int error_code  ) 

Definition at line 101 of file async_list.c.

References ADIO_ReadComplete(), ADIO_WriteComplete(), ADIOI_Free_async_node(), MPIO_Err_create_code(), myname, request, and status.

Referenced by ADIOI_PFS_IwriteContig().

Here is the call graph for this function:

Here is the caller graph for this function:

void* ADIOI_Malloc_fn ( size_t  size,
int  lineno,
const char *  fname 
)

void* ADIOI_Calloc_fn ( size_t  nelem,
size_t  elsize,
int  lineno,
const char *  fname 
)

void* ADIOI_Realloc_fn ( void *  ptr,
size_t  size,
int  lineno,
const char *  fname 
)

void ADIOI_Free_fn ( void *  ptr,
int  lineno,
const char *  fname 
)

void ADIOI_Datatype_iscontig ( MPI_Datatype  datatype,
int flag 
)

Definition at line 17 of file iscontig.c.

References MPIR_Datatype_iscontig().

Referenced by ADIO_Close(), ADIO_Set_view(), ADIOI_BGL_ReadStrided(), ADIOI_BGL_ReadStridedColl(), ADIOI_BGL_WriteStrided(), ADIOI_BGL_WriteStridedColl(), ADIOI_Calc_bounds(), ADIOI_Calc_my_off_len(), ADIOI_Count_contiguous_blocks(), ADIOI_Exch_and_write(), ADIOI_Flatten(), ADIOI_Flatten_datatype(), ADIOI_GEN_ReadStrided(), ADIOI_GEN_ReadStrided_naive(), ADIOI_GEN_ReadStridedColl(), ADIOI_GEN_SeekIndividual(), ADIOI_GEN_WriteStrided(), ADIOI_GEN_WriteStrided_naive(), ADIOI_GEN_WriteStridedColl(), ADIOI_Get_byte_offset(), ADIOI_Get_eof_offset(), ADIOI_Get_position(), ADIOI_GRIDFTP_ReadDiscontig(), ADIOI_GRIDFTP_ReadStrided(), ADIOI_GRIDFTP_WriteDiscontig(), ADIOI_GRIDFTP_WriteStrided(), ADIOI_IOFiletype(), ADIOI_IOStridedColl(), ADIOI_LUSTRE_Exch_and_write(), ADIOI_LUSTRE_WriteStrided(), ADIOI_LUSTRE_WriteStridedColl(), ADIOI_NFS_ReadStrided(), ADIOI_NFS_WriteStrided(), ADIOI_NOLOCK_WriteStrided(), ADIOI_PIOFS_WriteStrided(), ADIOI_PVFS2_OldReadStrided(), ADIOI_PVFS2_OldWriteStrided(), ADIOI_PVFS2_StridedDtypeIO(), ADIOI_PVFS2_StridedListIO(), ADIOI_PVFS_ReadStridedListIO(), ADIOI_PVFS_WriteStrided(), ADIOI_PVFS_WriteStridedListIO(), ADIOI_Read_and_exch(), ADIOI_TESTFS_SeekIndividual(), ADIOI_ZOIDFS_ReadStrided(), ADIOI_ZOIDFS_WriteStrided(), MPI_File_iread_shared(), MPI_File_iwrite_shared(), MPI_File_read_shared(), MPI_File_write_shared(), MPIOI_File_iread(), MPIOI_File_iwrite(), MPIOI_File_read(), and MPIOI_File_write().

Here is the call graph for this function:

void ADIOI_Get_position ( ADIO_File  fd,
ADIO_Offset offset 
)

void ADIOI_Get_eof_offset ( ADIO_File  fd,
ADIO_Offset eof_offset 
)

void ADIOI_Get_byte_offset ( ADIO_File  fd,
ADIO_Offset  offset,
ADIO_Offset disp 
)

void ADIOI_process_system_hints ( MPI_Info  info  ) 

Definition at line 137 of file system_hints.c.

References Ck::IO::close(), file_to_info(), and find_file().

Referenced by ADIO_Init().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_incorporate_system_hints ( MPI_Info  info,
MPI_Info  sysinfo,
MPI_Info new_info 
)

Definition at line 154 of file system_hints.c.

References flag, key, MPI_Info_create(), MPI_Info_dup, MPI_Info_get_nkeys, and MPI_Info_get_nthkey().

Referenced by ADIO_Open().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_GEN_Fcntl ( ADIO_File  fd,
int  flag,
ADIO_Fcntl_t fcntl_struct,
int error_code 
)

void ADIOI_GEN_Flush ( ADIO_File  fd,
int error_code 
)

Definition at line 14 of file ad_flush.c.

References ADIOI_FileD::fd_sys, fsync(), MPIO_Err_create_code(), and myname.

Here is the call graph for this function:

void ADIOI_GEN_OpenColl ( ADIO_File  fd,
int  rank,
int  access_mode,
int error_code 
)

void ADIOI_SCALEABLE_OpenColl ( ADIO_File  fd,
int  rank,
int  access_mode,
int error_code 
)

void ADIOI_FAILSAFE_OpenColl ( ADIO_File  fd,
int  rank,
int  access_mode,
int error_code 
)

void ADIOI_GEN_Delete ( char *  filename,
int error_code 
)

Definition at line 14 of file ad_delete.c.

References MPIO_Err_create_code(), and myname.

Here is the call graph for this function:

void ADIOI_GEN_ReadContig ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

int ADIOI_GEN_aio ( ADIO_File  fd,
void *  buf,
int  len,
ADIO_Offset  offset,
int  wr,
MPI_Request request 
)

void ADIOI_GEN_IreadContig ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

void ADIOI_GEN_WriteContig ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_GEN_IwriteContig ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

Definition at line 47 of file ad_iwrite.c.

References ADIOI_GEN_aio(), ADIOI_FileD::fp_ind, ADIOI_FileD::fp_sys_posn, len, MPI_Type_size, myname, and typesize().

Here is the call graph for this function:

void ADIOI_GEN_ReadStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_GEN_IreadStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

Definition at line 71 of file ad_iread.c.

References ADIO_ReadStrided(), MPI_Type_size, MPIO_Completed_request_create(), status, and typesize().

Here is the call graph for this function:

void ADIOI_GEN_IwriteStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

int ADIOI_GEN_IODone ( ADIO_Request request,
ADIO_Status *  status,
int error_code 
)

Definition at line 42 of file ad_done.c.

void ADIOI_GEN_IOComplete ( ADIO_Request request,
ADIO_Status *  status,
int error_code 
)

Definition at line 42 of file ad_wait.c.

int ADIOI_GEN_aio_poll_fn ( void *  extra_state,
ADIO_Status *  status 
)

int ADIOI_GEN_aio_wait_fn ( int  count,
void **  array_of_states,
double  timeout,
ADIO_Status *  status 
)

int ADIOI_GEN_aio_query_fn ( void *  extra_state,
ADIO_Status *  status 
)

int ADIOI_GEN_aio_free_fn ( void *  extra_state  ) 

Definition at line 304 of file ad_iwrite.c.

References ADIOI_AIO_req_str::aiocbp.

Referenced by ADIOI_GEN_aio(), and ADIOI_NFS_aio().

Here is the caller graph for this function:

int ADIOI_GEN_Feature ( ADIO_File  fd,
int  feature 
)

Definition at line 3 of file ad_features.c.

void ADIOI_GEN_ReadStrided_naive ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  buftype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_GEN_WriteStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_GEN_WriteStrided_naive ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_NOLOCK_WriteStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_GEN_ReadStridedColl ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_GEN_WriteStridedColl ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_Calc_my_off_len ( ADIO_File  fd,
int  bufcount,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Offset **  offset_list_ptr,
ADIO_Offset **  len_list_ptr,
ADIO_Offset start_offset_ptr,
ADIO_Offset end_offset_ptr,
int contig_access_count_ptr 
)

void ADIOI_Calc_file_domains ( ADIO_Offset st_offsets,
ADIO_Offset end_offsets,
int  nprocs,
int  nprocs_for_coll,
ADIO_Offset min_st_offset_ptr,
ADIO_Offset **  fd_start_ptr,
ADIO_Offset **  fd_end_ptr,
int  min_fd_size,
ADIO_Offset fd_size_ptr,
int  striping_unit 
)

Definition at line 127 of file ad_aggregate.c.

Referenced by ADIOI_BGL_ReadStridedColl(), ADIOI_BGL_WriteStridedColl(), ADIOI_GEN_ReadStridedColl(), and ADIOI_GEN_WriteStridedColl().

Here is the caller graph for this function:

int ADIOI_Calc_aggregator ( ADIO_File  fd,
ADIO_Offset  off,
ADIO_Offset  min_off,
ADIO_Offset len,
ADIO_Offset  fd_size,
ADIO_Offset fd_start,
ADIO_Offset fd_end 
)

void ADIOI_Calc_my_req ( ADIO_File  fd,
ADIO_Offset offset_list,
ADIO_Offset len_list,
int  contig_access_count,
ADIO_Offset  min_st_offset,
ADIO_Offset fd_start,
ADIO_Offset fd_end,
ADIO_Offset  fd_size,
int  nprocs,
int count_my_req_procs_ptr,
int **  count_my_req_per_proc_ptr,
ADIOI_Access **  my_req_ptr,
int **  buf_idx_ptr 
)

Definition at line 254 of file ad_aggregate.c.

References ADIOI_Calc_aggregator(), count, ADIOI_Access::count, int, PUP::l, ADIOI_Access::lens, and ADIOI_Access::offsets.

Referenced by ADIOI_BGL_ReadStridedColl(), ADIOI_BGL_WriteStridedColl(), ADIOI_GEN_ReadStridedColl(), and ADIOI_GEN_WriteStridedColl().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_Calc_others_req ( ADIO_File  fd,
int  count_my_req_procs,
int count_my_req_per_proc,
ADIOI_Access my_req,
int  nprocs,
int  myrank,
int count_others_req_procs_ptr,
ADIOI_Access **  others_req_ptr 
)

void ADIOI_Calc_bounds ( ADIO_File  fd,
int  count,
MPI_Datatype  buftype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Offset st_offset,
ADIO_Offset end_offset 
)

int ADIOI_Agg_idx ( int  rank,
ADIO_File  fd 
)

Definition at line 262 of file ad_aggregate_new.c.

References ADIOI_Hints_struct::cb_nodes, ADIOI_FileD::hints, and ADIOI_Hints_struct::ranklist.

Referenced by ADIOI_Build_client_reqs().

Here is the caller graph for this function:

void ADIOI_Calc_file_realms ( ADIO_File  fd,
ADIO_Offset  min_st_offset,
ADIO_Offset  max_end_offset 
)

void ADIOI_IOFiletype ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
MPI_Datatype  custom_ftype,
int  rdwr,
ADIO_Status *  status,
int error_code 
)

void ADIOI_IOStridedColl ( ADIO_File  fd,
void *  buf,
int  count,
int  rdwr,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Status *  status,
int error_code 
)

void ADIOI_Print_flatlist_node ( ADIOI_Flatlist_node flatlist_node_p  ) 

Definition at line 37 of file ad_coll_exch_new.c.

References ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, and ADIOI_Fl_node::indices.

Referenced by ADIOI_Exch_file_views().

Here is the caller graph for this function:

ADIOI_Flatlist_node* ADIOI_Add_contig_flattened ( MPI_Datatype  contig_type  ) 

Definition at line 63 of file ad_coll_exch_new.c.

References ADIOI_Fl_node::blocklens, ADIOI_Fl_node::count, ADIOI_Fl_node::indices, MPI_Type_size, ADIOI_Fl_node::next, and ADIOI_Fl_node::type.

Referenced by ADIOI_Calc_file_realms(), and ADIOI_Exch_file_views().

Here is the caller graph for this function:

void ADIOI_Exch_file_views ( int  myrank,
int  nprocs,
int  file_ptr_type,
ADIO_File  fd,
int  count,
MPI_Datatype  datatype,
ADIO_Offset  off,
view_state my_mem_view_state_arr,
view_state agg_file_view_state_arr,
view_state client_file_view_state_arr 
)

int ADIOI_init_view_state ( int  file_ptr_type,
int  nprocs,
view_state view_state_arr,
int  op_type 
)

int ADIOI_Build_agg_reqs ( ADIO_File  fd,
int  rw_type,
int  nprocs,
view_state client_file_view_state_arr,
MPI_Datatype client_comm_dtype_arr,
ADIO_Offset client_comm_sz_arr,
ADIO_Offset agg_dtype_offset_p,
MPI_Datatype agg_dtype_p 
)

int ADIOI_Build_client_reqs ( ADIO_File  fd,
int  nprocs,
view_state my_mem_view_state_arr,
view_state agg_file_view_state_arr,
ADIO_Offset agg_comm_sz_arr,
MPI_Datatype agg_comm_dtype_arr 
)

int ADIOI_Build_client_pre_req ( ADIO_File  fd,
int  agg_rank,
int  agg_idx,
view_state my_mem_view_state_p,
view_state agg_file_view_state_p,
ADIO_Offset  max_pre_req_sz,
int  max_ol_ct 
)

int ADIOI_Build_client_req ( ADIO_File  fd,
int  agg_rank,
int  agg_idx,
view_state my_mem_view_state_p,
view_state agg_file_view_state_p,
ADIO_Offset  agg_comm_sz,
MPI_Datatype agg_comm_dtype_p 
)

ADIO_Offset ADIOI_GEN_SeekIndividual ( ADIO_File  fd,
ADIO_Offset  offset,
int  whence,
int error_code 
)

void ADIOI_GEN_Resize ( ADIO_File  fd,
ADIO_Offset  size,
int error_code 
)

Definition at line 14 of file ad_resize.c.

References ADIOI_FileD::comm, ADIOI_FileD::fd_sys, ftruncate(), ADIOI_FileD::hints, MPI_Bcast, MPI_Comm_rank, MPIO_Err_create_code(), myname, rank, and ADIOI_Hints_struct::ranklist.

Here is the call graph for this function:

void ADIOI_GEN_SetInfo ( ADIO_File  fd,
MPI_Info  users_info,
int error_code 
)

void ADIOI_GEN_Close ( ADIO_File  fd,
int error_code 
)

Definition at line 16 of file adi_close.c.

References ADIOI_MPE_close_a, ADIOI_MPE_close_b, Ck::IO::close(), ADIOI_FileD::fd_direct, ADIOI_FileD::fd_sys, MPIO_Err_create_code(), and myname.

Here is the call graph for this function:

void ADIOI_Shfp_fname ( ADIO_File  fd,
int  rank 
)

Definition at line 19 of file shfp_fname.c.

References ADIOI_Snprintf(), ADIOI_Strnapp(), ADIOI_Strncpy(), ADIOI_FileD::comm, ADIOI_FileD::filename, int, len, MPI_Bcast, and ADIOI_FileD::shared_fp_fname.

Referenced by MPI_File_open().

Here is the call graph for this function:

Here is the caller graph for this function:

void ADIOI_GEN_Prealloc ( ADIO_File  fd,
ADIO_Offset  size,
int error_code 
)

int ADIOI_Error ( ADIO_File  fd,
int  error_code,
char *  string 
)

int MPIR_Err_setmsg ( int  ,
int  ,
const char *  ,
const char *  ,
const char *  ,
  ... 
)

int ADIOI_End_call ( MPI_Comm  comm,
int  keyval,
void *  attribute_val,
void *  extra_state 
)

Definition at line 70 of file ad_end.c.

References ADIO_End().

Here is the call graph for this function:

int MPIR_Status_set_bytes ( MPI_Status status,
MPI_Datatype  datatype,
int  nbytes 
)

Definition at line 16 of file status_setb.c.

Referenced by ADIOI_BGL_ReadContig(), ADIOI_BGL_ReadStrided(), ADIOI_BGL_ReadStridedColl(), ADIOI_BGL_WriteContig(), ADIOI_BGL_WriteStrided(), ADIOI_BGL_WriteStridedColl(), ADIOI_GEN_ReadContig(), ADIOI_GEN_ReadStrided(), ADIOI_GEN_ReadStrided_naive(), ADIOI_GEN_ReadStridedColl(), ADIOI_GEN_WriteContig(), ADIOI_GEN_WriteStrided(), ADIOI_GEN_WriteStrided_naive(), ADIOI_GEN_WriteStridedColl(), ADIOI_GRIDFTP_ReadContig(), ADIOI_GRIDFTP_ReadDiscontig(), ADIOI_GRIDFTP_WriteContig(), ADIOI_GRIDFTP_WriteDiscontig(), ADIOI_HFS_ReadContig(), ADIOI_HFS_WriteContig(), ADIOI_IOStridedColl(), ADIOI_LUSTRE_IOContig(), ADIOI_LUSTRE_WriteStrided(), ADIOI_LUSTRE_WriteStridedColl(), ADIOI_NFS_ReadContig(), ADIOI_NFS_ReadStrided(), ADIOI_NFS_WriteContig(), ADIOI_NFS_WriteStrided(), ADIOI_NOLOCK_WriteStrided(), ADIOI_NTFS_ReadContig(), ADIOI_NTFS_WriteContig(), ADIOI_PANFS_ReadContig(), ADIOI_PANFS_WriteContig(), ADIOI_PFS_ReadComplete(), ADIOI_PFS_ReadContig(), ADIOI_PFS_ReadDone(), ADIOI_PFS_WriteContig(), ADIOI_PIOFS_ReadContig(), ADIOI_PIOFS_WriteContig(), ADIOI_PIOFS_WriteStrided(), ADIOI_PVFS2_OldReadStrided(), ADIOI_PVFS2_OldWriteStrided(), ADIOI_PVFS2_ReadContig(), ADIOI_PVFS2_StridedDtypeIO(), ADIOI_PVFS2_StridedListIO(), ADIOI_PVFS2_WriteContig(), ADIOI_PVFS_ReadContig(), ADIOI_PVFS_ReadStridedListIO(), ADIOI_PVFS_WriteContig(), ADIOI_PVFS_WriteStrided(), ADIOI_PVFS_WriteStridedListIO(), ADIOI_TESTFS_ReadContig(), ADIOI_TESTFS_WriteContig(), ADIOI_XFS_ReadContig(), ADIOI_XFS_WriteContig(), ADIOI_ZOIDFS_ReadStrided(), ADIOI_ZOIDFS_WriteStrided(), MPI_File_read_shared(), MPI_File_write_shared(), MPIO_Completed_request_create(), MPIOI_File_read(), MPIOI_File_write(), and ZOIDFS_IOContig().

int ADIOI_Uses_generic_read ( ADIO_File  fd  ) 

int ADIOI_Uses_generic_write ( ADIO_File  fd  ) 

int ADIOI_FAKE_IODone ( ADIO_Request request,
ADIO_Status *  status,
int error_code 
)

Definition at line 15 of file ad_done_fake.c.

void ADIOI_FAKE_IreadContig ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

Definition at line 14 of file ad_iread_fake.c.

References ADIO_ReadContig(), len, MPI_Type_size, MPIO_Completed_request_create(), status, and typesize().

Here is the call graph for this function:

void ADIOI_FAKE_IreadStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

Definition at line 42 of file ad_iread_fake.c.

References ADIO_ReadStrided(), MPI_Type_size, MPIO_Completed_request_create(), status, and typesize().

Here is the call graph for this function:

void ADIOI_FAKE_IwriteContig ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

Definition at line 15 of file ad_iwrite_fake.c.

References ADIO_WriteContig(), len, MPI_Type_size, MPIO_Completed_request_create(), status, and typesize().

Here is the call graph for this function:

void ADIOI_FAKE_IwriteStrided ( ADIO_File  fd,
void *  buf,
int  count,
MPI_Datatype  datatype,
int  file_ptr_type,
ADIO_Offset  offset,
ADIO_Request request,
int error_code 
)

Definition at line 46 of file ad_iwrite_fake.c.

References ADIO_WriteStrided(), MPI_Type_size, MPIO_Completed_request_create(), status, and typesize().

Here is the call graph for this function:

void ADIOI_FAKE_IOComplete ( ADIO_Request request,
ADIO_Status *  status,
int error_code 
)

Definition at line 15 of file ad_wait_fake.c.

int MPIOI_File_read ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname,
MPI_Status status 
)

int MPIOI_File_write ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname,
MPI_Status status 
)

int MPIOI_File_read_all ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname,
MPI_Status status 
)

Definition at line 66 of file read_all.c.

References ADIO_ReadStridedColl(), fh, MPI_Type_size, MPIO_Err_create_code(), MPIO_Err_return_file(), and MPIO_File_resolve().

Referenced by MPI_File_read_all(), and MPI_File_read_at_all().

Here is the call graph for this function:

Here is the caller graph for this function:

int MPIOI_File_write_all ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname,
MPI_Status status 
)

Definition at line 66 of file write_all.c.

References ADIO_WriteStridedColl(), fh, MPI_Type_size, MPIO_Err_create_code(), MPIO_Err_return_file(), and MPIO_File_resolve().

Referenced by MPI_File_write_all(), and MPI_File_write_at_all().

Here is the call graph for this function:

Here is the caller graph for this function:

int MPIOI_File_read_all_begin ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname 
)

Definition at line 54 of file read_allb.c.

References ADIO_ReadStridedColl(), fh, MPI_Type_size, MPIO_Err_create_code(), MPIO_Err_return_file(), MPIO_File_resolve(), ADIOI_FileD::split_coll_count, and ADIOI_FileD::split_status.

Referenced by MPI_File_read_all_begin(), and MPI_File_read_at_all_begin().

Here is the call graph for this function:

Here is the caller graph for this function:

int MPIOI_File_write_all_begin ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname 
)

Definition at line 53 of file write_allb.c.

References ADIO_WriteStridedColl(), fh, MPI_Type_size, MPIO_Err_create_code(), MPIO_Err_return_file(), MPIO_File_resolve(), ADIOI_FileD::split_coll_count, ADIOI_FileD::split_datatype, and ADIOI_FileD::split_status.

Referenced by MPI_File_write_all_begin(), and MPI_File_write_at_all_begin().

Here is the call graph for this function:

Here is the caller graph for this function:

int MPIOI_File_read_all_end ( MPI_File  fh,
void *  buf,
char *  myname,
MPI_Status status 
)

Definition at line 51 of file read_alle.c.

References fh, MPIO_Err_create_code(), MPIO_Err_return_file(), MPIO_File_resolve(), ADIOI_FileD::split_coll_count, and ADIOI_FileD::split_status.

Referenced by MPI_File_read_all_end(), and MPI_File_read_at_all_end().

Here is the call graph for this function:

Here is the caller graph for this function:

int MPIOI_File_write_all_end ( MPI_File  fh,
void *  buf,
char *  myname,
MPI_Status status 
)

Definition at line 50 of file write_alle.c.

References fh, MPIO_Err_create_code(), MPIO_Err_return_file(), MPIO_File_resolve(), ADIOI_FileD::split_coll_count, and ADIOI_FileD::split_status.

Referenced by MPI_File_write_all_end(), and MPI_File_write_at_all_end().

Here is the call graph for this function:

Here is the caller graph for this function:

int MPIOI_File_iwrite ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname,
MPI_Request request 
)

int MPIOI_File_iread ( MPI_File  fh,
MPI_Offset  offset,
int  file_ptr_type,
void *  buf,
int  count,
MPI_Datatype  datatype,
char *  myname,
MPI_Request request 
)

int ADIOI_Set_lock ( FDTYPE  fd_sys,
int  cmd,
int  type,
ADIO_Offset  offset,
int  whence,
ADIO_Offset  len 
)

Definition at line 14 of file lock.c.

References ADIOI_NTFS_Strerror(), MPIO_Err_create_code(), and myname.

Here is the call graph for this function:

int ADIOI_Set_lock64 ( FDTYPE  fd_sys,
int  cmd,
int  type,
ADIO_Offset  offset,
int  whence,
ADIO_Offset  len 
)

Definition at line 183 of file lock.c.

References MPI_Abort.

int ADIOI_Strncpy ( char *  outstr,
const char *  instr,
size_t  maxlen 
)

int ADIOI_Strnapp ( char *  ,
const char *  ,
size_t   
)

Definition at line 91 of file strfns.c.

References int.

Referenced by ADIOI_Shfp_fname().

Here is the caller graph for this function:

char* ADIOI_Strdup ( const char *   ) 

Definition at line 145 of file strfns.c.

References p.

Referenced by ADIO_FileSysType_parentdir(), ADIO_Open(), ADIOI_PANFS_Open(), ADIOI_PIOFS_SetInfo(), MPI_Info_dup(), MPI_Info_set(), and MPI_Register_datarep().

Here is the caller graph for this function:

int snprintf ( char *  ,
size_t  ,
const char *  ,
  ... 
)

int int ADIOI_Snprintf ( char *  str,
size_t  size,
const char *  format,
  ... 
)


Variable Documentation

char* sys_errlist[]

Definition at line 797 of file adioi.h.

Referenced by ADIO_Init(), ADIOI_GEN_Close(), and ADIOI_PVFS_Close().

Definition at line 798 of file adioi.h.

Referenced by ADIO_Init(), ADIOI_GEN_Close(), and ADIOI_PVFS_Close().

Definition at line 799 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 800 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 801 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 802 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 803 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 804 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 807 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 808 of file adioi.h.

Referenced by ADIO_Init().

Definition at line 809 of file adioi.h.

Referenced by ADIO_Init(), and ADIOI_BGL_Open().

Definition at line 810 of file adioi.h.

Referenced by ADIO_Init(), and ADIOI_BGL_Open().

Definition at line 811 of file adioi.h.

Referenced by ADIO_Init(), and ADIOI_PVFS2_AIO_contig().

Definition at line 812 of file adioi.h.

Referenced by ADIO_Init(), and ADIOI_PVFS2_AIO_contig().

Definition at line 813 of file adioi.h.

Referenced by ADIO_Init(), and ADIOI_PVFS2_AIO_contig().

Definition at line 814 of file adioi.h.

Referenced by ADIO_Init(), and ADIOI_PVFS2_AIO_contig().


Generated on Mon Sep 21 08:05:48 2020 for Charm++ by  doxygen 1.5.5