sm_data 57 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c struct mca_sharedfp_sm_data * sm_data = NULL; sm_data 91 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data = (struct mca_sharedfp_sm_data*) malloc ( sizeof(struct mca_sharedfp_sm_data)); sm_data 92 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c if ( NULL == sm_data ){ sm_data 97 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data->sm_filename=NULL; sm_data 110 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 124 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 138 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 143 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data->sm_filename = sm_filename; sm_data 154 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 171 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 182 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data->sem_name = (char*) malloc( sizeof(char) * 32); sm_data 183 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c snprintf(sm_data->sem_name,31,"OMPIO_%s",filename_basename); sm_data 185 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data->sem_name = (char*) malloc( sizeof(char) * 253); sm_data 186 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c snprintf(sm_data->sem_name,252,"OMPIO_%s",filename_basename); sm_data 189 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c if( (sm_data->mutex = sem_open(sm_data->sem_name, O_CREAT, 0644, 1)) != SEM_FAILED ) { sm_data 191 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data->mutex = &sm_offset_ptr->mutex; sm_data 196 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sm_data->sm_offset_ptr = sm_offset_ptr; sm_data 198 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sh->selected_module_data = sm_data; sm_data 206 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sem_wait(sm_data->mutex); sm_data 208 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sem_post(sm_data->mutex); sm_data 212 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 222 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c free(sm_data); sm_data 230 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c sem_unlink ( sm_data->sem_name); sm_data 256 ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c file_data = (sm_data*)(sh->selected_module_data); sm_data 40 ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c struct mca_sharedfp_sm_data * sm_data = NULL; sm_data 45 ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c sm_data = sh->selected_module_data; sm_data 53 ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c sm_offset_ptr = sm_data->sm_offset_ptr; sm_data 57 ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c sem_wait(sm_data->mutex); sm_data 83 ompi/mca/sharedfp/sm/sharedfp_sm_request_position.c sem_post(sm_data->mutex); sm_data 43 ompi/mca/sharedfp/sm/sharedfp_sm_seek.c struct mca_sharedfp_sm_data * sm_data = NULL; sm_data 107 ompi/mca/sharedfp/sm/sharedfp_sm_seek.c sm_data = sh->selected_module_data; sm_data 108 ompi/mca/sharedfp/sm/sharedfp_sm_seek.c sm_offset_ptr = sm_data->sm_offset_ptr; sm_data 119 ompi/mca/sharedfp/sm/sharedfp_sm_seek.c sm_offset_ptr = sm_data->sm_offset_ptr; sm_data 121 ompi/mca/sharedfp/sm/sharedfp_sm_seek.c sem_wait(sm_data->mutex); sm_data 132 ompi/mca/sharedfp/sm/sharedfp_sm_seek.c sem_post(sm_data->mutex);