![]() |
SIONlib
1.7.2
Scalable I/O library for parallel access to task-local files
|
Go to the source code of this file.
Data Structures | |
| struct | _sion_fd |
Macros | |
| #define | SION_FILEDESCRIPTOR 11 |
| #define | SION_APIDESCRIPTOR 12 |
| #define | SION_FD_CHUNK 2 |
Typedefs | |
| typedef struct _sion_fddata | sion_fddata |
Functions | |
| int | _sion_newvcd (void *data, int type) |
| int | _sion_freevcd (int sid) |
| void * | _sion_vcdtovcon (int sid) |
| int | _sion_vcdtype (int sid) |
| int | _sion_reassignvcd (int sid, void *data, int type) |
| int | _sion_new_fd (sion_fddata *fdd, void *data, int type) |
| int | _sion_set_fd (sion_fddata *fdd, int fd, void *data, int type, char *text) |
| void * | _sion_fd2ptr (sion_fddata *fdd, int fd) |
| int | _sion_fd2type (sion_fddata *fdd, int fd, char *text) |
| int | _sion_ptr2fd (sion_fddata *fdd, void *ptr, char *text) |
| int | _sion_free_fd (sion_fddata *fdd, int fd, char *text) |
| int | _sion_reassign_fd (sion_fddata *fdd, int fd, void *data, int type, char *text) |
| int | _sion_fd_size (sion_fddata *fdd) |
| #define SION_APIDESCRIPTOR 12 |
| #define SION_FILEDESCRIPTOR 11 |
| void* _sion_fd2ptr | ( | sion_fddata * | fdd, |
| int | fd | ||
| ) |
Definition at line 247 of file sion_fd.c.
Referenced by _sion_vcdtovcon().
| int _sion_fd2type | ( | sion_fddata * | fdd, |
| int | fd, | ||
| char * | text | ||
| ) |
Definition at line 265 of file sion_fd.c.
Referenced by _sion_vcdtype().
| int _sion_fd_size | ( | sion_fddata * | fdd | ) |
| int _sion_free_fd | ( | sion_fddata * | fdd, |
| int | fd, | ||
| char * | text | ||
| ) |
free a descriptor
Definition at line 213 of file sion_fd.c.
Referenced by _sion_freevcd().
| int _sion_freevcd | ( | int | sid | ) |
| int _sion_new_fd | ( | sion_fddata * | fdd, |
| void * | data, | ||
| int | type | ||
| ) |
Get a new descriptor and assign data/type to it.
Definition at line 76 of file sion_fd.c.
Referenced by _sion_newvcd().
| int _sion_newvcd | ( | void * | data, |
| int | type | ||
| ) |
| int _sion_ptr2fd | ( | sion_fddata * | fdd, |
| void * | ptr, | ||
| char * | text | ||
| ) |
| int _sion_reassign_fd | ( | sion_fddata * | fdd, |
| int | fd, | ||
| void * | data, | ||
| int | type, | ||
| char * | text | ||
| ) |
Assign new data/type to descriptor fd, where fd must be in use
Definition at line 315 of file sion_fd.c.
Referenced by _sion_reassignvcd().
| int _sion_reassignvcd | ( | int | sid, |
| void * | data, | ||
| int | type | ||
| ) |
Wrapper for _sion_reassign_fd()
Definition at line 63 of file sion_fd.c.
References _sion_reassign_fd().
| int _sion_set_fd | ( | sion_fddata * | fdd, |
| int | fd, | ||
| void * | data, | ||
| int | type, | ||
| char * | text | ||
| ) |
| void* _sion_vcdtovcon | ( | int | sid | ) |
Wrapper for _sion_fd2ptr()
Definition at line 53 of file sion_fd.c.
References _sion_fd2ptr().
Referenced by fsion_get_fileno_c(), sion_fread(), and sion_get_position().
| int _sion_vcdtype | ( | int | sid | ) |
Wrapper for _sion_fd2type()
Definition at line 58 of file sion_fd.c.
References _sion_fd2type().
Referenced by fsion_get_fileno_c(), sion_fread(), and sion_get_position().
1.8.15