Go to the source code of this file.
Functions | |
void | resize_cb (void *myargs, globus_ftp_client_handle_t *handle, globus_object_t *error) |
static void | resize_wrdata_cb (void *myargs, globus_ftp_client_handle_t *handle, globus_object_t *error, globus_byte_t *buffer, globus_size_t length, globus_off_t offset, globus_bool_t eof) |
void | ADIOI_GRIDFTP_Resize (ADIO_File fd, ADIO_Offset size, int *error_code) |
Variables | |
static globus_mutex_t | resize_lock |
static globus_cond_t | resize_cond |
static globus_bool_t | resize_done |
static globus_bool_t | resize_success |
void resize_cb | ( | void * | myargs, | |
globus_ftp_client_handle_t * | handle, | |||
globus_object_t * | error | |||
) |
Definition at line 16 of file ad_gridftp_resize.c.
References resize_cond, resize_done, resize_lock, and resize_success.
Referenced by ADIOI_GRIDFTP_Resize().
static void resize_wrdata_cb | ( | void * | myargs, | |
globus_ftp_client_handle_t * | handle, | |||
globus_object_t * | error, | |||
globus_byte_t * | buffer, | |||
globus_size_t | length, | |||
globus_off_t | offset, | |||
globus_bool_t | eof | |||
) | [static] |
Definition at line 39 of file ad_gridftp_resize.c.
Referenced by ADIOI_GRIDFTP_Resize().
void ADIOI_GRIDFTP_Resize | ( | ADIO_File | fd, | |
ADIO_Offset | size, | |||
int * | error_code | |||
) |
Definition at line 55 of file ad_gridftp_resize.c.
References ADIOI_FileD::access_mode, ADIOI_Error(), ADIOI_Snprintf(), ADIOI_FileD::comm, ADIOI_FileD::fd_sys, ADIOI_FileD::filename, globus_err_handler(), gridftp_fh, MPI_Comm_rank, MPIO_Err_create_code(), myname, oattr, resize_cb(), resize_cond, resize_done, resize_lock, resize_success, and resize_wrdata_cb().
globus_mutex_t resize_lock [static] |
Definition at line 11 of file ad_gridftp_resize.c.
Referenced by ADIOI_GRIDFTP_Resize(), and resize_cb().
globus_cond_t resize_cond [static] |
Definition at line 12 of file ad_gridftp_resize.c.
Referenced by ADIOI_GRIDFTP_Resize(), and resize_cb().
globus_bool_t resize_done [static] |
Definition at line 13 of file ad_gridftp_resize.c.
Referenced by ADIOI_GRIDFTP_Resize(), and resize_cb().
globus_bool_t resize_success [static] |
Definition at line 14 of file ad_gridftp_resize.c.
Referenced by ADIOI_GRIDFTP_Resize(), and resize_cb().