00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #define READ 0
00011 #define WRITE 1
00012
00013
00014
00015
00016
00017
00018 int ADIOI_PVFS2_Contig(ADIO_File fd, void *buf, int count,
00019 MPI_Datatype datatype, int file_ptr_type,
00020 ADIO_Offset offset, ADIO_Status *status,
00021 int *error_code, int rw_type);
00022
00023
00024 int ADIOI_PVFS2_StridedListIO(ADIO_File fd, void *buf, int count,
00025 MPI_Datatype datatype, int file_ptr_type,
00026 ADIO_Offset offset, ADIO_Status *status,
00027 int *error_code, int rw_type);
00028
00029 int gen_listio_arr(ADIOI_Flatlist_node *flat_buf,
00030 int *flat_buf_index_p,
00031 int64_t *cur_flat_buf_reg_off_p,
00032 int flat_buf_size,
00033 int flat_buf_extent,
00034 ADIOI_Flatlist_node *flat_file,
00035 int *flat_file_index_p,
00036 int64_t *cur_flat_file_reg_off_p,
00037 int flat_file_size,
00038 int flat_file_extent,
00039 int max_ol_count,
00040 ADIO_Offset disp,
00041 int bytes_into_filetype,
00042 int64_t *bytes_completed,
00043 int64_t total_io_size,
00044 int64_t buf_off_arr[],
00045 int32_t buf_len_arr[],
00046 int32_t *buf_ol_count_p,
00047 int64_t file_off_arr[],
00048 int32_t file_len_arr[],
00049 int32_t *file_ol_count_p);
00050
00051 void print_buf_file_ol_pairs(int64_t buf_off_arr[],
00052 int32_t buf_len_arr[],
00053 int32_t buf_ol_count,
00054 int64_t file_off_arr[],
00055 int32_t file_len_arr[],
00056 int32_t file_ol_count,
00057 void *buf,
00058 int rw_type);
00059
00060
00061 int ADIOI_PVFS2_StridedDtypeIO(ADIO_File fd, void *buf, int count,
00062 MPI_Datatype datatype, int file_ptr_type,
00063 ADIO_Offset offset, ADIO_Status *status,
00064 int *error_code, int rw_type);
00065
00066 int convert_named(MPI_Datatype *mpi_dtype,
00067 PVFS_Request *pvfs_dtype, int combiner);
00068
00069 void print_dtype_info(int combiner,
00070 int num_int,
00071 int num_addr,
00072 int num_dtype,
00073 int *arr_int,
00074 MPI_Aint *arr_addr,
00075 MPI_Datatype *arr_dtype);
00076
00077 int convert_mpi_pvfs2_dtype(MPI_Datatype *mpi_dtype,
00078 PVFS_Request *pvfs_dtype);
00079