| 1 | /* |
| 2 | * Copyright (C) by Argonne National Laboratory |
| 3 | * See COPYRIGHT in top-level directory |
| 4 | */ |
| 5 | |
| 6 | #ifndef AD_NFS_H_INCLUDED |
| 7 | #define AD_NFS_H_INCLUDEDcxx . . $ `src/mpi/romio/adio/ad_nfs/ad_nfs.h:7:9`! |
| 8 | |
| 9 | #include "adio.h"cxx . . $ `<file>/src/mpi/romio/adio/include/adio.h`/ |
| 10 | |
| 11 | #include <unistd.h> |
| 12 | #include <sys/types.h> |
| 13 | #include <fcntl.h> |
| 14 | |
| 15 | #ifdef HAVE_SIGNAL_Hcxx . . $ `src/mpi/romio/adio/include/romioconf.h:163:9`! |
| 16 | #include <signal.h> |
| 17 | #endif |
| 18 | #ifdef HAVE_SYS_TYPES_Hcxx . . $ `src/mpi/romio/adio/include/romioconf.h:244:9`! |
| 19 | #include <sys/types.h> |
| 20 | #endif |
| 21 | #ifdef HAVE_AIO_LITE_H |
| 22 | #include <aio-lite.h> |
| 23 | #else |
| 24 | #ifdef HAVE_AIO_Hcxx . . $ `src/mpi/romio/adio/include/romioconf.h:14:9`! |
| 25 | #include <aio.h> |
| 26 | #endif |
| 27 | #ifdef HAVE_SYS_AIO_H |
| 28 | #include <sys/aio.h> |
| 29 | #endif |
| 30 | #endif |
| 31 | |
| 32 | /* Workaround for incomplete set of definitions if __REDIRECT is not |
| 33 | defined and large file support is used in aio.h */ |
| 34 | #if !defined(__REDIRECTcxx . . $ `<external>/15143979452489151151/cdefs.h:410:10`!) && defined(__USE_FILE_OFFSET64) |
| 35 | #define aiocb aiocb64 |
| 36 | #endif |
| 37 | |
| 38 | int ADIOI_NFS_aiocxx . . $ ADIOI_NFS_aio(85c16e96b5c3f23c).(ADIO_Filecxx . . $ ADIO_File# fd, void *buf, MPI_Aintcxx . . $ MPI_Aint# len, ADIO_Offsetcxx . . $ ADIO_Offset# offset, |
| 39 | int wr, MPI_Requestcxx . . $ MPI_Request# * request); |
| 40 | |
| 41 | #ifdef SX4 |
| 42 | #define lseek llseek |
| 43 | #endif |
| 44 | |
| 45 | void ADIOI_NFS_Opencxx . . $ ADIOI_NFS_Open(db236927559c930d).(ADIO_Filecxx . . $ ADIO_File# fd, int *error_code); |
| 46 | void ADIOI_NFS_ReadContigcxx . . $ ADIOI_NFS_ReadContig(c55785134a3a1d16).(ADIO_Filecxx . . $ ADIO_File# fd, void *buf, MPI_Aintcxx . . $ MPI_Aint# count, |
| 47 | MPI_Datatypecxx . . $ MPI_Datatype# datatype, int file_ptr_type, |
| 48 | ADIO_Offsetcxx . . $ ADIO_Offset# offset, ADIO_Statuscxx . . $ `src/mpi/romio/adio/include/adio.h:113:9`! * status, int |
| 49 | *error_code); |
| 50 | void ADIOI_NFS_WriteContigcxx . . $ ADIOI_NFS_WriteContig(880e618f6ef1d984).(ADIO_Filecxx . . $ ADIO_File# fd, const void *buf, MPI_Aintcxx . . $ MPI_Aint# count, |
| 51 | MPI_Datatypecxx . . $ MPI_Datatype# datatype, int file_ptr_type, |
| 52 | ADIO_Offsetcxx . . $ ADIO_Offset# offset, ADIO_Statuscxx . . $ MPI_Status# * status, int |
| 53 | *error_code); |
| 54 | void ADIOI_NFS_IwriteContigcxx . . $ ADIOI_NFS_IwriteContig(b91f77450ceb0307).(ADIO_Filecxx . . $ ADIO_File# fd, void *buf, MPI_Aintcxx . . $ MPI_Aint# count, |
| 55 | MPI_Datatypecxx . . $ MPI_Datatype# datatype, int file_ptr_type, |
| 56 | ADIO_Offsetcxx . . $ ADIO_Offset# offset, ADIO_Requestcxx . . $ ADIO_Request# * request, int |
| 57 | *error_code); |
| 58 | void ADIOI_NFS_IreadContigcxx . . $ ADIOI_NFS_IreadContig(b91f77450ceb0307).(ADIO_Filecxx . . $ ADIO_File# fd, void *buf, MPI_Aintcxx . . $ MPI_Aint# count, |
| 59 | MPI_Datatypecxx . . $ MPI_Datatype# datatype, int file_ptr_type, |
| 60 | ADIO_Offsetcxx . . $ ADIO_Offset# offset, ADIO_Requestcxx . . $ ADIO_Request# * request, int |
| 61 | *error_code); |
| 62 | int ADIOI_NFS_ReadDonecxx . . $ ADIOI_NFS_ReadDone(18720ad686e2748).(ADIO_Requestcxx . . $ ADIO_Request# * request, ADIO_Statuscxx . . $ MPI_Status# * status, int |
| 63 | *error_code); |
| 64 | int ADIOI_NFS_WriteDonecxx . . $ ADIOI_NFS_WriteDone(18720ad686e2748).(ADIO_Requestcxx . . $ ADIO_Request# * request, ADIO_Statuscxx . . $ `src/mpi/romio/adio/include/adio.h:113:9`! * status, int |
| 65 | *error_code); |
| 66 | void ADIOI_NFS_ReadCompletecxx . . $ ADIOI_NFS_ReadComplete(34cdb9c153eb0f6c).(ADIO_Requestcxx . . $ ADIO_Request# * request, ADIO_Statuscxx . . $ MPI_Status# * status, int |
| 67 | *error_code); |
| 68 | void ADIOI_NFS_WriteCompletecxx . . $ ADIOI_NFS_WriteComplete(34cdb9c153eb0f6c).(ADIO_Requestcxx . . $ ADIO_Request# * request, ADIO_Statuscxx . . $ MPI_Status# * status, int *error_code); |
| 69 | void ADIOI_NFS_Fcntlcxx . . $ ADIOI_NFS_Fcntl(b5c8d36baf75f4a2).(ADIO_Filecxx . . $ ADIO_File# fd, int flag, ADIO_Fcntl_tcxx . . $ ADIO_Fcntl_t# * fcntl_struct, int |
| 70 | *error_code); |
| 71 | void ADIOI_NFS_WriteStridedcxx . . $ ADIOI_NFS_WriteStrided(880e618f6ef1d984).(ADIO_Filecxx . . $ ADIO_File# fd, const void *buf, MPI_Aintcxx . . $ MPI_Aint# count, |
| 72 | MPI_Datatypecxx . . $ MPI_Datatype# datatype, int file_ptr_type, |
| 73 | ADIO_Offsetcxx . . $ ADIO_Offset# offset, ADIO_Statuscxx . . $ MPI_Status# * status, int |
| 74 | *error_code); |
| 75 | void ADIOI_NFS_ReadStridedcxx . . $ ADIOI_NFS_ReadStrided(c55785134a3a1d16).(ADIO_Filecxx . . $ ADIO_File# fd, void *buf, MPI_Aintcxx . . $ MPI_Aint# count, |
| 76 | MPI_Datatypecxx . . $ MPI_Datatype# datatype, int file_ptr_type, |
| 77 | ADIO_Offsetcxx . . $ ADIO_Offset# offset, ADIO_Statuscxx . . $ `src/mpi/romio/adio/include/adio.h:113:9`! * status, int |
| 78 | *error_code); |
| 79 | void ADIOI_NFS_SetInfocxx . . $ ADIOI_NFS_SetInfo(8fbfddc1e865b655).(ADIO_Filecxx . . $ ADIO_File# fd, MPI_Infocxx . . $ MPI_Info# users_info, int *error_code); |
| 80 | void ADIOI_NFS_Get_shared_fpcxx . . $ ADIOI_NFS_Get_shared_fp(45679d9cb19a1496).(ADIO_Filecxx . . $ ADIO_File# fd, ADIO_Offsetcxx . . $ ADIO_Offset# size, ADIO_Offsetcxx . . $ ADIO_Offset# * shared_fp, |
| 81 | int *error_code); |
| 82 | void ADIOI_NFS_Set_shared_fpcxx . . $ ADIOI_NFS_Set_shared_fp(bbde957b0f498fe2).(ADIO_Filecxx . . $ ADIO_File# fd, ADIO_Offsetcxx . . $ ADIO_Offset# offset, int *error_code); |
| 83 | void ADIOI_NFS_Resizecxx . . $ ADIOI_NFS_Resize(bbde957b0f498fe2).(ADIO_Filecxx . . $ ADIO_File# fd, ADIO_Offsetcxx . . $ ADIO_Offset# size, int *error_code); |
| 84 | int ADIOI_NFS_Featurecxx . . $ ADIOI_NFS_Feature(87169310a2dce9c9).(ADIO_Filecxx . . $ ADIO_File# fd, int feature_flag); |
| 85 | |
| 86 | #endif /* AD_NFS_H_INCLUDED */ |