req 91 ompi/communicator/comm.c opal_info_t *info, ompi_communicator_t **newcomm, ompi_request_t **req); req 114 ompi/communicator/comm.c ompi_request_t *req; req 118 ompi/communicator/comm.c attr, errh, copy_topocomponent, local_group, remote_group, &req); req 123 ompi/communicator/comm.c if (NULL != req) { req 124 ompi/communicator/comm.c rc = ompi_request_wait( &req, MPI_STATUS_IGNORE); req 145 ompi/communicator/comm.c ompi_request_t **req ) req 158 ompi/communicator/comm.c *req = NULL; req 206 ompi/communicator/comm.c &newcomm->c_local_comm, req); req 1048 ompi/communicator/comm.c int ompi_comm_idup (ompi_communicator_t *comm, ompi_communicator_t **newcomm, ompi_request_t **req) req 1050 ompi/communicator/comm.c return ompi_comm_idup_with_info (comm, NULL, newcomm, req); req 1053 ompi/communicator/comm.c int ompi_comm_idup_with_info (ompi_communicator_t *comm, opal_info_t *info, ompi_communicator_t **newcomm, ompi_request_t **req) req 1055 ompi/communicator/comm.c return ompi_comm_idup_internal (comm, comm->c_local_group, comm->c_remote_group, info, newcomm, req); req 1060 ompi/communicator/comm.c opal_info_t *info, ompi_communicator_t **newcomm, ompi_request_t **req) req 1121 ompi/communicator/comm.c *req = &request->super; req 1351 ompi/communicator/comm.c MPI_Request *req=NULL, sendreq; req 1369 ompi/communicator/comm.c req = (MPI_Request *)malloc (rsize*outcount*sizeof(MPI_Request)); req 1370 ompi/communicator/comm.c if ( NULL == req ) { req 1377 ompi/communicator/comm.c OMPI_COMM_ALLGATHER_TAG, comm, &req[i] )); req 1390 ompi/communicator/comm.c rc = ompi_request_wait_all( rsize, req, MPI_STATUSES_IGNORE); req 1422 ompi/communicator/comm.c if ( NULL != req ) { req 1423 ompi/communicator/comm.c free ( req ); req 1533 ompi/communicator/comm.c MPI_Request req; req 1575 ompi/communicator/comm.c bridge_comm, &req )); req 1586 ompi/communicator/comm.c rc = ompi_request_wait( &req, MPI_STATUS_IGNORE ); req 1610 ompi/communicator/comm.c bridge_comm, &req )); req 1619 ompi/communicator/comm.c rc = ompi_request_wait( &req, MPI_STATUS_IGNORE ); req 55 ompi/communicator/comm_cid.c ompi_request_t **req); req 140 ompi/communicator/comm_cid.c ompi_request_t **req); req 145 ompi/communicator/comm_cid.c ompi_request_t **req); req 149 ompi/communicator/comm_cid.c ompi_request_t **req); req 153 ompi/communicator/comm_cid.c ompi_request_t **req); req 157 ompi/communicator/comm_cid.c ompi_request_t **req); req 253 ompi/communicator/comm_cid.c bool send_first, int mode, ompi_request_t **req) req 277 ompi/communicator/comm_cid.c *req = &request->super; req 287 ompi/communicator/comm_cid.c ompi_request_t *req; req 290 ompi/communicator/comm_cid.c rc = ompi_comm_nextcid_nb (newcomm, comm, bridgecomm, arg0, arg1, send_first, mode, &req); req 295 ompi/communicator/comm_cid.c ompi_request_wait_completion (req); req 296 ompi/communicator/comm_cid.c rc = req->req_status.MPI_ERROR; req 297 ompi/communicator/comm_cid.c ompi_comm_request_return ((ompi_comm_request_t *) req); req 498 ompi/communicator/comm_cid.c const void *arg1, bool send_first, int mode, ompi_request_t **req) req 546 ompi/communicator/comm_cid.c *req = &request->super; req 555 ompi/communicator/comm_cid.c ompi_request_t *req; req 558 ompi/communicator/comm_cid.c rc = ompi_comm_activate_nb (newcomm, comm, bridgecomm, arg0, arg1, send_first, mode, &req); req 563 ompi/communicator/comm_cid.c ompi_request_wait_completion (req); req 564 ompi/communicator/comm_cid.c rc = req->req_status.MPI_ERROR; req 565 ompi/communicator/comm_cid.c ompi_comm_request_return ((ompi_comm_request_t *) req); req 643 ompi/communicator/comm_cid.c ompi_comm_cid_context_t *context, ompi_request_t **req) req 648 ompi/communicator/comm_cid.c req, comm->c_coll->coll_iallreduce_module); req 659 ompi/communicator/comm_cid.c ompi_request_t **req) req 712 ompi/communicator/comm_cid.c *req = &request->super; req 824 ompi/communicator/comm_cid.c ompi_request_t **req) req 884 ompi/communicator/comm_cid.c *req = &request->super; req 980 ompi/communicator/comm_cid.c ompi_request_t **req) req 1035 ompi/communicator/comm_cid.c *req = (ompi_request_t *) request; req 1102 ompi/communicator/comm_cid.c ompi_request_t **req) req 1159 ompi/communicator/comm_cid.c *req = &request->super; req 512 ompi/communicator/communicator.h OMPI_DECLSPEC int ompi_comm_idup_with_info (ompi_communicator_t *comm, opal_info_t *info, ompi_communicator_t **newcomm, ompi_request_t **req); req 582 ompi/communicator/communicator.h bool send_first, int mode, ompi_request_t **req); req 645 ompi/communicator/communicator.h ompi_request_t **req ); req 694 ompi/communicator/communicator.h const void *arg1, bool send_first, int mode, ompi_request_t **req); req 47 ompi/mca/coll/base/coll_base_alltoall.c ompi_request_t *req; req 84 ompi/mca/coll/base/coll_base_alltoall.c j, MCA_COLL_BASE_TAG_ALLTOALL, comm, &req)); req 99 ompi/mca/coll/base/coll_base_alltoall.c i, MCA_COLL_BASE_TAG_ALLTOALL, comm, &req)); req 111 ompi/mca/coll/base/coll_base_alltoall.c err = ompi_request_wait ( &req, MPI_STATUSES_IGNORE); req 580 ompi/mca/coll/base/coll_base_alltoall.c ompi_request_t **req, **sreq, **rreq; req 627 ompi/mca/coll/base/coll_base_alltoall.c req = rreq = ompi_coll_base_comm_get_reqs(data, (size - 1) * 2); req 628 ompi/mca/coll/base/coll_base_alltoall.c if (NULL == req) { err = OMPI_ERR_OUT_OF_RESOURCE; line = __LINE__; goto err_hndl; } req 661 ompi/mca/coll/base/coll_base_alltoall.c MCA_PML_CALL(start(nreqs, req)); req 670 ompi/mca/coll/base/coll_base_alltoall.c err = ompi_request_wait_all(nreqs, req, MPI_STATUSES_IGNORE); req 678 ompi/mca/coll/base/coll_base_alltoall.c if (MPI_REQUEST_NULL == req[i]) continue; req 679 ompi/mca/coll/base/coll_base_alltoall.c if (MPI_ERR_PENDING == req[i]->req_status.MPI_ERROR) continue; req 680 ompi/mca/coll/base/coll_base_alltoall.c err = req[i]->req_status.MPI_ERROR; req 689 ompi/mca/coll/base/coll_base_alltoall.c ompi_coll_base_free_reqs(req, nreqs); req 51 ompi/mca/coll/base/coll_base_barrier.c ompi_request_t *req = MPI_REQUEST_NULL; req 56 ompi/mca/coll/base/coll_base_barrier.c comm, &req )); req 64 ompi/mca/coll/base/coll_base_barrier.c rc = ompi_request_wait( &req, &status ); req 70 ompi/mca/coll/base/coll_base_barrier.c if( MPI_REQUEST_NULL != req ) { /* cancel and complete the receive request */ req 71 ompi/mca/coll/base/coll_base_barrier.c (void)ompi_request_cancel(req); req 72 ompi/mca/coll/base/coll_base_barrier.c (void)ompi_request_wait(&req, &status); req 44 ompi/mca/coll/base/coll_base_util.c ompi_request_t *req = MPI_REQUEST_NULL; req 50 ompi/mca/coll/base/coll_base_util.c comm, &req)); req 59 ompi/mca/coll/base/coll_base_util.c err = ompi_request_wait( &req, &rstatus); req 55 ompi/mca/coll/basic/coll_basic_allgather.c ompi_request_t *req; req 117 ompi/mca/coll/basic/coll_basic_allgather.c MCA_PML_BASE_SEND_STANDARD, comm, &req)); req 125 ompi/mca/coll/basic/coll_basic_allgather.c err = ompi_request_wait( &req, MPI_STATUS_IGNORE); req 61 ompi/mca/coll/basic/coll_basic_alltoall.c ompi_request_t **req, **sreq, **rreq; req 81 ompi/mca/coll/basic/coll_basic_alltoall.c req = rreq = ompi_coll_base_comm_get_reqs( module->base_data, nreqs); req 82 ompi/mca/coll/basic/coll_basic_alltoall.c if( NULL == req ) { return OMPI_ERR_OUT_OF_RESOURCE; } req 93 ompi/mca/coll/basic/coll_basic_alltoall.c ompi_coll_base_free_reqs(req, i + 1); req 104 ompi/mca/coll/basic/coll_basic_alltoall.c ompi_coll_base_free_reqs(req, i + size + 1); req 115 ompi/mca/coll/basic/coll_basic_alltoall.c err = ompi_request_wait_all(nreqs, req, MPI_STATUSES_IGNORE); req 117 ompi/mca/coll/basic/coll_basic_alltoall.c ompi_coll_base_free_reqs(req, nreqs); req 46 ompi/mca/coll/basic/coll_basic_alltoallw.c ompi_request_t *req; req 93 ompi/mca/coll/basic/coll_basic_alltoallw.c j, MCA_COLL_BASE_TAG_ALLTOALLW, comm, &req)); req 108 ompi/mca/coll/basic/coll_basic_alltoallw.c i, MCA_COLL_BASE_TAG_ALLTOALLW, comm, &req)); req 120 ompi/mca/coll/basic/coll_basic_alltoallw.c err = ompi_request_wait (&req, MPI_STATUSES_IGNORE); req 371 ompi/mca/coll/basic/coll_basic_reduce_scatter.c ompi_request_t *req; req 425 ompi/mca/coll/basic/coll_basic_reduce_scatter.c MCA_PML_BASE_SEND_STANDARD, comm, &req)); req 437 ompi/mca/coll/basic/coll_basic_reduce_scatter.c err = ompi_request_wait( &req, MPI_STATUS_IGNORE); req 82 ompi/mca/coll/basic/coll_basic_reduce_scatter_block.c ompi_request_t *req; req 118 ompi/mca/coll/basic/coll_basic_reduce_scatter_block.c MCA_PML_BASE_SEND_STANDARD, comm, &req)); req 130 ompi/mca/coll/basic/coll_basic_reduce_scatter_block.c err = ompi_request_wait( &req, MPI_STATUS_IGNORE); req 302 ompi/mca/coll/hcoll/coll_hcoll.h ompi_request_t **req, req 313 ompi/mca/coll/hcoll/coll_hcoll.h ompi_request_t **req, req 59 ompi/mca/coll/hcoll/coll_hcoll_rte.c rte_request_handle_t * req); req 66 ompi/mca/coll/hcoll/coll_hcoll_rte.c uint32_t tag, rte_request_handle_t *req); req 181 ompi/mca/coll/hcoll/coll_hcoll_rte.c rte_request_handle_t *req) req 209 ompi/mca/coll/hcoll/coll_hcoll_rte.c req->data = (void *)ompi_req; req 210 ompi/mca/coll/hcoll/coll_hcoll_rte.c req->status = HCOLRTE_REQUEST_ACTIVE; req 222 ompi/mca/coll/hcoll/coll_hcoll_rte.c rte_request_handle_t *req) req 248 ompi/mca/coll/hcoll/coll_hcoll_rte.c req->data = (void *)ompi_req; req 249 ompi/mca/coll/hcoll/coll_hcoll_rte.c req->status = HCOLRTE_REQUEST_ACTIVE; req 341 ompi/mca/coll/hcoll/coll_hcoll_rte.c ompi_request_t *req = *ompi_req; req 342 ompi/mca/coll/hcoll/coll_hcoll_rte.c if (!coll_handle_test(req)) { req 345 ompi/mca/coll/hcoll/coll_hcoll_rte.c coll_handle_free(req); req 143 ompi/mca/coll/libnbc/coll_libnbc.h #define OMPI_COLL_LIBNBC_REQUEST_ALLOC(comm, persistent, req) \ req 147 ompi/mca/coll/libnbc/coll_libnbc.h req = (ompi_coll_libnbc_request_t*) item; \ req 148 ompi/mca/coll/libnbc/coll_libnbc.h OMPI_REQUEST_INIT(&req->super, persistent); \ req 149 ompi/mca/coll/libnbc/coll_libnbc.h req->super.req_mpi_object.comm = comm; \ req 152 ompi/mca/coll/libnbc/coll_libnbc.h #define OMPI_COLL_LIBNBC_REQUEST_RETURN(req) \ req 154 ompi/mca/coll/libnbc/coll_libnbc.h OMPI_REQUEST_FINI(&(req)->super); \ req 156 ompi/mca/coll/libnbc/coll_libnbc.h (opal_free_list_item_t*) (req)); \ req 172 ompi/mca/coll/portals4/coll_portals4_request.h #define OMPI_COLL_PORTALS4_REQUEST_ALLOC(comm, req) \ req 176 ompi/mca/coll/portals4/coll_portals4_request.h req = (ompi_coll_portals4_request_t*) item; \ req 177 ompi/mca/coll/portals4/coll_portals4_request.h OMPI_REQUEST_INIT(&req->super, false); \ req 178 ompi/mca/coll/portals4/coll_portals4_request.h req->super.req_mpi_object.comm = comm; \ req 179 ompi/mca/coll/portals4/coll_portals4_request.h req->super.req_complete = false; \ req 180 ompi/mca/coll/portals4/coll_portals4_request.h req->super.req_state = OMPI_REQUEST_ACTIVE; \ req 183 ompi/mca/coll/portals4/coll_portals4_request.h #define OMPI_COLL_PORTALS4_REQUEST_RETURN(req) \ req 187 ompi/mca/coll/portals4/coll_portals4_request.h (opal_free_list_item_t*) req); \ req 24 ompi/mca/common/ompio/common_ompio_request.c static void mca_common_ompio_request_construct(mca_ompio_request_t* req); req 25 ompi/mca/common/ompio/common_ompio_request.c static void mca_common_ompio_request_destruct(mca_ompio_request_t *req); req 35 ompi/mca/common/ompio/common_ompio_request.c static int mca_common_ompio_request_free ( struct ompi_request_t **req) req 37 ompi/mca/common/ompio/common_ompio_request.c mca_ompio_request_t *ompio_req = ( mca_ompio_request_t *)*req; req 55 ompi/mca/common/ompio/common_ompio_request.c OBJ_RELEASE (*req); req 56 ompi/mca/common/ompio/common_ompio_request.c *req = MPI_REQUEST_NULL; req 60 ompi/mca/common/ompio/common_ompio_request.c static int mca_common_ompio_request_cancel ( struct ompi_request_t *req, int flag) req 69 ompi/mca/common/ompio/common_ompio_request.c void mca_common_ompio_request_construct(mca_ompio_request_t* req) req 71 ompi/mca/common/ompio/common_ompio_request.c OMPI_REQUEST_INIT (&(req->req_ompi), false ); req 72 ompi/mca/common/ompio/common_ompio_request.c req->req_ompi.req_free = mca_common_ompio_request_free; req 73 ompi/mca/common/ompio/common_ompio_request.c req->req_ompi.req_cancel = mca_common_ompio_request_cancel; req 74 ompi/mca/common/ompio/common_ompio_request.c req->req_ompi.req_type = OMPI_REQUEST_IO; req 75 ompi/mca/common/ompio/common_ompio_request.c req->req_data = NULL; req 76 ompi/mca/common/ompio/common_ompio_request.c req->req_tbuf = NULL; req 77 ompi/mca/common/ompio/common_ompio_request.c req->req_size = 0; req 78 ompi/mca/common/ompio/common_ompio_request.c req->req_progress_fn = NULL; req 79 ompi/mca/common/ompio/common_ompio_request.c req->req_free_fn = NULL; req 81 ompi/mca/common/ompio/common_ompio_request.c OBJ_CONSTRUCT(&req->req_item, opal_list_item_t); req 82 ompi/mca/common/ompio/common_ompio_request.c opal_list_append (&mca_common_ompio_pending_requests, &req->req_item); req 85 ompi/mca/common/ompio/common_ompio_request.c void mca_common_ompio_request_destruct(mca_ompio_request_t* req) req 87 ompi/mca/common/ompio/common_ompio_request.c OMPI_REQUEST_FINI ( &(req->req_ompi)); req 88 ompi/mca/common/ompio/common_ompio_request.c OBJ_DESTRUCT (&req->req_item); req 89 ompi/mca/common/ompio/common_ompio_request.c if ( NULL != req->req_data ) { req 90 ompi/mca/common/ompio/common_ompio_request.c free (req->req_data); req 113 ompi/mca/common/ompio/common_ompio_request.c void mca_common_ompio_request_alloc ( mca_ompio_request_t **req, mca_ompio_request_type_t type ) req 121 ompi/mca/common/ompio/common_ompio_request.c *req=ompio_req; req 136 ompi/mca/common/ompio/common_ompio_request.c mca_ompio_request_t *req=NULL; req 141 ompi/mca/common/ompio/common_ompio_request.c req = GET_OMPIO_REQ_FROM_ITEM(litem); req 142 ompi/mca/common/ompio/common_ompio_request.c if( REQUEST_COMPLETE(&req->req_ompi) ) { req 145 ompi/mca/common/ompio/common_ompio_request.c if ( NULL != req->req_progress_fn ) { req 146 ompi/mca/common/ompio/common_ompio_request.c if ( req->req_progress_fn(req) ) { req 148 ompi/mca/common/ompio/common_ompio_request.c ompi_request_complete (&req->req_ompi, true); req 69 ompi/mca/common/ompio/common_ompio_request.h OMPI_DECLSPEC void mca_common_ompio_request_alloc ( mca_ompio_request_t **req, mca_ompio_request_type_t type); req 5167 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c ompi_request_t *req; req 5174 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c req = requests[i]; req 5177 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c coord_request_wait(req, status); req 5188 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c static int coord_request_wait( ompi_request_t * req, req 5191 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c ompi_request_wait_completion(req); req 5194 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c status->MPI_TAG = req->req_status.MPI_TAG; req 5195 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c status->MPI_SOURCE = req->req_status.MPI_SOURCE; req 5196 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c status->_cancelled = req->req_status._cancelled; req 5197 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c status->_ucount = req->req_status._ucount; req 373 ompi/mca/crcp/crcp.h #define OMPI_CRCP_REQUEST_COMPLETE(req) \ req 375 ompi/mca/crcp/crcp.h ompi_crcp.request_complete(req); \ req 378 ompi/mca/crcp/crcp.h #define OMPI_CRCP_REQUEST_COMPLETE(req) ; req 82 ompi/mca/fbtl/ime/fbtl_ime.c bool mca_fbtl_ime_progress ( mca_ompio_request_t *req) req 85 ompi/mca/fbtl/ime/fbtl_ime.c mca_fbtl_ime_request_data_t *data=(mca_fbtl_ime_request_data_t *)req->req_data; req 155 ompi/mca/fbtl/ime/fbtl_ime.c req->req_ompi.req_status.MPI_ERROR = OMPI_SUCCESS; req 156 ompi/mca/fbtl/ime/fbtl_ime.c req->req_ompi.req_status._ucount = data->aio_total_len; req 162 ompi/mca/fbtl/ime/fbtl_ime.c req->req_ompi.req_status.MPI_ERROR = OMPI_ERROR; req 163 ompi/mca/fbtl/ime/fbtl_ime.c req->req_ompi.req_status._ucount = data->aio_total_len; req 167 ompi/mca/fbtl/ime/fbtl_ime.c void mca_fbtl_ime_request_free ( mca_ompio_request_t *req) req 170 ompi/mca/fbtl/ime/fbtl_ime.c mca_fbtl_ime_request_data_t *data=(mca_fbtl_ime_request_data_t *)req->req_data; req 174 ompi/mca/fbtl/ime/fbtl_ime.c req->req_data = NULL; req 61 ompi/mca/fbtl/ime/fbtl_ime.h bool mca_fbtl_ime_progress (mca_ompio_request_t *req); req 62 ompi/mca/fbtl/ime/fbtl_ime.h void mca_fbtl_ime_request_free (mca_ompio_request_t *req); req 33 ompi/mca/fbtl/ime/fbtl_ime_nonblocking_op.c mca_ompio_request_t *req = (mca_ompio_request_t *) request; req 165 ompi/mca/fbtl/ime/fbtl_ime_nonblocking_op.c req->req_data = data; req 166 ompi/mca/fbtl/ime/fbtl_ime_nonblocking_op.c req->req_progress_fn = mca_fbtl_ime_progress; req 167 ompi/mca/fbtl/ime/fbtl_ime_nonblocking_op.c req->req_free_fn = mca_fbtl_ime_request_free; req 118 ompi/mca/fbtl/posix/fbtl_posix.c bool mca_fbtl_posix_progress ( mca_ompio_request_t *req) req 123 ompi/mca/fbtl/posix/fbtl_posix.c mca_fbtl_posix_request_data_t *data=(mca_fbtl_posix_request_data_t *)req->req_data; req 146 ompi/mca/fbtl/posix/fbtl_posix.c req->req_ompi.req_status.MPI_ERROR = OMPI_ERROR; req 147 ompi/mca/fbtl/posix/fbtl_posix.c req->req_ompi.req_status._ucount = data->aio_total_len; req 213 ompi/mca/fbtl/posix/fbtl_posix.c req->req_ompi.req_status.MPI_ERROR = OMPI_SUCCESS; req 214 ompi/mca/fbtl/posix/fbtl_posix.c req->req_ompi.req_status._ucount = data->aio_total_len; req 222 ompi/mca/fbtl/posix/fbtl_posix.c void mca_fbtl_posix_request_free ( mca_ompio_request_t *req) req 226 ompi/mca/fbtl/posix/fbtl_posix.c mca_fbtl_posix_request_data_t *data=(mca_fbtl_posix_request_data_t *)req->req_data; req 236 ompi/mca/fbtl/posix/fbtl_posix.c req->req_data = NULL; req 60 ompi/mca/fbtl/posix/fbtl_posix.h bool mca_fbtl_posix_progress ( mca_ompio_request_t *req); req 61 ompi/mca/fbtl/posix/fbtl_posix.h void mca_fbtl_posix_request_free ( mca_ompio_request_t *req); req 41 ompi/mca/fbtl/posix/fbtl_posix_ipreadv.c mca_ompio_request_t *req = (mca_ompio_request_t *) request; req 116 ompi/mca/fbtl/posix/fbtl_posix_ipreadv.c req->req_data = data; req 117 ompi/mca/fbtl/posix/fbtl_posix_ipreadv.c req->req_progress_fn = mca_fbtl_posix_progress; req 118 ompi/mca/fbtl/posix/fbtl_posix_ipreadv.c req->req_free_fn = mca_fbtl_posix_request_free; req 40 ompi/mca/fbtl/posix/fbtl_posix_ipwritev.c mca_ompio_request_t *req = (mca_ompio_request_t *) request; req 115 ompi/mca/fbtl/posix/fbtl_posix_ipwritev.c req->req_data = data; req 116 ompi/mca/fbtl/posix/fbtl_posix_ipwritev.c req->req_progress_fn = mca_fbtl_posix_progress; req 117 ompi/mca/fbtl/posix/fbtl_posix_ipwritev.c req->req_free_fn = mca_fbtl_posix_request_free; req 40 ompi/mca/io/base/io_base_request.c static void io_base_request_constructor(mca_io_base_request_t *req) req 42 ompi/mca/io/base/io_base_request.c req->super.req_type = OMPI_REQUEST_IO; req 43 ompi/mca/io/base/io_base_request.c req->free_called = false; req 127 ompi/mca/io/romio321/romio/adio/ad_nfs/ad_nfs_iwrite.c memcpy(&(aio_req->req), request, sizeof(MPI_Request)); req 63 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c mpi_errno = MPI_Grequest_complete(aio_req->req); req 112 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c mpi_errno = MPI_Grequest_complete(aio_reqlist[retObject]->req); req 301 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c memcpy(&(aio_req->req), request, sizeof(MPI_Request)); req 133 ompi/mca/io/romio321/romio/adio/ad_pvfs2/ad_pvfs2_aio.c memcpy(&(aio_req->req), request, sizeof(*request)); req 174 ompi/mca/io/romio321/romio/adio/ad_pvfs2/ad_pvfs2_aio.c MPI_Grequest_complete(aio_req->req); req 209 ompi/mca/io/romio321/romio/adio/ad_pvfs2/ad_pvfs2_aio.c MPI_Grequest_complete(aio_reqlist[j]->req); req 239 ompi/mca/io/romio321/romio/adio/common/ad_iread_coll.c memcpy(&nbc_req->req, request, sizeof(MPI_Request)); req 569 ompi/mca/io/romio321/romio/adio/common/ad_iread_coll.c *error_code = MPI_Grequest_complete(nbc_req->req); req 178 ompi/mca/io/romio321/romio/adio/common/ad_iwrite.c memcpy(&(aio_req->req), request, sizeof(MPI_Request)); req 228 ompi/mca/io/romio321/romio/adio/common/ad_iwrite.c errcode = MPI_Grequest_complete(aio_req->req); req 287 ompi/mca/io/romio321/romio/adio/common/ad_iwrite.c errcode = MPI_Grequest_complete(aio_reqlist[i]->req); req 262 ompi/mca/io/romio321/romio/adio/common/ad_iwrite_coll.c memcpy(&nbc_req->req, request, sizeof(MPI_Request)); req 617 ompi/mca/io/romio321/romio/adio/common/ad_iwrite_coll.c *error_code = MPI_Grequest_complete(nbc_req->req); req 136 ompi/mca/io/romio321/romio/adio/include/adioi.h MPI_Request req; req 573 ompi/mca/io/romio321/romio/adio/include/adioi.h MPI_Request req; /* MPIX_Grequest */ req 26 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Request req; req 92 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_File_iwrite(fh, buf, 1, newtype, &req); req 94 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_Wait(&req, &status); req 96 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Wait(&req, &status); req 103 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_File_iread_at(fh, 0, buf, 1, newtype, &req); req 105 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_Wait(&req, &status); req 107 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Wait(&req, &status); req 153 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_File_iwrite_at(fh, mynod*(SIZE/2)*sizeof(int), buf, 1, newtype, &req); req 155 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_Wait(&req, &status); req 157 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Wait(&req, &status); req 164 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_File_iread_at(fh, mynod*(SIZE/2)*sizeof(int), buf, 1, newtype, &req); req 166 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_Wait(&req, &status); req 168 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Wait(&req, &status); req 216 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_File_iwrite(fh, buf, SIZE, MPI_INT, &req); req 218 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_Wait(&req, &status); req 220 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Wait(&req, &status); req 227 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_File_iread_at(fh, 0, buf, SIZE, MPI_INT, &req); req 229 ompi/mca/io/romio321/romio/test/i_noncontig.c MPI_Wait(&req, &status); req 231 ompi/mca/io/romio321/romio/test/i_noncontig.c MPIO_Wait(&req, &status); req 418 ompi/mca/mtl/psm/mtl_psm.c psm_mq_req_t req; req 422 ompi/mca/mtl/psm/mtl_psm.c err = psm_mq_ipeek(ompi_mtl_psm.mq, &req, NULL); req 431 ompi/mca/mtl/psm/mtl_psm.c err = psm_mq_test(&req, &psm_status); req 405 ompi/mca/mtl/psm2/mtl_psm2.c psm2_mq_req_t req; req 410 ompi/mca/mtl/psm2/mtl_psm2.c err = psm2_mq_ipeek2(ompi_mtl_psm2.mq, &req, NULL); req 419 ompi/mca/mtl/psm2/mtl_psm2.c err = psm2_mq_test2(&req, &psm2_status); req 191 ompi/mca/osc/portals4/osc_portals4_component.c ompi_osc_portals4_request_t *req; req 230 ompi/mca/osc/portals4/osc_portals4_component.c req = (ompi_osc_portals4_request_t*) ev.user_ptr; req 231 ompi/mca/osc/portals4/osc_portals4_component.c opal_atomic_add_fetch_size_t(&req->super.req_status._ucount, ev.mlength); req 232 ompi/mca/osc/portals4/osc_portals4_component.c ops = opal_atomic_add_fetch_32(&req->ops_committed, 1); req 233 ompi/mca/osc/portals4/osc_portals4_component.c if (ops == req->ops_expected) { req 234 ompi/mca/osc/portals4/osc_portals4_component.c ompi_request_complete(&req->super, true); req 27 ompi/mca/osc/portals4/osc_portals4_request.h #define OMPI_OSC_PORTALS4_REQUEST_ALLOC(win, req) \ req 31 ompi/mca/osc/portals4/osc_portals4_request.h req = (ompi_osc_portals4_request_t*) item; \ req 32 ompi/mca/osc/portals4/osc_portals4_request.h OMPI_REQUEST_INIT(&req->super, false); \ req 33 ompi/mca/osc/portals4/osc_portals4_request.h req->super.req_mpi_object.win = win; \ req 34 ompi/mca/osc/portals4/osc_portals4_request.h req->super.req_complete = false; \ req 35 ompi/mca/osc/portals4/osc_portals4_request.h req->super.req_state = OMPI_REQUEST_ACTIVE; \ req 36 ompi/mca/osc/portals4/osc_portals4_request.h req->super.req_status.MPI_ERROR = MPI_SUCCESS; \ req 37 ompi/mca/osc/portals4/osc_portals4_request.h req->ops_expected = 0; \ req 38 ompi/mca/osc/portals4/osc_portals4_request.h req->ops_committed = 0; \ req 41 ompi/mca/osc/portals4/osc_portals4_request.h #define OMPI_OSC_PORTALS4_REQUEST_RETURN(req) \ req 45 ompi/mca/osc/portals4/osc_portals4_request.h (opal_free_list_item_t*) req); \ req 39 ompi/mca/osc/pt2pt/osc_pt2pt_request.h #define OMPI_OSC_PT2PT_REQUEST_ALLOC(win, req) \ req 48 ompi/mca/osc/pt2pt/osc_pt2pt_request.h req = (ompi_osc_pt2pt_request_t*) item; \ req 49 ompi/mca/osc/pt2pt/osc_pt2pt_request.h OMPI_REQUEST_INIT(&req->super, false); \ req 50 ompi/mca/osc/pt2pt/osc_pt2pt_request.h req->super.req_mpi_object.win = win; \ req 51 ompi/mca/osc/pt2pt/osc_pt2pt_request.h req->super.req_complete = false; \ req 52 ompi/mca/osc/pt2pt/osc_pt2pt_request.h req->super.req_state = OMPI_REQUEST_ACTIVE; \ req 53 ompi/mca/osc/pt2pt/osc_pt2pt_request.h req->module = GET_MODULE(win); \ req 54 ompi/mca/osc/pt2pt/osc_pt2pt_request.h req->internal = false; \ req 57 ompi/mca/osc/pt2pt/osc_pt2pt_request.h #define OMPI_OSC_PT2PT_REQUEST_RETURN(req) \ req 59 ompi/mca/osc/pt2pt/osc_pt2pt_request.h OMPI_REQUEST_FINI(&(req)->super); \ req 60 ompi/mca/osc/pt2pt/osc_pt2pt_request.h (req)->outstanding_requests = 0; \ req 62 ompi/mca/osc/pt2pt/osc_pt2pt_request.h (opal_free_list_item_t *) (req)); \ req 522 ompi/mca/osc/rdma/osc_rdma_accumulate.c mca_btl_base_registration_handle_t *target_handle, ompi_op_t *op, ompi_osc_rdma_request_t *req, req 557 ompi/mca/osc/rdma/osc_rdma_accumulate.c if (req) { req 558 ompi/mca/osc/rdma/osc_rdma_accumulate.c ompi_osc_rdma_request_complete (req, MPI_SUCCESS); req 567 ompi/mca/osc/rdma/osc_rdma_accumulate.c mca_btl_base_registration_handle_t *target_handle, ompi_op_t *op, ompi_osc_rdma_request_t *req, req 616 ompi/mca/osc/rdma/osc_rdma_accumulate.c if (req) { req 617 ompi/mca/osc/rdma/osc_rdma_accumulate.c ompi_osc_rdma_request_complete (req, MPI_SUCCESS); req 626 ompi/mca/osc/rdma/osc_rdma_accumulate.c ompi_op_t *op, ompi_osc_rdma_request_t *req, bool lock_acquired) req 636 ompi/mca/osc/rdma/osc_rdma_accumulate.c op, req, lock_acquired); req 665 ompi/mca/osc/rdma/osc_rdma_accumulate.c if (req) { req 666 ompi/mca/osc/rdma/osc_rdma_accumulate.c ompi_osc_rdma_request_complete (req, MPI_SUCCESS); req 66 ompi/mca/osc/rdma/osc_rdma_request.h #define OMPI_OSC_RDMA_REQUEST_ALLOC(rmodule, rpeer, req) \ req 68 ompi/mca/osc/rdma/osc_rdma_request.h (req) = OBJ_NEW(ompi_osc_rdma_request_t); \ req 69 ompi/mca/osc/rdma/osc_rdma_request.h OMPI_REQUEST_INIT(&(req)->super, false); \ req 70 ompi/mca/osc/rdma/osc_rdma_request.h (req)->super.req_mpi_object.win = (rmodule)->win; \ req 71 ompi/mca/osc/rdma/osc_rdma_request.h (req)->super.req_state = OMPI_REQUEST_ACTIVE; \ req 72 ompi/mca/osc/rdma/osc_rdma_request.h (req)->module = rmodule; \ req 73 ompi/mca/osc/rdma/osc_rdma_request.h (req)->peer = (rpeer); \ req 76 ompi/mca/osc/rdma/osc_rdma_request.h #define OMPI_OSC_RDMA_REQUEST_RETURN(req) \ req 78 ompi/mca/osc/rdma/osc_rdma_request.h OMPI_REQUEST_FINI(&(req)->super); \ req 79 ompi/mca/osc/rdma/osc_rdma_request.h free ((req)->buffer); \ req 80 ompi/mca/osc/rdma/osc_rdma_request.h free (req); \ req 49 ompi/mca/osc/ucx/osc_ucx_request.c ompi_osc_ucx_request_t *req = (ompi_osc_ucx_request_t *)request; req 50 ompi/mca/osc/ucx/osc_ucx_request.c ompi_request_complete(&(req->super), true); req 25 ompi/mca/osc/ucx/osc_ucx_request.h #define OMPI_OSC_UCX_REQUEST_ALLOC(win, req) \ req 36 ompi/mca/osc/ucx/osc_ucx_request.h req = (ompi_osc_ucx_request_t*) item; \ req 37 ompi/mca/osc/ucx/osc_ucx_request.h OMPI_REQUEST_INIT(&req->super, false); \ req 38 ompi/mca/osc/ucx/osc_ucx_request.h req->super.req_mpi_object.win = win; \ req 39 ompi/mca/osc/ucx/osc_ucx_request.h req->super.req_complete = false; \ req 40 ompi/mca/osc/ucx/osc_ucx_request.h req->super.req_state = OMPI_REQUEST_ACTIVE; \ req 41 ompi/mca/osc/ucx/osc_ucx_request.h req->super.req_status.MPI_ERROR = MPI_SUCCESS; \ req 44 ompi/mca/osc/ucx/osc_ucx_request.h #define OMPI_OSC_UCX_REQUEST_RETURN(req) \ req 48 ompi/mca/osc/ucx/osc_ucx_request.h (opal_free_list_item_t*) req); \ req 33 ompi/mca/pml/base/pml_base_request.c static void mca_pml_base_request_construct(mca_pml_base_request_t* req) req 35 ompi/mca/pml/base/pml_base_request.c req->req_ompi.req_type = OMPI_REQUEST_PML; req 23 ompi/mca/pml/base/pml_base_sendreq.c static void mca_pml_base_send_request_construct(mca_pml_base_send_request_t* req); req 24 ompi/mca/pml/base/pml_base_sendreq.c static void mca_pml_base_send_request_destruct(mca_pml_base_send_request_t* req); req 42 ompi/mca/pml/base/pml_base_sendreq.c static void mca_pml_base_send_request_destruct(mca_pml_base_send_request_t* req) req 157 ompi/mca/pml/cm/pml_cm.h mca_pml_cm_request_t req; req 162 ompi/mca/pml/cm/pml_cm.h req_mtl->ompi_req = &req.req_ompi; req 165 ompi/mca/pml/cm/pml_cm.h req.req_pml_type = MCA_PML_CM_REQUEST_RECV_THIN; req 166 ompi/mca/pml/cm/pml_cm.h req.req_free_called = false; req 167 ompi/mca/pml/cm/pml_cm.h req.req_ompi.req_complete = false; req 168 ompi/mca/pml/cm/pml_cm.h req.req_ompi.req_complete_cb = NULL; req 169 ompi/mca/pml/cm/pml_cm.h req.req_ompi.req_state = OMPI_REQUEST_ACTIVE; req 170 ompi/mca/pml/cm/pml_cm.h req.req_ompi.req_status.MPI_TAG = OMPI_ANY_TAG; req 171 ompi/mca/pml/cm/pml_cm.h req.req_ompi.req_status.MPI_ERROR = OMPI_SUCCESS; req 172 ompi/mca/pml/cm/pml_cm.h req.req_ompi.req_status._cancelled = 0; req 213 ompi/mca/pml/cm/pml_cm.h ompi_request_wait_completion(&req.req_ompi); req 216 ompi/mca/pml/cm/pml_cm.h *status = req.req_ompi.req_status; req 218 ompi/mca/pml/cm/pml_cm.h ret = req.req_ompi.req_status.MPI_ERROR; req 25 ompi/mca/pml/cm/pml_cm_request.c static void mca_pml_cm_request_construct( mca_pml_cm_request_t* req) { req 26 ompi/mca/pml/cm/pml_cm_request.c OBJ_CONSTRUCT(&req->req_convertor, opal_convertor_t); req 27 ompi/mca/pml/cm/pml_cm_request.c req->req_ompi.req_type = OMPI_REQUEST_PML; req 30 ompi/mca/pml/cm/pml_cm_request.c static void mca_pml_cm_request_destruct( mca_pml_cm_request_t* req) { req 31 ompi/mca/pml/cm/pml_cm_request.c OBJ_DESTRUCT(&req->req_convertor); req 22 ompi/mca/pml/example/pml_example_recvreq.c mca_pml_base_recv_request_t* req, req 18 ompi/mca/pml/example/pml_example_recvreq.h mca_pml_base_recv_request_t* req, req 17 ompi/mca/pml/example/pml_example_sendreq.c mca_pml_base_send_request_t* req, req 18 ompi/mca/pml/example/pml_example_sendreq.h mca_pml_base_send_request_t* req, req 43 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h static inline int custom_match_prq_cancel(custom_match_prq* list, void* req) req 46 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h printf("custom_match_prq_cancel - list: %x req: %x\n", list, req); req 55 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h if(elem->value[i] == req) req 202 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 328 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[j]; req 329 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 330 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h else snprintf(cpeer, 64, "%d", req->req_peer); req 331 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 332 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h else snprintf(ctag, 64, "%d", req->req_tag); req 334 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h (void*) req, cpeer, ctag, req 335 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h (void*) req->req_addr, req->req_count, req 336 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h (0 != req->req_count ? req->req_datatype->name : "N/A"), req 337 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h (void*) req->req_datatype, req 338 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h (req->req_pml_complete ? "pml_complete" : ""), req 339 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h (req->req_free_called ? "freed" : ""), req 340 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h req->req_sequence); req 568 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[j]; req 569 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h printf("%x %x %x\n", elem->value[j], req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 570 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h if( OMPI_ANY_SOURCE == req->hdr.hdr_match.hdr_src ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 571 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h else snprintf(cpeer, 64, "%d", req->hdr.hdr_match.hdr_src); req 572 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h if( OMPI_ANY_TAG == req->hdr.hdr_match.hdr_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 573 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_arrays.h else snprintf(ctag, 64, "%d", req->hdr.hdr_match.hdr_tag); req 39 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h static inline int custom_match_prq_cancel(custom_match_prq* list, void* req) req 42 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("custom_match_prq_cancel - list: %x req: %x\n", list, req); req 52 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if(elem->value[i] == req) req 112 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 113 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG)) req 116 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("Found list: %x tag: %x peer: %x\n", list, req->req_tag, req->req_peer); req 158 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 159 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if(((0x1l << i) & result) && req && ((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG))) req 189 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("Index: %d Found list: %x tag: %x peer: %x\n", i, list, req->req_tag, req->req_peer); req 214 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 216 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("custom_match_prq_append list: %x key: %x mask: %x tag: %x peer: %x\n", list, key, mask, req->req_tag, req->req_peer); req 335 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[j]; req 336 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 337 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h else snprintf(cpeer, 64, "%d", req->req_peer); req 338 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 339 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h else snprintf(ctag, 64, "%d", req->req_tag); req 341 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h (void*) req, cpeer, ctag, req 342 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h (void*) req->req_addr, req->req_count, req 343 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h (0 != req->req_count ? req->req_datatype->name : "N/A"), req 344 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h (void*) req->req_datatype, req 345 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h (req->req_pml_complete ? "pml_complete" : ""), req 346 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h (req->req_free_called ? "freed" : ""), req 347 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h req->req_sequence); req 410 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[i]; req 411 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if((req->hdr.hdr_match.hdr_src == peer || peer == OMPI_ANY_SOURCE) && (req->hdr.hdr_match.hdr_tag == tag || tag == OMPI_ANY_TAG)) req 414 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("Found list: %x tag: %x peer: %x\n", list, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 468 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)payload; req 469 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("custom_match_umq_append list: %x key: %x payload: %x tag: %d src: %d\n", list, key, payload, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 573 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[j]; req 574 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h printf("%x %x %x\n", elem->value[j], req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 575 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if( OMPI_ANY_SOURCE == req->hdr.hdr_match.hdr_src ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 576 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h else snprintf(cpeer, 64, "%d", req->hdr.hdr_match.hdr_src); req 577 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h if( OMPI_ANY_TAG == req->hdr.hdr_match.hdr_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 578 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-byte.h else snprintf(ctag, 64, "%d", req->hdr.hdr_match.hdr_tag); req 39 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h static inline int custom_match_prq_cancel(custom_match_prq* list, void* req) req 42 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("custom_match_prq_cancel - list: %x req: %x\n", list, req); req 52 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if(elem->value[i] == req) req 112 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 113 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG)) req 116 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("Found list: %x tag: %x peer: %x\n", list, req->req_tag, req->req_peer); req 152 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 153 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if((0x1 << i & result) && req && ((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG))) req 183 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("Found list: %x tag: %x peer: %x\n", list, req->req_tag, req->req_peer); req 208 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 210 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("custom_match_prq_append list: %x key: %x mask: %x tag: %x peer: %x\n", list, key, mask, req->req_tag, req->req_peer); req 327 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[j]; req 328 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 329 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h else snprintf(cpeer, 64, "%d", req->req_peer); req 330 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 331 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h else snprintf(ctag, 64, "%d", req->req_tag); req 333 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h (void*) req, cpeer, ctag, req 334 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h (void*) req->req_addr, req->req_count, req 335 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h (0 != req->req_count ? req->req_datatype->name : "N/A"), req 336 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h (void*) req->req_datatype, req 337 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h (req->req_pml_complete ? "pml_complete" : ""), req 338 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h (req->req_free_called ? "freed" : ""), req 339 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h req->req_sequence); req 401 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[i]; req 402 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if((req->hdr.hdr_match.hdr_src == peer || peer == OMPI_ANY_SOURCE) && (req->hdr.hdr_match.hdr_tag == tag || tag == OMPI_ANY_TAG)) req 405 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("Found list: %x tag: %x peer: %x\n", list, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 459 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)payload; req 460 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("custom_match_umq_append list: %x key: %x payload: %x tag: %d src: %d\n", list, key, payload, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 568 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[j]; req 569 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h printf("%x %x %x\n", elem->value[j], req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 570 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if( OMPI_ANY_SOURCE == req->hdr.hdr_match.hdr_src ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 571 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h else snprintf(cpeer, 64, "%d", req->hdr.hdr_match.hdr_src); req 572 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h if( OMPI_ANY_TAG == req->hdr.hdr_match.hdr_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 573 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-short.h else snprintf(ctag, 64, "%d", req->hdr.hdr_match.hdr_tag); req 39 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h static inline int custom_match_prq_cancel(custom_match_prq* list, void* req) req 42 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("custom_match_prq_cancel - list: %x req: %x\n", list, req); req 51 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if(elem->value[i] == req) req 111 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 112 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG)) req 115 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("Found list: %x tag: %x peer: %x\n", list, req->req_tag, req->req_peer); req 152 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 153 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if((0x1 << i & result) && req && ((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG))) req 183 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("Found list: %x tag: %x peer: %x\n", list, req->req_tag, req->req_peer); req 220 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 221 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("custom_match_prq_append list: %x key: %x mask: %x tag: %x peer: %x\n", list, key, mask, req->req_tag, req->req_peer); req 336 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[j]; req 337 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 338 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h else snprintf(cpeer, 64, "%d", req->req_peer); req 339 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 340 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h else snprintf(ctag, 64, "%d", req->req_tag); req 342 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h (void*) req, cpeer, ctag, req 343 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h (void*) req->req_addr, req->req_count, req 344 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h (0 != req->req_count ? req->req_datatype->name : "N/A"), req 345 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h (void*) req->req_datatype, req 346 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h (req->req_pml_complete ? "pml_complete" : ""), req 347 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h (req->req_free_called ? "freed" : ""), req 348 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h req->req_sequence); req 419 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[i]; req 420 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if((req->hdr.hdr_match.hdr_src == peer || peer == OMPI_ANY_SOURCE) && (req->hdr.hdr_match.hdr_tag == tag || tag == OMPI_ANY_TAG)) req 423 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("Found list: %x tag: %x peer: %x\n", list, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 477 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)payload; req 478 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("custom_match_umq_append list: %x key: %x payload: %x tag: %d src: %d\n", list, key, payload, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 586 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[j]; req 587 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h printf("%lx %x %x\n", (uintptr_t) elem->value[j], req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 588 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if( OMPI_ANY_SOURCE == req->hdr.hdr_match.hdr_src ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 589 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h else snprintf(cpeer, 64, "%d", req->hdr.hdr_match.hdr_src); req 590 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h if( OMPI_ANY_TAG == req->hdr.hdr_match.hdr_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 591 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h else snprintf(ctag, 64, "%d", req->hdr.hdr_match.hdr_tag); req 38 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h static inline int custom_match_prq_cancel(custom_match_prq* list, void* req) req 41 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h printf("custom_match_prq_cancel - list: %x req: %x\n", list, req); req 48 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h if(elem->value == req) req 139 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 141 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h printf("Found list: %x tag: %x peer: %x\n", list, req->req_tag, req->req_peer); req 171 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 173 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h printf("custom_match_prq_append list: %x tag: %x soruce: %x tag: %x peer: %x\n", list, tag, source, req->req_tag, req->req_peer); req 287 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value; req 288 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 289 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h else snprintf(cpeer, 64, "%d", req->req_peer); req 290 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 291 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h else snprintf(ctag, 64, "%d", req->req_tag); req 293 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h (void*) req, cpeer, ctag, req 294 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h (void*) req->req_addr, req->req_count, req 295 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h (0 != req->req_count ? req->req_datatype->name : "N/A"), req 296 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h (void*) req->req_datatype, req 297 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h (req->req_pml_complete ? "pml_complete" : ""), req 298 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h (req->req_free_called ? "freed" : ""), req 299 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h req->req_sequence); req 506 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value; req 507 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h printf("%x %x %x\n", elem->value, req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 508 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h if( OMPI_ANY_SOURCE == req->hdr.hdr_match.hdr_src ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 509 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h else snprintf(cpeer, 64, "%d", req->hdr.hdr_match.hdr_src); req 510 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h if( OMPI_ANY_TAG == req->hdr.hdr_match.hdr_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 511 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_linkedlist.h else snprintf(ctag, 64, "%d", req->hdr.hdr_match.hdr_tag); req 41 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h static inline int custom_match_prq_cancel(custom_match_prq* list, void* req) req 44 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h printf("custom_match_prq_cancel - list: %p req: %p\n", (void *) list, req); req 53 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h if(elem->value[i] == req) req 117 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 118 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h printf("Found list: %p tag: %x peer: %x\n", (void *) list, req->req_tag, req->req_peer); req 154 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i]; req 155 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h if((0x1 << i & result) && req && ((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG))) req 187 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h printf("Found list: %p tag: %x peer: %x\n", (void *) list, req->req_tag, req->req_peer); req 220 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)payload; req 222 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mask_src, mask_tag, req->req_tag, req->req_peer); req 346 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[j]; req 347 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 348 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h else snprintf(cpeer, 64, "%d", req->req_peer); req 349 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 350 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h else snprintf(ctag, 64, "%d", req->req_tag); req 352 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h (void*) req, cpeer, ctag, req 353 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h (void*) req->req_addr, req->req_count, req 354 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h (0 != req->req_count ? req->req_datatype->name : "N/A"), req 355 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h (void*) req->req_datatype, req 356 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h (req->req_pml_complete ? "pml_complete" : ""), req 357 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h (req->req_free_called ? "freed" : ""), req 358 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h req->req_sequence); req 482 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)payload; req 484 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h req->hdr.hdr_match.hdr_tag, req->hdr.hdr_match.hdr_src); req 576 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[j]; req 578 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h if( OMPI_ANY_SOURCE == req->hdr.hdr_match.hdr_src ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 579 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h else snprintf(cpeer, 64, "%d", req->hdr.hdr_match.hdr_src); req 580 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h if( OMPI_ANY_TAG == req->hdr.hdr_match.hdr_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 581 ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_vectors.h else snprintf(ctag, 64, "%d", req->hdr.hdr_match.hdr_tag); req 551 ompi/mca/pml/ob1/pml_ob1.c mca_pml_base_request_t *req = &(((mca_pml_ob1_recv_request_t*)item)->req_recv.req_base); req 553 ompi/mca/pml/ob1/pml_ob1.c if( OMPI_ANY_SOURCE == req->req_peer ) snprintf(cpeer, 64, "%s", "ANY_SOURCE"); req 554 ompi/mca/pml/ob1/pml_ob1.c else snprintf(cpeer, 64, "%d", req->req_peer); req 556 ompi/mca/pml/ob1/pml_ob1.c if( OMPI_ANY_TAG == req->req_tag ) snprintf(ctag, 64, "%s", "ANY_TAG"); req 557 ompi/mca/pml/ob1/pml_ob1.c else snprintf(ctag, 64, "%d", req->req_tag); req 560 ompi/mca/pml/ob1/pml_ob1.c (void*) req, cpeer, ctag, req 561 ompi/mca/pml/ob1/pml_ob1.c (void*) req->req_addr, req->req_count, req 562 ompi/mca/pml/ob1/pml_ob1.c (0 != req->req_count ? req->req_datatype->name : "N/A"), req 563 ompi/mca/pml/ob1/pml_ob1.c (void*) req->req_datatype, req 564 ompi/mca/pml/ob1/pml_ob1.c (req->req_pml_complete ? "pml_complete" : ""), req 565 ompi/mca/pml/ob1/pml_ob1.c (req->req_free_called ? "freed" : ""), req 566 ompi/mca/pml/ob1/pml_ob1.c req->req_sequence); req 713 ompi/mca/pml/ob1/pml_ob1_recvfrag.c mca_pml_ob1_recv_request_t* req) req 715 ompi/mca/pml/ob1/pml_ob1_recvfrag.c opal_list_item_t *i = opal_list_get_next((opal_list_item_t*)req); req 1084 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_recv_request_t *req) req 1086 ompi/mca/pml/ob1/pml_ob1_recvreq.c opal_list_append(queue, (opal_list_item_t*)req); req 1092 ompi/mca/pml/ob1/pml_ob1_recvreq.c if (req->req_recv.req_base.req_type != MCA_PML_REQUEST_PROBE && req 1093 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_type != MCA_PML_REQUEST_MPROBE) { req 1095 ompi/mca/pml/ob1/pml_ob1_recvreq.c &(req->req_recv.req_base), PERUSE_RECV); req 1108 ompi/mca/pml/ob1/pml_ob1_recvreq.c recv_req_match_specific_proc( const mca_pml_ob1_recv_request_t *req, req 1115 ompi/mca/pml/ob1/pml_ob1_recvreq.c recv_req_match_specific_proc( const mca_pml_ob1_recv_request_t *req, req 1124 ompi/mca/pml/ob1/pml_ob1_recvreq.c int tag = req->req_recv.req_base.req_tag; req 1145 ompi/mca/pml/ob1/pml_ob1_recvreq.c return custom_match_umq_find_verify_hold(req->req_recv.req_base.req_comm->c_pml_comm->umq, req 1146 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_tag, req 1147 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_peer, req 1158 ompi/mca/pml/ob1/pml_ob1_recvreq.c recv_req_match_wild( mca_pml_ob1_recv_request_t* req, req 1165 ompi/mca/pml/ob1/pml_ob1_recvreq.c recv_req_match_wild( mca_pml_ob1_recv_request_t* req, req 1169 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_comm_t* comm = req->req_recv.req_base.req_comm->c_pml_comm; req 1174 ompi/mca/pml/ob1/pml_ob1_recvreq.c frag = custom_match_umq_find_verify_hold (comm->umq, req->req_recv.req_base.req_tag, req 1175 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_peer, req 1180 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_proc = procp[frag->hdr.hdr_match.hdr_src]->ompi_proc; req 1181 ompi/mca/pml/ob1/pml_ob1_recvreq.c prepare_recv_req_converter(req); req 1201 ompi/mca/pml/ob1/pml_ob1_recvreq.c if((frag = recv_req_match_specific_proc(req, procp[i]))) { req 1204 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_proc = procp[i]->ompi_proc; req 1205 ompi/mca/pml/ob1/pml_ob1_recvreq.c prepare_recv_req_converter(req); req 1213 ompi/mca/pml/ob1/pml_ob1_recvreq.c if((frag = recv_req_match_specific_proc(req, procp[i]))) { req 1216 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_proc = procp[i]->ompi_proc; req 1217 ompi/mca/pml/ob1/pml_ob1_recvreq.c prepare_recv_req_converter(req); req 1228 ompi/mca/pml/ob1/pml_ob1_recvreq.c void mca_pml_ob1_recv_req_start(mca_pml_ob1_recv_request_t *req) req 1230 ompi/mca/pml/ob1/pml_ob1_recvreq.c ompi_communicator_t *comm = req->req_recv.req_base.req_comm; req 1244 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_lock = 0; req 1245 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_pipeline_depth = 0; req 1246 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_bytes_received = 0; req 1247 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_bytes_expected = 0; req 1249 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_rdma_idx = 0; req 1250 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_pending = false; req 1251 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_ack_sent = false; req 1253 ompi/mca/pml/ob1/pml_ob1_recvreq.c MCA_PML_BASE_RECV_START(&req->req_recv); req 1261 ompi/mca/pml/ob1/pml_ob1_recvreq.c &(req->req_recv.req_base), PERUSE_RECV); req 1264 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_sequence = ob1_comm->recv_sequence++; req 1267 ompi/mca/pml/ob1/pml_ob1_recvreq.c if(req->req_recv.req_base.req_peer == OMPI_ANY_SOURCE) { req 1269 ompi/mca/pml/ob1/pml_ob1_recvreq.c frag = recv_req_match_wild(req, &proc, &hold_prev, &hold_elem, &hold_index); req 1271 ompi/mca/pml/ob1/pml_ob1_recvreq.c frag = recv_req_match_wild(req, &proc); req 1281 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_proc = ompi_proc_local_proc; req 1282 ompi/mca/pml/ob1/pml_ob1_recvreq.c prepare_recv_req_converter(req); req 1286 ompi/mca/pml/ob1/pml_ob1_recvreq.c proc = mca_pml_ob1_peer_lookup (comm, req->req_recv.req_base.req_peer); req 1287 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_proc = proc->ompi_proc; req 1289 ompi/mca/pml/ob1/pml_ob1_recvreq.c frag = recv_req_match_specific_proc(req, proc, &hold_prev, &hold_elem, &hold_index); req 1291 ompi/mca/pml/ob1/pml_ob1_recvreq.c frag = recv_req_match_specific_proc(req, proc); req 1295 ompi/mca/pml/ob1/pml_ob1_recvreq.c prepare_recv_req_converter(req); req 1300 ompi/mca/pml/ob1/pml_ob1_recvreq.c &(req->req_recv.req_base), PERUSE_RECV); req 1303 ompi/mca/pml/ob1/pml_ob1_recvreq.c if(OPAL_LIKELY(req->req_recv.req_base.req_type != MCA_PML_REQUEST_IPROBE && req 1304 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_type != MCA_PML_REQUEST_IMPROBE)) req 1306 ompi/mca/pml/ob1/pml_ob1_recvreq.c custom_match_prq_append(ob1_comm->prq, req, req 1307 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_tag, req 1308 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_peer); req 1310 ompi/mca/pml/ob1/pml_ob1_recvreq.c append_recv_req_to_queue(queue, req); req 1312 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_match_received = false; req 1315 ompi/mca/pml/ob1/pml_ob1_recvreq.c if(OPAL_LIKELY(!IS_PROB_REQ(req))) { req 1317 ompi/mca/pml/ob1/pml_ob1_recvreq.c &(req->req_recv.req_base), PERUSE_RECV); req 1321 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_comm, req 1327 ompi/mca/pml/ob1/pml_ob1_recvreq.c &(req->req_recv.req_base), PERUSE_RECV); req 1330 ompi/mca/pml/ob1/pml_ob1_recvreq.c custom_match_umq_remove_hold(req->req_recv.req_base.req_comm->c_pml_comm->umq, hold_prev, hold_elem, hold_index); req 1340 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_recv_request_progress_match(req, frag->btl, frag->segments, req 1344 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_recv_request_progress_rndv(req, frag->btl, frag->segments, req 1348 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_recv_request_progress_rget(req, frag->btl, frag->segments, req 1357 ompi/mca/pml/ob1/pml_ob1_recvreq.c } else if (OPAL_UNLIKELY(IS_MPROB_REQ(req))) { req 1366 ompi/mca/pml/ob1/pml_ob1_recvreq.c custom_match_umq_remove_hold(req->req_recv.req_base.req_comm->c_pml_comm->umq, hold_prev, hold_elem, hold_index); req 1374 ompi/mca/pml/ob1/pml_ob1_recvreq.c req->req_recv.req_base.req_addr = frag; req 1375 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_recv_request_matched_probe(req, frag->btl, req 1380 ompi/mca/pml/ob1/pml_ob1_recvreq.c mca_pml_ob1_recv_request_matched_probe(req, frag->btl, req 220 ompi/mca/pml/ob1/pml_ob1_recvreq.h extern void mca_pml_ob1_recv_req_start(mca_pml_ob1_recv_request_t *req); req 223 ompi/mca/pml/ob1/pml_ob1_recvreq.h static inline void prepare_recv_req_converter(mca_pml_ob1_recv_request_t *req) req 225 ompi/mca/pml/ob1/pml_ob1_recvreq.h if( req->req_recv.req_base.req_datatype->super.size | req->req_recv.req_base.req_count ) { req 227 ompi/mca/pml/ob1/pml_ob1_recvreq.h req->req_recv.req_base.req_proc->super.proc_convertor, req 228 ompi/mca/pml/ob1/pml_ob1_recvreq.h &(req->req_recv.req_base.req_datatype->super), req 229 ompi/mca/pml/ob1/pml_ob1_recvreq.h req->req_recv.req_base.req_count, req 230 ompi/mca/pml/ob1/pml_ob1_recvreq.h req->req_recv.req_base.req_addr, req 232 ompi/mca/pml/ob1/pml_ob1_recvreq.h &req->req_recv.req_base.req_convertor); req 233 ompi/mca/pml/ob1/pml_ob1_recvreq.h opal_convertor_get_unpacked_size(&req->req_recv.req_base.req_convertor, req 234 ompi/mca/pml/ob1/pml_ob1_recvreq.h &req->req_bytes_expected); req 241 ompi/mca/pml/ob1/pml_ob1_recvreq.h static inline void recv_req_matched(mca_pml_ob1_recv_request_t *req, req 244 ompi/mca/pml/ob1/pml_ob1_recvreq.h req->req_recv.req_base.req_ompi.req_status.MPI_SOURCE = hdr->hdr_src; req 245 ompi/mca/pml/ob1/pml_ob1_recvreq.h req->req_recv.req_base.req_ompi.req_status.MPI_TAG = hdr->hdr_tag; req 246 ompi/mca/pml/ob1/pml_ob1_recvreq.h req->req_match_received = true; req 250 ompi/mca/pml/ob1/pml_ob1_recvreq.h if(req->req_recv.req_bytes_packed > 0) { req 252 ompi/mca/pml/ob1/pml_ob1_recvreq.h if(MPI_ANY_SOURCE == req->req_recv.req_base.req_peer) { req 254 ompi/mca/pml/ob1/pml_ob1_recvreq.h prepare_recv_req_converter(req); req 258 ompi/mca/pml/ob1/pml_ob1_recvreq.h &req->req_recv.req_base, PERUSE_RECV); req 315 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 325 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 332 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 348 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 358 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 368 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 378 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, mca_bml_base_btl_t* start_bml_btl); req 381 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 387 ompi/mca/pml/ob1/pml_ob1_recvreq.h rc = mca_pml_ob1_recv_request_schedule_once(req, start_bml_btl); req 390 ompi/mca/pml/ob1/pml_ob1_recvreq.h } while(!unlock_recv_request(req)); req 393 ompi/mca/pml/ob1/pml_ob1_recvreq.h recv_request_pml_complete_check(req); req 399 ompi/mca/pml/ob1/pml_ob1_recvreq.h mca_pml_ob1_recv_request_t* req, req 402 ompi/mca/pml/ob1/pml_ob1_recvreq.h if(!lock_recv_request(req)) req 405 ompi/mca/pml/ob1/pml_ob1_recvreq.h (void)mca_pml_ob1_recv_request_schedule_exclusive(req, start_bml_btl); req 133 ompi/mca/pml/ob1/pml_ob1_sendreq.c static void mca_pml_ob1_send_request_construct(mca_pml_ob1_send_request_t* req) req 135 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->req_send.req_base.req_type = MCA_PML_REQUEST_SEND; req 136 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->req_send.req_base.req_ompi.req_start = mca_pml_ob1_start; req 137 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->req_send.req_base.req_ompi.req_free = mca_pml_ob1_send_request_free; req 138 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->req_send.req_base.req_ompi.req_cancel = mca_pml_ob1_send_request_cancel; req 139 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->req_rdma_cnt = 0; req 140 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->req_throttle_sends = false; req 141 ompi/mca/pml/ob1/pml_ob1_sendreq.c req->rdma_frag = NULL; req 142 ompi/mca/pml/ob1/pml_ob1_sendreq.c OBJ_CONSTRUCT(&req->req_send_ranges, opal_list_t); req 143 ompi/mca/pml/ob1/pml_ob1_sendreq.c OBJ_CONSTRUCT(&req->req_send_range_lock, opal_mutex_t); req 146 ompi/mca/pml/ob1/pml_ob1_sendreq.c static void mca_pml_ob1_send_request_destruct(mca_pml_ob1_send_request_t* req) req 148 ompi/mca/pml/ob1/pml_ob1_sendreq.c OBJ_DESTRUCT(&req->req_send_ranges); req 149 ompi/mca/pml/ob1/pml_ob1_sendreq.c OBJ_DESTRUCT(&req->req_send_range_lock); req 150 ompi/mca/pml/ob1/pml_ob1_sendreq.c assert( NULL == req->rdma_frag ); req 528 ompi/mca/pml/ucx/pml_ucx.c mca_pml_ucx_persistent_request_t *req; req 530 ompi/mca/pml/ucx/pml_ucx.c req = (mca_pml_ucx_persistent_request_t *)PML_UCX_FREELIST_GET(&ompi_pml_ucx.persistent_reqs); req 531 ompi/mca/pml/ucx/pml_ucx.c if (req == NULL) { req 536 ompi/mca/pml/ucx/pml_ucx.c tag, comm, (void*)request, (void*)req); req 538 ompi/mca/pml/ucx/pml_ucx.c req->ompi.req_state = OMPI_REQUEST_INACTIVE; req 539 ompi/mca/pml/ucx/pml_ucx.c req->ompi.req_mpi_object.comm = comm; req 540 ompi/mca/pml/ucx/pml_ucx.c req->flags = 0; req 541 ompi/mca/pml/ucx/pml_ucx.c req->buffer = buf; req 542 ompi/mca/pml/ucx/pml_ucx.c req->count = count; req 543 ompi/mca/pml/ucx/pml_ucx.c req->datatype.datatype = mca_pml_ucx_get_datatype(datatype); req 545 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_MAKE_RECV_TAG(req->tag, req->recv.tag_mask, tag, src, comm); req 547 ompi/mca/pml/ucx/pml_ucx.c *request = &req->ompi; req 556 ompi/mca/pml/ucx/pml_ucx.c ompi_request_t *req; req 562 ompi/mca/pml/ucx/pml_ucx.c req = (ompi_request_t*)ucp_tag_recv_nb(ompi_pml_ucx.ucp_worker, buf, count, req 566 ompi/mca/pml/ucx/pml_ucx.c if (UCS_PTR_IS_ERR(req)) { req 567 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_ERROR("ucx recv failed: %s", ucs_status_string(UCS_PTR_STATUS(req))); req 571 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_VERBOSE(8, "got request %p", (void*)req); req 572 ompi/mca/pml/ucx/pml_ucx.c req->req_mpi_object.comm = comm; req 573 ompi/mca/pml/ucx/pml_ucx.c *request = req; req 584 ompi/mca/pml/ucx/pml_ucx.c void *req; req 590 ompi/mca/pml/ucx/pml_ucx.c req = PML_UCX_REQ_ALLOCA(); req 593 ompi/mca/pml/ucx/pml_ucx.c ucp_tag, ucp_tag_mask, req); req 596 ompi/mca/pml/ucx/pml_ucx.c status = ucp_request_test(req, &info); req 629 ompi/mca/pml/ucx/pml_ucx.c mca_pml_ucx_persistent_request_t *req; req 632 ompi/mca/pml/ucx/pml_ucx.c req = (mca_pml_ucx_persistent_request_t *)PML_UCX_FREELIST_GET(&ompi_pml_ucx.persistent_reqs); req 633 ompi/mca/pml/ucx/pml_ucx.c if (req == NULL) { req 638 ompi/mca/pml/ucx/pml_ucx.c tag, mode, comm, (void*)request, (void*)req) req 645 ompi/mca/pml/ucx/pml_ucx.c req->ompi.req_state = OMPI_REQUEST_INACTIVE; req 646 ompi/mca/pml/ucx/pml_ucx.c req->ompi.req_mpi_object.comm = comm; req 647 ompi/mca/pml/ucx/pml_ucx.c req->flags = MCA_PML_UCX_REQUEST_FLAG_SEND; req 648 ompi/mca/pml/ucx/pml_ucx.c req->buffer = (void *)buf; req 649 ompi/mca/pml/ucx/pml_ucx.c req->count = count; req 650 ompi/mca/pml/ucx/pml_ucx.c req->tag = PML_UCX_MAKE_SEND_TAG(tag, comm); req 651 ompi/mca/pml/ucx/pml_ucx.c req->send.mode = mode; req 652 ompi/mca/pml/ucx/pml_ucx.c req->send.ep = ep; req 655 ompi/mca/pml/ucx/pml_ucx.c req->datatype.ompi_datatype = datatype; req 658 ompi/mca/pml/ucx/pml_ucx.c req->datatype.datatype = mca_pml_ucx_get_datatype(datatype); req 661 ompi/mca/pml/ucx/pml_ucx.c *request = &req->ompi; req 669 ompi/mca/pml/ucx/pml_ucx.c ompi_request_t *req; req 706 ompi/mca/pml/ucx/pml_ucx.c req = (ompi_request_t*)ucp_tag_send_nb(ep, packed_data, packed_length, req 709 ompi/mca/pml/ucx/pml_ucx.c if (NULL == req) { req 715 ompi/mca/pml/ucx/pml_ucx.c if (OPAL_UNLIKELY(UCS_PTR_IS_ERR(req))) { req 717 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_ERROR("ucx bsend failed: %s", ucs_status_string(UCS_PTR_STATUS(req))); req 721 ompi/mca/pml/ucx/pml_ucx.c req->req_complete_cb_data = packed_data; req 747 ompi/mca/pml/ucx/pml_ucx.c ompi_request_t *req; req 760 ompi/mca/pml/ucx/pml_ucx.c req = (ompi_request_t*)mca_pml_ucx_common_send(ep, buf, count, datatype, req 765 ompi/mca/pml/ucx/pml_ucx.c if (req == NULL) { req 769 ompi/mca/pml/ucx/pml_ucx.c } else if (!UCS_PTR_IS_ERR(req)) { req 770 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_VERBOSE(8, "got request %p", (void*)req); req 771 ompi/mca/pml/ucx/pml_ucx.c req->req_mpi_object.comm = comm; req 772 ompi/mca/pml/ucx/pml_ucx.c *request = req; req 775 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_ERROR("ucx send failed: %s", ucs_status_string(UCS_PTR_STATUS(req))); req 786 ompi/mca/pml/ucx/pml_ucx.c ompi_request_t *req; req 788 ompi/mca/pml/ucx/pml_ucx.c req = (ompi_request_t*)mca_pml_ucx_common_send(ep, buf, count, datatype, req 791 ompi/mca/pml/ucx/pml_ucx.c if (OPAL_LIKELY(req == NULL)) { req 793 ompi/mca/pml/ucx/pml_ucx.c } else if (!UCS_PTR_IS_ERR(req)) { req 794 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_VERBOSE(8, "got request %p", (void*)req); req 795 ompi/mca/pml/ucx/pml_ucx.c MCA_COMMON_UCX_WAIT_LOOP(req, ompi_pml_ucx.ucp_worker, "ucx send", ompi_request_free(&req)); req 797 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_ERROR("ucx send failed: %s", ucs_status_string(UCS_PTR_STATUS(req))); req 808 ompi/mca/pml/ucx/pml_ucx.c ucs_status_ptr_t req; req 812 ompi/mca/pml/ucx/pml_ucx.c req = PML_UCX_REQ_ALLOCA(); req 813 ompi/mca/pml/ucx/pml_ucx.c status = ucp_tag_send_nbr(ep, buf, count, ucx_datatype, tag, req); req 818 ompi/mca/pml/ucx/pml_ucx.c MCA_COMMON_UCX_WAIT_LOOP(req, ompi_pml_ucx.ucp_worker, "ucx send", (void)0); req 952 ompi/mca/pml/ucx/pml_ucx.c ompi_request_t *req; req 956 ompi/mca/pml/ucx/pml_ucx.c req = (ompi_request_t*)ucp_tag_msg_recv_nb(ompi_pml_ucx.ucp_worker, buf, count, req 960 ompi/mca/pml/ucx/pml_ucx.c if (UCS_PTR_IS_ERR(req)) { req 961 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_ERROR("ucx msg recv failed: %s", ucs_status_string(UCS_PTR_STATUS(req))); req 965 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_VERBOSE(8, "got request %p", (void*)req); req 967 ompi/mca/pml/ucx/pml_ucx.c *request = req; req 975 ompi/mca/pml/ucx/pml_ucx.c ompi_request_t *req; req 979 ompi/mca/pml/ucx/pml_ucx.c req = (ompi_request_t*)ucp_tag_msg_recv_nb(ompi_pml_ucx.ucp_worker, buf, count, req 983 ompi/mca/pml/ucx/pml_ucx.c if (UCS_PTR_IS_ERR(req)) { req 984 ompi/mca/pml/ucx/pml_ucx.c PML_UCX_ERROR("ucx msg recv failed: %s", ucs_status_string(UCS_PTR_STATUS(req))); req 990 ompi/mca/pml/ucx/pml_ucx.c ompi_request_wait(&req, status); req 21 ompi/mca/pml/ucx/pml_ucx_request.c ompi_request_t *req = *rptr; req 23 ompi/mca/pml/ucx/pml_ucx_request.c PML_UCX_VERBOSE(9, "free request *%p=%p", (void*)rptr, (void*)req); req 26 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_request_reset(req); req 27 ompi/mca/pml/ucx/pml_ucx_request.c ucp_request_free(req); req 31 ompi/mca/pml/ucx/pml_ucx_request.c static int mca_pml_ucx_request_cancel(ompi_request_t *req, int flag) req 33 ompi/mca/pml/ucx/pml_ucx_request.c ucp_request_cancel(ompi_pml_ucx.ucp_worker, req); req 39 ompi/mca/pml/ucx/pml_ucx_request.c ompi_request_t *req = request; req 41 ompi/mca/pml/ucx/pml_ucx_request.c PML_UCX_VERBOSE(8, "send request %p completed with status %s", (void*)req, req 44 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_set_send_status(&req->req_status, status); req 45 ompi/mca/pml/ucx/pml_ucx_request.c PML_UCX_ASSERT( !(REQUEST_COMPLETE(req))); req 46 ompi/mca/pml/ucx/pml_ucx_request.c ompi_request_complete(req, true); req 51 ompi/mca/pml/ucx/pml_ucx_request.c ompi_request_t *req = request; req 53 ompi/mca/pml/ucx/pml_ucx_request.c PML_UCX_VERBOSE(8, "bsend request %p buffer %p completed with status %s", (void*)req, req 54 ompi/mca/pml/ucx/pml_ucx_request.c req->req_complete_cb_data, ucs_status_string(status)); req 55 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_base_bsend_request_free(req->req_complete_cb_data); req 56 ompi/mca/pml/ucx/pml_ucx_request.c req->req_complete_cb_data = NULL; req 57 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_set_send_status(&req->req_status, status); req 58 ompi/mca/pml/ucx/pml_ucx_request.c PML_UCX_ASSERT( !(REQUEST_COMPLETE(req))); req 59 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_request_free(&req); req 65 ompi/mca/pml/ucx/pml_ucx_request.c ompi_request_t *req = request; req 68 ompi/mca/pml/ucx/pml_ucx_request.c (void*)req, ucs_status_string(status), info->sender_tag, req 71 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_set_recv_status(&req->req_status, status, info); req 72 ompi/mca/pml/ucx/pml_ucx_request.c PML_UCX_ASSERT( !(REQUEST_COMPLETE(req))); req 73 ompi/mca/pml/ucx/pml_ucx_request.c ompi_request_complete(req, true); req 186 ompi/mca/pml/ucx/pml_ucx_request.c static int mca_pml_ucx_persistent_request_cancel(ompi_request_t *req, int flag) req 188 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_persistent_request_t* preq = (mca_pml_ucx_persistent_request_t*)req; req 196 ompi/mca/pml/ucx/pml_ucx_request.c static void mca_pml_ucx_persisternt_request_construct(mca_pml_ucx_persistent_request_t* req) req 198 ompi/mca/pml/ucx/pml_ucx_request.c mca_pml_ucx_request_init_common(&req->ompi, true, OMPI_REQUEST_INACTIVE, req 201 ompi/mca/pml/ucx/pml_ucx_request.c req->tmp_req = NULL; req 204 ompi/mca/pml/ucx/pml_ucx_request.c static void mca_pml_ucx_persisternt_request_destruct(mca_pml_ucx_persistent_request_t* req) req 206 ompi/mca/pml/ucx/pml_ucx_request.c req->ompi.req_state = OMPI_REQUEST_INVALID; req 207 ompi/mca/pml/ucx/pml_ucx_request.c OMPI_REQUEST_FINI(&req->ompi); req 139 ompi/mca/pml/ucx/pml_ucx_request.h static inline void mca_pml_ucx_request_reset(ompi_request_t *req) req 141 ompi/mca/pml/ucx/pml_ucx_request.h req->req_complete = REQUEST_PENDING; req 691 ompi/mca/pml/yalla/pml_yalla.c mca_pml_yalla_base_request_t *req; req 697 ompi/mca/pml/yalla/pml_yalla.c req = (mca_pml_yalla_base_request_t *)requests[i]; req 699 ompi/mca/pml/yalla/pml_yalla.c if ((req == NULL) || (OMPI_REQUEST_PML != req->ompi.req_type)) { req 704 ompi/mca/pml/yalla/pml_yalla.c PML_YALLA_ASSERT(req->ompi.req_state != OMPI_REQUEST_INVALID); req 705 ompi/mca/pml/yalla/pml_yalla.c PML_YALLA_RESET_OMPI_REQ(&req->ompi, OMPI_REQUEST_ACTIVE); req 707 ompi/mca/pml/yalla/pml_yalla.c if (req->flags & MCA_PML_YALLA_REQUEST_FLAG_SEND) { req 709 ompi/mca/pml/yalla/pml_yalla.c sreq = (mca_pml_yalla_send_request_t *)req; req 710 ompi/mca/pml/yalla/pml_yalla.c PML_YALLA_RESET_PML_REQ(req, PML_YALLA_MXM_REQBASE(sreq)); req 712 ompi/mca/pml/yalla/pml_yalla.c if (req->flags & MCA_PML_YALLA_REQUEST_FLAG_BSEND) { req 729 ompi/mca/pml/yalla/pml_yalla.c rreq = (mca_pml_yalla_recv_request_t *)req; req 730 ompi/mca/pml/yalla/pml_yalla.c PML_YALLA_RESET_PML_REQ(req, PML_YALLA_MXM_REQBASE(rreq)); req 732 ompi/mca/pml/yalla/pml_yalla.c PML_YALLA_VERBOSE(8, "start recv request %p", (void *)req); req 85 ompi/mca/pml/yalla/pml_yalla_datatype.c mca_pml_yalla_base_request_t *req = context; req 86 ompi/mca/pml/yalla/pml_yalla_datatype.c return mca_pml_yalla_stream_unpack(buffer, length, offset, &req->convertor->convertor); req 99 ompi/mca/pml/yalla/pml_yalla_datatype.c mca_pml_yalla_base_request_t *req = context; req 100 ompi/mca/pml/yalla/pml_yalla_datatype.c return mca_pml_yalla_stream_pack(buffer, length, offset, &req->convertor->convertor); req 19 ompi/mca/pml/yalla/pml_yalla_request.c static inline void mca_pml_yalla_request_release(mca_pml_yalla_base_request_t *req, req 22 ompi/mca/pml/yalla/pml_yalla_request.c if (req->convertor != NULL) { req 23 ompi/mca/pml/yalla/pml_yalla_request.c mca_pml_yalla_convertor_free(req->convertor); req 24 ompi/mca/pml/yalla/pml_yalla_request.c req->convertor = NULL; req 26 ompi/mca/pml/yalla/pml_yalla_request.c OBJ_RELEASE(req->ompi.req_mpi_object.comm); req 29 ompi/mca/pml/yalla/pml_yalla_request.c req->ompi.req_state = OMPI_REQUEST_INVALID; req 31 ompi/mca/pml/yalla/pml_yalla_request.c PML_YALLA_FREELIST_RETURN(fl, &req->ompi.super); req 35 ompi/mca/pml/yalla/pml_yalla_request.c mca_pml_yalla_check_request_state(mca_pml_yalla_base_request_t *req, mxm_req_base_t *mxm_base) req 38 ompi/mca/pml/yalla/pml_yalla_request.c PML_YALLA_VERBOSE(8, "request %p free called before completed", (void*)req); req 39 ompi/mca/pml/yalla/pml_yalla_request.c req->flags |= MCA_PML_YALLA_REQUEST_FLAG_FREE_CALLED; req 148 ompi/mca/pml/yalla/pml_yalla_request.c static void init_base_req(mca_pml_yalla_base_request_t *req) req 150 ompi/mca/pml/yalla/pml_yalla_request.c OMPI_REQUEST_INIT(&req->ompi, false); req 151 ompi/mca/pml/yalla/pml_yalla_request.c req->ompi.req_type = OMPI_REQUEST_PML; req 152 ompi/mca/pml/yalla/pml_yalla_request.c req->ompi.req_start = mca_pml_yalla_start; req 153 ompi/mca/pml/yalla/pml_yalla_request.c req->ompi.req_cancel = NULL; req 154 ompi/mca/pml/yalla/pml_yalla_request.c req->ompi.req_complete_cb = NULL; req 155 ompi/mca/pml/yalla/pml_yalla_request.c req->ompi.req_complete_cb_data = NULL; req 156 ompi/mca/pml/yalla/pml_yalla_request.c req->convertor = NULL; req 172 ompi/mca/pml/yalla/pml_yalla_request.h wait.req = (_req_base); \ req 36 ompi/mca/vprotocol/base/vprotocol_base_request.h #define VPROTOCOL_RECV_FTREQ(req) \ req 37 ompi/mca/vprotocol/base/vprotocol_base_request.h (((uintptr_t) req) + mca_pml_v.host_pml_req_recv_size) req 52 ompi/mca/vprotocol/base/vprotocol_base_request.h #define VPROTOCOL_SEND_FTREQ(req) \ req 53 ompi/mca/vprotocol/base/vprotocol_base_request.h (((uintptr_t) req) + mca_pml_v.host_pml_req_send_size) req 69 ompi/mca/vprotocol/base/vprotocol_base_request.h #define VPROTOCOL_FTREQ(req) ( \ req 71 ompi/mca/vprotocol/base/vprotocol_base_request.h ((mca_pml_base_request_t *) req)->req_type) || \ req 73 ompi/mca/vprotocol/base/vprotocol_base_request.h ((mca_pml_base_request_t *) req)->req_type)), \ req 74 ompi/mca/vprotocol/base/vprotocol_base_request.h ((MCA_PML_REQUEST_SEND == ((mca_pml_base_request_t *) req)->req_type) \ req 75 ompi/mca/vprotocol/base/vprotocol_base_request.h ? VPROTOCOL_SEND_FTREQ(req) \ req 76 ompi/mca/vprotocol/base/vprotocol_base_request.h : VPROTOCOL_RECV_FTREQ(req) \ req 50 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_event.h mca_pml_base_request_t *req; req 40 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h static inline void vprotocol_pessimist_matching_log_prepare(ompi_request_t *req) req 42 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h mca_pml_base_request_t *pmlreq = (mca_pml_base_request_t *) req; req 47 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h event->req = pmlreq; req 48 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h VPESSIMIST_RECV_FTREQ(req)->event = event; req 58 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h static inline void vprotocol_pessimist_matching_log_finish(ompi_request_t *req) req 60 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h mca_vprotocol_pessimist_request_t *ftreq = VPESSIMIST_FTREQ(req); req 66 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h V_OUTPUT_VERBOSE(70, "pessimist:\tlog\tmatch\t%"PRIpclock"\tsrc %d\tseq %"PRIpclock, ftreq->reqid, req->req_status.MPI_SOURCE, ((mca_pml_base_request_t *) req)->req_sequence); req 70 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h mevent->src = req->req_status.MPI_SOURCE; req 72 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h event->req = NULL; req 83 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h ompi_request_t *req; \ req 96 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h mca_vprotocol_pessimist.el_comm, &req); \ req 106 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h rc = mca_pml_v.host_request_fns.req_wait(&req, MPI_STATUS_IGNORE); \ req 139 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h if(event->req->req_ompi.req_status.MPI_SOURCE == -1) req 145 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h event->req->req_ompi.req_status.MPI_SOURCE; req 184 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h static inline void vprotocol_pessimist_delivery_log(ompi_request_t *req) req 189 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h if(req == NULL) req 216 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h V_OUTPUT_VERBOSE(70, "pessimist:\tlog\tdeliver\t%"PRIpclock"\treq %"PRIpclock, mca_vprotocol_pessimist.clock, VPESSIMIST_FTREQ(req)->reqid); req 220 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_eventlog.h devent->reqid = VPESSIMIST_FTREQ(req)->reqid; req 16 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c static void vprotocol_pessimist_request_construct(mca_pml_base_request_t *req); req 24 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c static void vprotocol_pessimist_request_construct(mca_pml_base_request_t *req) req 28 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c ftreq = VPESSIMIST_FTREQ(req); req 29 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c V_OUTPUT_VERBOSE(250, "pessimist:\treq\tnew\treq=%p\tPreq=%p (aligned to %p)", (void *) req, (void *) ftreq, (void *) &ftreq->pml_req_free); req 30 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c req->req_ompi.req_status.MPI_SOURCE = -1; /* no matching made flag */ req 31 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c ftreq->pml_req_free = req->req_ompi.req_free; req 34 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c assert(ftreq->pml_req_free == req->req_ompi.req_free); /* detection of aligment issues on different arch */ req 35 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c req->req_ompi.req_free = mca_vprotocol_pessimist_request_free; req 39 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c int mca_vprotocol_pessimist_request_free(ompi_request_t **req) req 41 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c mca_pml_base_request_t *pmlreq = (mca_pml_base_request_t *) *req; req 43 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c vprotocol_pessimist_matching_log_finish(*req); req 45 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c vprotocol_pessimist_sender_based_flush(*req); req 46 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.c return VPESSIMIST_FTREQ(pmlreq)->pml_req_free(req); req 36 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h #define VPESSIMIST_FTREQ(req) \ req 37 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h ((mca_vprotocol_pessimist_request_t *) VPROTOCOL_FTREQ(req)) req 39 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h #define VPESSIMIST_RECV_FTREQ(req) \ req 40 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h ((mca_vprotocol_pessimist_recv_request_t *) VPROTOCOL_RECV_FTREQ(req)) req 42 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h #define VPESSIMIST_SEND_FTREQ(req) \ req 43 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h ((mca_vprotocol_pessimist_send_request_t *) VPROTOCOL_SEND_FTREQ(req)) req 45 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h #define VPESSIMIST_FTREQ_INIT(req) do { \ req 46 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h VPESSIMIST_FTREQ(req)->reqid = mca_vprotocol_pessimist.clock++; \ req 49 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_request.h int mca_vprotocol_pessimist_request_free(ompi_request_t **req); req 95 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h static inline void __SENDER_BASED_METHOD_COPY(mca_pml_base_send_request_t *req) req 97 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h if(req->req_bytes_packed) req 99 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h mca_vprotocol_pessimist_send_request_t *ftreq = VPESSIMIST_SEND_FTREQ(req); req 106 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h static inline int vprotocol_pessimist_sb_progress_req(mca_pml_base_send_request_t *req) req 108 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h mca_vprotocol_pessimist_request_t *ftreq = VPESSIMIST_SEND_FTREQ(req); req 111 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h if(ftreq->sb.bytes_progressed < req->req_bytes_packed) req 117 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h max_data = req->req_bytes_packed - ftreq->sb.bytes_progressed; req 122 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h opal_convertor_clone_with_position(&req->req_base.req_convertor, req 147 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h static inline void __SENDER_BASED_METHOD_FLUSH(ompi_request_t *req) req 149 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h mca_pml_base_send_request_t *pmlreq = (mca_pml_base_send_request_t *) req; req 154 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h mca_vprotocol_pessimist_request_t *ftreq = VPESSIMIST_SEND_FTREQ(req); req 169 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h static inline void vprotocol_pessimist_sender_based_copy_start(ompi_request_t *req) req 172 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h mca_vprotocol_pessimist_request_t *ftreq = VPESSIMIST_SEND_FTREQ(req); req 173 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h mca_pml_base_send_request_t *pmlreq = (mca_pml_base_send_request_t *) req; req 201 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_sender_based.h V_OUTPUT_VERBOSE(70, "pessimist:\tsb\tsend\t%"PRIpclock"\tsize %lu (+%lu header)", VPESSIMIST_FTREQ(req)->reqid, (long unsigned)pmlreq->req_bytes_packed, (long unsigned)sizeof(vprotocol_pessimist_sender_based_header_t)); req 17 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c static int vprotocol_pessimist_request_no_free(ompi_request_t **req) { req 91 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c ompi_request_t *req = requests[i]; req 92 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c if(req == MPI_REQUEST_NULL) continue; req 95 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c req->req_free = mca_vprotocol_pessimist_request_free; req 98 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c vprotocol_pessimist_delivery_log(req); req 100 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c if(req->req_status.MPI_ERROR == MPI_SUCCESS) req 103 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c ret = req->req_status.MPI_ERROR; req 132 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c ompi_request_t *req = requests[i]; req 133 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c if(req == MPI_REQUEST_NULL) continue; req 136 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c req->req_free = mca_vprotocol_pessimist_request_free; req 139 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c vprotocol_pessimist_delivery_log(req); req 141 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c if(req->req_status.MPI_ERROR == MPI_SUCCESS) req 144 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c ret = req->req_status.MPI_ERROR; req 19 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.h #define VPROTOCOL_PESSIMIST_WAIT(req, status, rc) \ req 20 ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.h ((rc) = ompi_request_wait(req, status)) req 113 ompi/mpi/c/intercomm_create.c MPI_Request req; req 117 ompi/mpi/c/intercomm_create.c &req)); req 126 ompi/mpi/c/intercomm_create.c rc = ompi_request_wait( &req, MPI_STATUS_IGNORE); req 49 ompi/mpi/c/sendrecv.c ompi_request_t* req; req 86 ompi/mpi/c/sendrecv.c source, recvtag, comm, &req)); req 97 ompi/mpi/c/sendrecv.c rc = ompi_request_wait(&req, status); req 130 ompi/mpi/cxx/file_inln.h MPI_Request req; req 131 ompi/mpi/cxx/file_inln.h (void) MPI_File_iread(mpi_file, buf, count, datatype, &req); req 132 ompi/mpi/cxx/file_inln.h return req; req 140 ompi/mpi/cxx/file_inln.h MPI_Request req; req 141 ompi/mpi/cxx/file_inln.h (void) MPI_File_iread_at(mpi_file, offset, buf, count, datatype, &req); req 142 ompi/mpi/cxx/file_inln.h return req; req 150 ompi/mpi/cxx/file_inln.h MPI_Request req; req 151 ompi/mpi/cxx/file_inln.h (void) MPI_File_iread_shared(mpi_file, buf, count, datatype, &req); req 152 ompi/mpi/cxx/file_inln.h return req; req 160 ompi/mpi/cxx/file_inln.h MPI_Request req; req 161 ompi/mpi/cxx/file_inln.h (void) MPI_File_iwrite(mpi_file, const_cast<void *>(buf), count, datatype, &req); req 162 ompi/mpi/cxx/file_inln.h return req; req 170 ompi/mpi/cxx/file_inln.h MPI_Request req; req 172 ompi/mpi/cxx/file_inln.h &req); req 173 ompi/mpi/cxx/file_inln.h return req; req 181 ompi/mpi/cxx/file_inln.h MPI_Request req; req 182 ompi/mpi/cxx/file_inln.h (void) MPI_File_iwrite_shared(mpi_file, const_cast<void *>(buf), count, datatype, &req); req 183 ompi/mpi/cxx/file_inln.h return req; req 207 ompi/mpi/cxx/request.h Grequest(const Request& req) : Request(req) {} req 208 ompi/mpi/cxx/request.h Grequest(const MPI_Request &req) : Request(req) {} req 211 ompi/mpi/cxx/request.h Grequest& operator=(const Request& req) { req 212 ompi/mpi/cxx/request.h mpi_request = req; return(*this); req 215 ompi/mpi/cxx/request.h Grequest& operator=(const Grequest& req) { req 216 ompi/mpi/cxx/request.h mpi_request = req.mpi_request; return(*this); req 130 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 131 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Cancel(&req); req 138 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 139 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Request_free(&req); req 141 ompi/mpi/java/c/mpi_Request.c return (jlong)req; req 147 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 149 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Wait(&req, &status); req 154 ompi/mpi/java/c/mpi_Request.c return (jlong)req; req 160 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 161 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Wait(&req, MPI_STATUS_IGNORE); req 163 ompi/mpi/java/c/mpi_Request.c return (jlong)req; req 169 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 172 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Test(&req, &flag, &status); req 175 ompi/mpi/java/c/mpi_Request.c (*env)->SetLongField(env, jthis, ompi_java.ReqHandle, (jlong)req); req 183 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 186 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Request_get_status(req, &flag, &status); req 189 ompi/mpi/java/c/mpi_Request.c (*env)->SetLongField(env, jthis, ompi_java.ReqHandle, (jlong)req); req 197 ompi/mpi/java/c/mpi_Request.c MPI_Request req = (MPI_Request)handle; req 199 ompi/mpi/java/c/mpi_Request.c int rc = MPI_Test(&req, &flag, MPI_STATUS_IGNORE); req 202 ompi/mpi/java/c/mpi_Request.c (*env)->SetLongField(env, jthis, ompi_java.ReqHandle, (jlong)req); req 645 ompi/mpi/java/java/Comm.java Request req = new Request(iSend(handle, buf, count, type.handle, dest, tag)); req 646 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 647 ompi/mpi/java/java/Comm.java return req; req 672 ompi/mpi/java/java/Comm.java Request req = new Request(ibSend(handle, buf, count, type.handle, dest, tag)); req 673 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 674 ompi/mpi/java/java/Comm.java return req; req 699 ompi/mpi/java/java/Comm.java Request req = new Request(isSend(handle, buf, count, type.handle, dest, tag)); req 700 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 701 ompi/mpi/java/java/Comm.java return req; req 726 ompi/mpi/java/java/Comm.java Request req = new Request(irSend(handle, buf, count, type.handle, dest, tag)); req 727 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 728 ompi/mpi/java/java/Comm.java return req; req 753 ompi/mpi/java/java/Comm.java Request req = new Request(iRecv(handle, buf, count, type.handle, source, tag)); req 754 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 755 ompi/mpi/java/java/Comm.java return req; req 1290 ompi/mpi/java/java/Comm.java Request req = new Request(iBcast(handle, buf, count, type.handle, root)); req 1291 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 1292 ompi/mpi/java/java/Comm.java return req; req 1398 ompi/mpi/java/java/Comm.java Request req = new Request(iGather(handle, sendbuf, sendcount, sendtype.handle, req 1400 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 1401 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 1402 ompi/mpi/java/java/Comm.java return req; req 1423 ompi/mpi/java/java/Comm.java Request req = new Request(iGather(handle, null, 0, 0, req 1425 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 1426 ompi/mpi/java/java/Comm.java return req; req 1570 ompi/mpi/java/java/Comm.java Request req = new Request(iGatherv( req 1573 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 1574 ompi/mpi/java/java/Comm.java return req; req 1597 ompi/mpi/java/java/Comm.java Request req = new Request(iGatherv(handle, null, 0, 0, req 1599 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 1600 ompi/mpi/java/java/Comm.java return req; req 1622 ompi/mpi/java/java/Comm.java Request req = new Request(iGatherv(handle, sendbuf, sendcount, sendtype.handle, req 1624 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 1625 ompi/mpi/java/java/Comm.java return req; req 1732 ompi/mpi/java/java/Comm.java Request req = new Request(iScatter(handle, sendbuf, sendcount, sendtype.handle, req 1734 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 1735 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 1736 ompi/mpi/java/java/Comm.java return req; req 1757 ompi/mpi/java/java/Comm.java Request req = new Request(iScatter(handle, buf, count, type.handle, req 1759 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 1760 ompi/mpi/java/java/Comm.java return req; req 1901 ompi/mpi/java/java/Comm.java Request req = new Request(iScatterv( req 1904 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 1905 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 1906 ompi/mpi/java/java/Comm.java return req; req 1928 ompi/mpi/java/java/Comm.java Request req = new Request(iScatterv(handle, sendbuf, sendcount, displs, req 1930 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 1931 ompi/mpi/java/java/Comm.java return req; req 1952 ompi/mpi/java/java/Comm.java Request req = new Request(iScatterv(handle, null, null, null, 0, req 1954 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 1955 ompi/mpi/java/java/Comm.java return req; req 2055 ompi/mpi/java/java/Comm.java Request req = new Request(iAllGather(handle, sendbuf, sendcount, sendtype.handle, req 2057 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2058 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2059 ompi/mpi/java/java/Comm.java return req; req 2077 ompi/mpi/java/java/Comm.java Request req = new Request(iAllGather(handle, null, 0, 0, buf, count, type.handle)); req 2078 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 2079 ompi/mpi/java/java/Comm.java return req; req 2184 ompi/mpi/java/java/Comm.java Request req = new Request(iAllGatherv( req 2187 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2188 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2189 ompi/mpi/java/java/Comm.java return req; req 2209 ompi/mpi/java/java/Comm.java Request req = new Request(iAllGatherv( req 2211 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 2212 ompi/mpi/java/java/Comm.java return req; req 2287 ompi/mpi/java/java/Comm.java Request req = new Request(iAllToAll(handle, sendbuf, sendcount, sendtype.handle, req 2289 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2290 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2291 ompi/mpi/java/java/Comm.java return req; req 2374 ompi/mpi/java/java/Comm.java Request req = new Request(iAllToAllv( req 2377 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2378 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2379 ompi/mpi/java/java/Comm.java return req; req 2449 ompi/mpi/java/java/Comm.java Request req = new Request(iAllToAllw( req 2452 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendBuf); req 2453 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvBuf); req 2454 ompi/mpi/java/java/Comm.java return req; req 2528 ompi/mpi/java/java/Comm.java Request req = new Request(iNeighborAllGather( req 2531 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2532 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2533 ompi/mpi/java/java/Comm.java return req; req 2608 ompi/mpi/java/java/Comm.java Request req = new Request(iNeighborAllGatherv( req 2611 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2612 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2613 ompi/mpi/java/java/Comm.java return req; req 2687 ompi/mpi/java/java/Comm.java Request req = new Request(iNeighborAllToAll( req 2690 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2691 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2692 ompi/mpi/java/java/Comm.java return req; req 2770 ompi/mpi/java/java/Comm.java Request req = new Request(iNeighborAllToAllv( req 2773 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2774 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2775 ompi/mpi/java/java/Comm.java return req; req 2889 ompi/mpi/java/java/Comm.java Request req = new Request(iReduce( req 2892 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 2893 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 2894 ompi/mpi/java/java/Comm.java return req; req 2918 ompi/mpi/java/java/Comm.java Request req = new Request(iReduce( req 2921 ompi/mpi/java/java/Comm.java req.addSendBufRef(buf); req 2922 ompi/mpi/java/java/Comm.java return req; req 3023 ompi/mpi/java/java/Comm.java Request req = new Request(iAllReduce(handle, sendbuf, recvbuf, count, req 3025 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 3026 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 3027 ompi/mpi/java/java/Comm.java return req; req 3048 ompi/mpi/java/java/Comm.java Request req = new Request(iAllReduce( req 3051 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 3052 ompi/mpi/java/java/Comm.java return req; req 3155 ompi/mpi/java/java/Comm.java Request req = new Request(iReduceScatter( req 3158 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 3159 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 3160 ompi/mpi/java/java/Comm.java return req; req 3183 ompi/mpi/java/java/Comm.java Request req = new Request(iReduceScatter( req 3186 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 3187 ompi/mpi/java/java/Comm.java return req; req 3285 ompi/mpi/java/java/Comm.java Request req = new Request(iReduceScatterBlock( req 3288 ompi/mpi/java/java/Comm.java req.addSendBufRef(sendbuf); req 3289 ompi/mpi/java/java/Comm.java req.addRecvBufRef(recvbuf); req 3290 ompi/mpi/java/java/Comm.java return req; req 3311 ompi/mpi/java/java/Comm.java Request req = new Request(iReduceScatterBlock( req 3314 ompi/mpi/java/java/Comm.java req.addRecvBufRef(buf); req 3315 ompi/mpi/java/java/Comm.java return req; req 400 ompi/mpi/java/java/File.java Request req = new Request(iReadAt(handle, offset, buf, count, type.handle)); req 401 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 402 ompi/mpi/java/java/File.java return req; req 423 ompi/mpi/java/java/File.java Request req = new Request(iReadAtAll(handle, offset, buf, count, type.handle)); req 424 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 425 ompi/mpi/java/java/File.java return req; req 446 ompi/mpi/java/java/File.java Request req = new Request(iWriteAt(handle, offset, buf, count, type.handle)); req 447 ompi/mpi/java/java/File.java req.addSendBufRef(buf); req 448 ompi/mpi/java/java/File.java return req; req 469 ompi/mpi/java/java/File.java Request req = new Request(iWriteAtAll(handle, offset, buf, count, type.handle)); req 470 ompi/mpi/java/java/File.java req.addSendBufRef(buf); req 471 ompi/mpi/java/java/File.java return req; req 606 ompi/mpi/java/java/File.java Request req = new Request(iRead(handle, buf, count, type.handle)); req 607 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 608 ompi/mpi/java/java/File.java return req; req 626 ompi/mpi/java/java/File.java Request req = new Request(iReadAll(handle, buf, count, type.handle)); req 627 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 628 ompi/mpi/java/java/File.java return req; req 646 ompi/mpi/java/java/File.java Request req = new Request(iWrite(handle, buf, count, type.handle)); req 647 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 648 ompi/mpi/java/java/File.java return req; req 666 ompi/mpi/java/java/File.java Request req = new Request(iWriteAll(handle, buf, count, type.handle)); req 667 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 668 ompi/mpi/java/java/File.java return req; req 792 ompi/mpi/java/java/File.java Request req = new Request(iReadShared(handle, buf, count, type.handle)); req 793 ompi/mpi/java/java/File.java req.addRecvBufRef(buf); req 794 ompi/mpi/java/java/File.java return req; req 813 ompi/mpi/java/java/File.java Request req = new Request(iWriteShared(handle, buf, count, type.handle)); req 814 ompi/mpi/java/java/File.java req.addSendBufRef(buf); req 815 ompi/mpi/java/java/File.java return req; req 472 ompi/mpi/java/java/Intracomm.java Request req = new Request(iScan(handle, sendbuf, recvbuf, count, req 474 ompi/mpi/java/java/Intracomm.java req.addSendBufRef(sendbuf); req 475 ompi/mpi/java/java/Intracomm.java req.addRecvBufRef(recvbuf); req 476 ompi/mpi/java/java/Intracomm.java return req; req 496 ompi/mpi/java/java/Intracomm.java Request req = new Request(iScan( req 499 ompi/mpi/java/java/Intracomm.java req.addSendBufRef(buf); req 500 ompi/mpi/java/java/Intracomm.java return req; req 599 ompi/mpi/java/java/Intracomm.java Request req = new Request(iExScan(handle, sendbuf, recvbuf, count, req 601 ompi/mpi/java/java/Intracomm.java req.addSendBufRef(sendbuf); req 602 ompi/mpi/java/java/Intracomm.java req.addRecvBufRef(recvbuf); req 603 ompi/mpi/java/java/Intracomm.java return req; req 623 ompi/mpi/java/java/Intracomm.java Request req = new Request(iExScan( req 626 ompi/mpi/java/java/Intracomm.java req.addRecvBufRef(buf); req 627 ompi/mpi/java/java/Intracomm.java return req; req 155 ompi/mpi/java/java/Message.java Request req = new Request(imRecv(handle, buf, count, type.handle)); req 156 ompi/mpi/java/java/Message.java req.addRecvBufRef(buf); req 157 ompi/mpi/java/java/Message.java return req; req 105 ompi/mpi/java/java/Request.java private native long free(long req) throws MPIException; req 590 ompi/mpi/java/java/Win.java Request req = new Request(rPut(handle, origin_addr, origin_count, req 593 ompi/mpi/java/java/Win.java req.addSendBufRef(origin_addr); req 594 ompi/mpi/java/java/Win.java return req; req 623 ompi/mpi/java/java/Win.java Request req = new Request(rGet(handle, origin, orgCount, orgType.handle, req 626 ompi/mpi/java/java/Win.java req.addRecvBufRef(origin); req 627 ompi/mpi/java/java/Win.java return req; req 657 ompi/mpi/java/java/Win.java Request req = new Request(rAccumulate(handle, origin, orgCount, orgType.handle, req 660 ompi/mpi/java/java/Win.java req.addSendBufRef(origin); req 661 ompi/mpi/java/java/Win.java return req; req 735 ompi/mpi/java/java/Win.java Request req = new Request(rGetAccumulate(handle, origin, orgCount, orgType.handle, req 739 ompi/mpi/java/java/Win.java req.addRecvBufRef(origin); req 740 ompi/mpi/java/java/Win.java return req; req 37 ompi/request/grequest.c static int ompi_grequest_free(ompi_request_t** req) req 39 ompi/request/grequest.c OBJ_RELEASE(*req); req 40 ompi/request/grequest.c *req = MPI_REQUEST_NULL; req 44 ompi/request/grequest.c static int ompi_grequest_cancel(ompi_request_t* req, int flag) req 49 ompi/request/grequest.c ompi_grequest_t* greq = (ompi_grequest_t*)req; req 180 ompi/request/grequest.c int ompi_grequest_complete(ompi_request_t *req) req 184 ompi/request/grequest.c rc = ompi_request_complete(req, true); req 185 ompi/request/grequest.c OBJ_RELEASE(req); req 126 ompi/request/grequest.h OMPI_DECLSPEC int ompi_grequest_complete(ompi_request_t *req); req 40 ompi/request/req_wait.c ompi_request_t *req = *req_ptr; req 42 ompi/request/req_wait.c ompi_request_wait_completion(req); req 44 ompi/request/req_wait.c OMPI_CRCP_REQUEST_COMPLETE(req); req 49 ompi/request/req_wait.c if (OMPI_REQUEST_GEN == req->req_type) { req 50 ompi/request/req_wait.c ompi_grequest_invoke_query(req, &req->req_status); req 55 ompi/request/req_wait.c status->MPI_TAG = req->req_status.MPI_TAG; req 56 ompi/request/req_wait.c status->MPI_SOURCE = req->req_status.MPI_SOURCE; req 57 ompi/request/req_wait.c status->_ucount = req->req_status._ucount; req 58 ompi/request/req_wait.c status->_cancelled = req->req_status._cancelled; req 60 ompi/request/req_wait.c if( req->req_persistent ) { req 61 ompi/request/req_wait.c if( req->req_state == OMPI_REQUEST_INACTIVE ) { req 67 ompi/request/req_wait.c req->req_state = OMPI_REQUEST_INACTIVE; req 68 ompi/request/req_wait.c return req->req_status.MPI_ERROR; req 73 ompi/request/req_wait.c if (MPI_SUCCESS != req->req_status.MPI_ERROR) { req 74 ompi/request/req_wait.c return req->req_status.MPI_ERROR; req 52 ompi/request/request.c static void ompi_request_construct(ompi_request_t* req) req 56 ompi/request/request.c req->req_state = OMPI_REQUEST_INVALID; req 57 ompi/request/request.c req->req_complete = false; req 58 ompi/request/request.c req->req_persistent = false; req 59 ompi/request/request.c req->req_start = NULL; req 60 ompi/request/request.c req->req_free = NULL; req 61 ompi/request/request.c req->req_cancel = NULL; req 62 ompi/request/request.c req->req_complete_cb = NULL; req 63 ompi/request/request.c req->req_complete_cb_data = NULL; req 64 ompi/request/request.c req->req_f_to_c_index = MPI_UNDEFINED; req 65 ompi/request/request.c req->req_mpi_object.comm = (struct ompi_communicator_t*) NULL; req 68 ompi/request/request.c static void ompi_request_destruct(ompi_request_t* req) req 70 ompi/request/request.c assert( MPI_UNDEFINED == req->req_f_to_c_index ); req 71 ompi/request/request.c assert( OMPI_REQUEST_INVALID == req->req_state ); req 193 ompi/request/request.c ompi_request_t *req; req 195 ompi/request/request.c req = OBJ_NEW(ompi_request_t); req 196 ompi/request/request.c if (NULL == req) { req 202 ompi/request/request.c req->req_type = OMPI_REQUEST_NOOP; req 203 ompi/request/request.c req->req_status = ompi_request_empty.req_status; req 204 ompi/request/request.c req->req_complete = REQUEST_COMPLETED; req 205 ompi/request/request.c req->req_state = OMPI_REQUEST_INACTIVE; req 206 ompi/request/request.c req->req_persistent = true; req 207 ompi/request/request.c req->req_free = ompi_request_persistent_noop_free; req 209 ompi/request/request.c *request = req; req 178 ompi/request/request.h #define REQUEST_COMPLETE(req) (REQUEST_COMPLETED == (req)->req_complete) req 396 ompi/request/request.h static inline void ompi_request_wait_completion(ompi_request_t *req) req 398 ompi/request/request.h if (opal_using_threads () && !REQUEST_COMPLETE(req)) { req 404 ompi/request/request.h if (OPAL_ATOMIC_COMPARE_EXCHANGE_STRONG_PTR(&req->req_complete, &_tmp_ptr, &sync)) { req 411 ompi/request/request.h assert(REQUEST_COMPLETE(req)); req 414 ompi/request/request.h while(!REQUEST_COMPLETE(req)) { req 284 opal/mca/btl/uct/btl_uct.h int mca_btl_uct_process_connection_request (mca_btl_uct_module_t *module, mca_btl_uct_conn_req_t *req); req 189 opal/mca/btl/uct/btl_uct_tl.c int mca_btl_uct_process_connection_request (mca_btl_uct_module_t *module, mca_btl_uct_conn_req_t *req) req 191 opal/mca/btl/uct/btl_uct_tl.c struct opal_proc_t *remote_proc = opal_proc_for_name (req->proc_name); req 193 opal/mca/btl/uct/btl_uct_tl.c mca_btl_uct_tl_endpoint_t *tl_endpoint = endpoint->uct_eps[req->context_id] + req->tl_index; req 198 opal/mca/btl/uct/btl_uct_tl.c (void *) endpoint, req->type, req->context_id)); req 205 opal/mca/btl/uct/btl_uct_tl.c assert (req->type < 2); req 211 opal/mca/btl/uct/btl_uct_tl.c rc = mca_btl_uct_endpoint_connect (module, endpoint, req->context_id, req->ep_addr, req->tl_index); req 221 opal/mca/btl/uct/btl_uct_tl.c if (req->type == 1) { req 232 opal/mca/btl/uct/btl_uct_tl.c if (frag->context->context_id == req->context_id && endpoint == frag->endpoint) { req 1140 opal/mca/common/ucx/common_ucx_wpool.c ucs_status_ptr_t req; req 1146 opal/mca/common/ucx/common_ucx_wpool.c req = ucp_ep_flush_nb(winfo->endpoints[target], 0, opal_common_ucx_empty_complete_cb); req 1148 opal/mca/common/ucx/common_ucx_wpool.c req = ucp_worker_flush_nb(winfo->worker, 0, opal_common_ucx_empty_complete_cb); req 1150 opal/mca/common/ucx/common_ucx_wpool.c if (UCS_PTR_IS_PTR(req)) { req 1151 opal/mca/common/ucx/common_ucx_wpool.c ((opal_common_ucx_request_t *)req)->winfo = winfo; req 1155 opal/mca/common/ucx/common_ucx_wpool.c rc = opal_common_ucx_wait_request_mt(req, "ucp_ep_flush_nb"); req 1157 opal/mca/common/ucx/common_ucx_wpool.c *req_ptr = req; req 1228 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_request_t *req = (opal_common_ucx_request_t *)request; req 1229 opal/mca/common/ucx/common_ucx_wpool.c req->ext_req = NULL; req 1230 opal/mca/common/ucx/common_ucx_wpool.c req->ext_cb = NULL; req 1231 opal/mca/common/ucx/common_ucx_wpool.c req->winfo = NULL; req 1236 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_request_t *req = (opal_common_ucx_request_t *)request; req 1237 opal/mca/common/ucx/common_ucx_wpool.c if (req->ext_cb != NULL) { req 1238 opal/mca/common/ucx/common_ucx_wpool.c (*req->ext_cb)(req->ext_req); req 1240 opal/mca/common/ucx/common_ucx_wpool.c ucp_request_release(req); req 510 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_request_t *req; req 519 opal/mca/common/ucx/common_ucx_wpool.h req = opal_common_ucx_atomic_fetch_nb(ep, opcode, value, buffer, len, req 522 opal/mca/common/ucx/common_ucx_wpool.h if (UCS_PTR_IS_PTR(req)) { req 523 opal/mca/common/ucx/common_ucx_wpool.h req->ext_req = user_req_ptr; req 524 opal/mca/common/ucx/common_ucx_wpool.h req->ext_cb = user_req_cb; req 525 opal/mca/common/ucx/common_ucx_wpool.h req->winfo = winfo; req 131 opal/mca/event/libevent2022/libevent/evdns.c #define ASSERT_VALID_REQUEST(req) \ req 132 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT((req)->handle && (req)->handle->current_req == (req)) req 387 opal/mca/event/libevent2022/libevent/evdns.c static void evdns_request_insert(struct request *req, struct request **head); req 388 opal/mca/event/libevent2022/libevent/evdns.c static void evdns_request_remove(struct request *req, struct request **head); req 391 opal/mca/event/libevent2022/libevent/evdns.c static int evdns_request_transmit(struct request *req); req 394 opal/mca/event/libevent2022/libevent/evdns.c static int search_try_next(struct evdns_request *const req); req 399 opal/mca/event/libevent2022/libevent/evdns.c static void request_submit(struct request *const req); req 401 opal/mca/event/libevent2022/libevent/evdns.c static int server_request_free(struct server_request *req); req 402 opal/mca/event/libevent2022/libevent/evdns.c static void server_request_free_answers(struct server_request *req); req 478 opal/mca/event/libevent2022/libevent/evdns.c struct request *req = REQ_HEAD(base, trans_id); req 479 opal/mca/event/libevent2022/libevent/evdns.c struct request *const started_at = req; req 483 opal/mca/event/libevent2022/libevent/evdns.c if (req) { req 485 opal/mca/event/libevent2022/libevent/evdns.c if (req->trans_id == trans_id) return req; req 486 opal/mca/event/libevent2022/libevent/evdns.c req = req->next; req 487 opal/mca/event/libevent2022/libevent/evdns.c } while (req != started_at); req 556 opal/mca/event/libevent2022/libevent/evdns.c struct request *req, *started_at; req 600 opal/mca/event/libevent2022/libevent/evdns.c req = started_at = base->req_heads[i]; req 601 opal/mca/event/libevent2022/libevent/evdns.c if (req) { req 603 opal/mca/event/libevent2022/libevent/evdns.c if (req->tx_count == 0 && req->ns == ns) { req 606 opal/mca/event/libevent2022/libevent/evdns.c req->ns = nameserver_pick(base); req 608 opal/mca/event/libevent2022/libevent/evdns.c req = req->next; req 609 opal/mca/event/libevent2022/libevent/evdns.c } while (req != started_at); req 636 opal/mca/event/libevent2022/libevent/evdns.c request_trans_id_set(struct request *const req, const u16 trans_id) { req 637 opal/mca/event/libevent2022/libevent/evdns.c req->trans_id = trans_id; req 638 opal/mca/event/libevent2022/libevent/evdns.c *((u16 *) req->request) = htons(trans_id); req 646 opal/mca/event/libevent2022/libevent/evdns.c request_finished(struct request *const req, struct request **head, int free_handle) { req 647 opal/mca/event/libevent2022/libevent/evdns.c struct evdns_base *base = req->base; req 650 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 653 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_remove(req, head); req 655 opal/mca/event/libevent2022/libevent/evdns.c log(EVDNS_LOG_DEBUG, "Removing timeout for request %p", req); req 657 opal/mca/event/libevent2022/libevent/evdns.c evtimer_del(&req->timeout_event); req 663 opal/mca/event/libevent2022/libevent/evdns.c event_debug_unassign(&req->timeout_event); req 665 opal/mca/event/libevent2022/libevent/evdns.c if (!req->request_appended) { req 667 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req->request); req 673 opal/mca/event/libevent2022/libevent/evdns.c if (req->handle) { req 674 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT(req->handle->current_req == req); req 677 opal/mca/event/libevent2022/libevent/evdns.c search_request_finished(req->handle); req 678 opal/mca/event/libevent2022/libevent/evdns.c req->handle->current_req = NULL; req 679 opal/mca/event/libevent2022/libevent/evdns.c if (! req->handle->pending_cb) { req 682 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req->handle); req 684 opal/mca/event/libevent2022/libevent/evdns.c req->handle = NULL; /* If we have a bug, let's crash req 687 opal/mca/event/libevent2022/libevent/evdns.c req->handle->current_req = NULL; req 691 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req); req 704 opal/mca/event/libevent2022/libevent/evdns.c request_reissue(struct request *req) { req 705 opal/mca/event/libevent2022/libevent/evdns.c const struct nameserver *const last_ns = req->ns; req 706 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 707 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 711 opal/mca/event/libevent2022/libevent/evdns.c req->ns = nameserver_pick(req->base); req 712 opal/mca/event/libevent2022/libevent/evdns.c if (req->ns == last_ns) { req 719 opal/mca/event/libevent2022/libevent/evdns.c req->reissue_count++; req 720 opal/mca/event/libevent2022/libevent/evdns.c req->tx_count = 0; req 721 opal/mca/event/libevent2022/libevent/evdns.c req->transmit_me = 1; req 736 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 739 opal/mca/event/libevent2022/libevent/evdns.c req = base->req_waiting_head; req 741 opal/mca/event/libevent2022/libevent/evdns.c req->ns = nameserver_pick(base); req 742 opal/mca/event/libevent2022/libevent/evdns.c if (!req->ns) req 746 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_remove(req, &base->req_waiting_head); req 751 opal/mca/event/libevent2022/libevent/evdns.c request_trans_id_set(req, transaction_id_pick(base)); req 753 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_insert(req, &REQ_HEAD(base, req->trans_id)); req 754 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_transmit(req); req 817 opal/mca/event/libevent2022/libevent/evdns.c reply_schedule_callback(struct request *const req, u32 ttl, u32 err, struct reply *reply) req 827 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 829 opal/mca/event/libevent2022/libevent/evdns.c d->request_type = req->request_type; req 830 opal/mca/event/libevent2022/libevent/evdns.c d->user_callback = req->user_callback; req 838 opal/mca/event/libevent2022/libevent/evdns.c if (req->handle) { req 839 opal/mca/event/libevent2022/libevent/evdns.c req->handle->pending_cb = 1; req 840 opal/mca/event/libevent2022/libevent/evdns.c d->handle = req->handle; req 844 opal/mca/event/libevent2022/libevent/evdns.c req->user_pointer); req 846 opal/mca/event/libevent2022/libevent/evdns.c event_base_get_deferred_cb_queue(req->base->event_base), req 852 opal/mca/event/libevent2022/libevent/evdns.c reply_handle(struct request *const req, u16 flags, u32 ttl, struct reply *reply) { req 860 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 861 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 884 opal/mca/event/libevent2022/libevent/evdns.c if (req->reissue_count < req->base->global_max_reissues) { req 888 opal/mca/event/libevent2022/libevent/evdns.c nameserver_failed(req->ns, msg); req 889 opal/mca/event/libevent2022/libevent/evdns.c if (!request_reissue(req)) return; req 901 opal/mca/event/libevent2022/libevent/evdns.c (struct sockaddr *)&req->ns->address, req 906 opal/mca/event/libevent2022/libevent/evdns.c if (req->handle == req->ns->probe_request) { req 908 opal/mca/event/libevent2022/libevent/evdns.c req->ns->probe_request = NULL; req 911 opal/mca/event/libevent2022/libevent/evdns.c nameserver_up(req->ns); req 914 opal/mca/event/libevent2022/libevent/evdns.c if (req->handle->search_state && req 915 opal/mca/event/libevent2022/libevent/evdns.c req->request_type != TYPE_PTR) { req 918 opal/mca/event/libevent2022/libevent/evdns.c if (!search_try_next(req->handle)) { req 929 opal/mca/event/libevent2022/libevent/evdns.c reply_schedule_callback(req, ttl, error, NULL); req 930 opal/mca/event/libevent2022/libevent/evdns.c request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1); req 933 opal/mca/event/libevent2022/libevent/evdns.c reply_schedule_callback(req, ttl, 0, reply); req 934 opal/mca/event/libevent2022/libevent/evdns.c if (req->handle == req->ns->probe_request) req 935 opal/mca/event/libevent2022/libevent/evdns.c req->ns->probe_request = NULL; /* Avoid double-free */ req 936 opal/mca/event/libevent2022/libevent/evdns.c nameserver_up(req->ns); req 937 opal/mca/event/libevent2022/libevent/evdns.c request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1); req 1010 opal/mca/event/libevent2022/libevent/evdns.c struct request *req = NULL; req 1024 opal/mca/event/libevent2022/libevent/evdns.c req = request_find_from_trans_id(base, trans_id); req 1025 opal/mca/event/libevent2022/libevent/evdns.c if (!req) return -1; req 1026 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT(req->base == base); req 1052 opal/mca/event/libevent2022/libevent/evdns.c if (name_parse(req->request, req->request_len, &k, \ req 1064 opal/mca/event/libevent2022/libevent/evdns.c reply.type = req->request_type; req 1094 opal/mca/event/libevent2022/libevent/evdns.c if (req->request_type != TYPE_A) { req 1112 opal/mca/event/libevent2022/libevent/evdns.c if (req->request_type != TYPE_PTR) { req 1123 opal/mca/event/libevent2022/libevent/evdns.c if (!req->put_cname_in_ptr || *req->put_cname_in_ptr) { req 1129 opal/mca/event/libevent2022/libevent/evdns.c *req->put_cname_in_ptr = mm_strdup(cname); req 1132 opal/mca/event/libevent2022/libevent/evdns.c if (req->request_type != TYPE_AAAA) { req 1188 opal/mca/event/libevent2022/libevent/evdns.c reply_handle(req, flags, ttl_r, &reply); req 1191 opal/mca/event/libevent2022/libevent/evdns.c if (req) req 1192 opal/mca/event/libevent2022/libevent/evdns.c reply_handle(req, flags, 0, NULL); req 1420 opal/mca/event/libevent2022/libevent/evdns.c struct server_request *req = port->pending_replies; req 1422 opal/mca/event/libevent2022/libevent/evdns.c while (req) { req 1423 opal/mca/event/libevent2022/libevent/evdns.c int r = sendto(port->socket, req->response, (int)req->response_len, 0, req 1424 opal/mca/event/libevent2022/libevent/evdns.c (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); req 1431 opal/mca/event/libevent2022/libevent/evdns.c if (server_request_free(req)) { req 1435 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT(req != port->pending_replies); req 1436 opal/mca/event/libevent2022/libevent/evdns.c req = port->pending_replies; req 1745 opal/mca/event/libevent2022/libevent/evdns.c struct server_request *req = TO_SERVER_REQUEST(_req); req 1750 opal/mca/event/libevent2022/libevent/evdns.c EVDNS_LOCK(req->port); req 1751 opal/mca/event/libevent2022/libevent/evdns.c if (req->response) /* have we already answered? */ req 1756 opal/mca/event/libevent2022/libevent/evdns.c itemp = &req->answer; req 1757 opal/mca/event/libevent2022/libevent/evdns.c countp = &req->n_answer; req 1760 opal/mca/event/libevent2022/libevent/evdns.c itemp = &req->authority; req 1761 opal/mca/event/libevent2022/libevent/evdns.c countp = &req->n_authority; req 1764 opal/mca/event/libevent2022/libevent/evdns.c itemp = &req->additional; req 1765 opal/mca/event/libevent2022/libevent/evdns.c countp = &req->n_additional; req 1810 opal/mca/event/libevent2022/libevent/evdns.c EVDNS_UNLOCK(req->port); req 1816 opal/mca/event/libevent2022/libevent/evdns.c evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl) req 1819 opal/mca/event/libevent2022/libevent/evdns.c req, EVDNS_ANSWER_SECTION, name, TYPE_A, CLASS_INET, req 1825 opal/mca/event/libevent2022/libevent/evdns.c evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl) req 1828 opal/mca/event/libevent2022/libevent/evdns.c req, EVDNS_ANSWER_SECTION, name, TYPE_AAAA, CLASS_INET, req 1834 opal/mca/event/libevent2022/libevent/evdns.c evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl) req 1852 opal/mca/event/libevent2022/libevent/evdns.c req, EVDNS_ANSWER_SECTION, inaddr_name, TYPE_PTR, CLASS_INET, req 1858 opal/mca/event/libevent2022/libevent/evdns.c evdns_server_request_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl) req 1861 opal/mca/event/libevent2022/libevent/evdns.c req, EVDNS_ANSWER_SECTION, name, TYPE_CNAME, CLASS_INET, req 1869 opal/mca/event/libevent2022/libevent/evdns.c struct server_request *req = TO_SERVER_REQUEST(exreq); req 1870 opal/mca/event/libevent2022/libevent/evdns.c req->base.flags &= ~(EVDNS_FLAGS_AA|EVDNS_FLAGS_RD); req 1871 opal/mca/event/libevent2022/libevent/evdns.c req->base.flags |= flags; req 1875 opal/mca/event/libevent2022/libevent/evdns.c evdns_server_request_format_response(struct server_request *req, int err) req 1890 opal/mca/event/libevent2022/libevent/evdns.c flags = req->base.flags; req 1894 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->trans_id); req 1896 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->base.nquestions); req 1897 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->n_answer); req 1898 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->n_authority); req 1899 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->n_additional); req 1902 opal/mca/event/libevent2022/libevent/evdns.c for (i=0; i < req->base.nquestions; ++i) { req 1903 opal/mca/event/libevent2022/libevent/evdns.c const char *s = req->base.questions[i]->name; req 1909 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->base.questions[i]->type); req 1910 opal/mca/event/libevent2022/libevent/evdns.c APPEND16(req->base.questions[i]->dns_question_class); req 1917 opal/mca/event/libevent2022/libevent/evdns.c item = req->answer; req 1919 opal/mca/event/libevent2022/libevent/evdns.c item = req->authority; req 1921 opal/mca/event/libevent2022/libevent/evdns.c item = req->additional; req 1958 opal/mca/event/libevent2022/libevent/evdns.c req->response_len = j; req 1960 opal/mca/event/libevent2022/libevent/evdns.c if (!(req->response = mm_malloc(req->response_len))) { req 1961 opal/mca/event/libevent2022/libevent/evdns.c server_request_free_answers(req); req 1965 opal/mca/event/libevent2022/libevent/evdns.c memcpy(req->response, buf, req->response_len); req 1966 opal/mca/event/libevent2022/libevent/evdns.c server_request_free_answers(req); req 1975 opal/mca/event/libevent2022/libevent/evdns.c struct server_request *req = TO_SERVER_REQUEST(_req); req 1976 opal/mca/event/libevent2022/libevent/evdns.c struct evdns_server_port *port = req->port; req 1980 opal/mca/event/libevent2022/libevent/evdns.c if (!req->response) { req 1981 opal/mca/event/libevent2022/libevent/evdns.c if ((r = evdns_server_request_format_response(req, err))<0) req 1985 opal/mca/event/libevent2022/libevent/evdns.c r = sendto(port->socket, req->response, (int)req->response_len, 0, req 1986 opal/mca/event/libevent2022/libevent/evdns.c (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); req 1993 opal/mca/event/libevent2022/libevent/evdns.c req->prev_pending = port->pending_replies->prev_pending; req 1994 opal/mca/event/libevent2022/libevent/evdns.c req->next_pending = port->pending_replies; req 1995 opal/mca/event/libevent2022/libevent/evdns.c req->prev_pending->next_pending = req 1996 opal/mca/event/libevent2022/libevent/evdns.c req->next_pending->prev_pending = req; req 1998 opal/mca/event/libevent2022/libevent/evdns.c req->prev_pending = req->next_pending = req; req 1999 opal/mca/event/libevent2022/libevent/evdns.c port->pending_replies = req; req 2014 opal/mca/event/libevent2022/libevent/evdns.c if (server_request_free(req)) { req 2030 opal/mca/event/libevent2022/libevent/evdns.c server_request_free_answers(struct server_request *req) req 2036 opal/mca/event/libevent2022/libevent/evdns.c list = &req->answer; req 2038 opal/mca/event/libevent2022/libevent/evdns.c list = &req->authority; req 2040 opal/mca/event/libevent2022/libevent/evdns.c list = &req->additional; req 2058 opal/mca/event/libevent2022/libevent/evdns.c server_request_free(struct server_request *req) req 2061 opal/mca/event/libevent2022/libevent/evdns.c if (req->base.questions) { req 2062 opal/mca/event/libevent2022/libevent/evdns.c for (i = 0; i < req->base.nquestions; ++i) req 2063 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req->base.questions[i]); req 2064 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req->base.questions); req 2067 opal/mca/event/libevent2022/libevent/evdns.c if (req->port) { req 2068 opal/mca/event/libevent2022/libevent/evdns.c EVDNS_LOCK(req->port); req 2070 opal/mca/event/libevent2022/libevent/evdns.c if (req->port->pending_replies == req) { req 2071 opal/mca/event/libevent2022/libevent/evdns.c if (req->next_pending && req->next_pending != req) req 2072 opal/mca/event/libevent2022/libevent/evdns.c req->port->pending_replies = req->next_pending; req 2074 opal/mca/event/libevent2022/libevent/evdns.c req->port->pending_replies = NULL; req 2076 opal/mca/event/libevent2022/libevent/evdns.c rc = --req->port->refcnt; req 2079 opal/mca/event/libevent2022/libevent/evdns.c if (req->response) { req 2080 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req->response); req 2083 opal/mca/event/libevent2022/libevent/evdns.c server_request_free_answers(req); req 2085 opal/mca/event/libevent2022/libevent/evdns.c if (req->next_pending && req->next_pending != req) { req 2086 opal/mca/event/libevent2022/libevent/evdns.c req->next_pending->prev_pending = req->prev_pending; req 2087 opal/mca/event/libevent2022/libevent/evdns.c req->prev_pending->next_pending = req->next_pending; req 2091 opal/mca/event/libevent2022/libevent/evdns.c EVDNS_UNLOCK(req->port); /* ????? nickm */ req 2092 opal/mca/event/libevent2022/libevent/evdns.c server_port_free(req->port); req 2093 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req); req 2097 opal/mca/event/libevent2022/libevent/evdns.c EVDNS_UNLOCK(req->port); req 2098 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req); req 2123 opal/mca/event/libevent2022/libevent/evdns.c struct server_request *req = TO_SERVER_REQUEST(_req); req 2124 opal/mca/event/libevent2022/libevent/evdns.c server_request_free(req); req 2132 opal/mca/event/libevent2022/libevent/evdns.c struct server_request *req = TO_SERVER_REQUEST(_req); req 2133 opal/mca/event/libevent2022/libevent/evdns.c if (addr_len < (int)req->addrlen) req 2135 opal/mca/event/libevent2022/libevent/evdns.c memcpy(sa, &(req->addr), req->addrlen); req 2136 opal/mca/event/libevent2022/libevent/evdns.c return req->addrlen; req 2146 opal/mca/event/libevent2022/libevent/evdns.c struct request *const req = (struct request *) arg; req 2147 opal/mca/event/libevent2022/libevent/evdns.c struct evdns_base *base = req->base; req 2155 opal/mca/event/libevent2022/libevent/evdns.c req->ns->timedout++; req 2156 opal/mca/event/libevent2022/libevent/evdns.c if (req->ns->timedout > req->base->global_max_nameserver_timeout) { req 2157 opal/mca/event/libevent2022/libevent/evdns.c req->ns->timedout = 0; req 2158 opal/mca/event/libevent2022/libevent/evdns.c nameserver_failed(req->ns, "request timed out."); req 2161 opal/mca/event/libevent2022/libevent/evdns.c if (req->tx_count >= req->base->global_max_retransmits) { req 2164 opal/mca/event/libevent2022/libevent/evdns.c arg, req->tx_count); req 2165 opal/mca/event/libevent2022/libevent/evdns.c reply_schedule_callback(req, 0, DNS_ERR_TIMEOUT, NULL); req 2166 opal/mca/event/libevent2022/libevent/evdns.c request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1); req 2171 opal/mca/event/libevent2022/libevent/evdns.c arg, req->tx_count); req 2172 opal/mca/event/libevent2022/libevent/evdns.c (void) evtimer_del(&req->timeout_event); req 2175 opal/mca/event/libevent2022/libevent/evdns.c req->ns = new_ns; req 2176 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_transmit(req); req 2188 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_transmit_to(struct request *req, struct nameserver *server) { req 2190 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 2191 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 2192 opal/mca/event/libevent2022/libevent/evdns.c r = sendto(server->socket, (void*)req->request, req->request_len, 0, req 2198 opal/mca/event/libevent2022/libevent/evdns.c nameserver_failed(req->ns, evutil_socket_error_to_string(err)); req 2200 opal/mca/event/libevent2022/libevent/evdns.c } else if (r != (int)req->request_len) { req 2214 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_transmit(struct request *req) { req 2217 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 2218 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 2221 opal/mca/event/libevent2022/libevent/evdns.c req->transmit_me = 1; req 2222 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT(req->trans_id != 0xffff); req 2224 opal/mca/event/libevent2022/libevent/evdns.c if (!req->ns) req 2230 opal/mca/event/libevent2022/libevent/evdns.c if (req->ns->choked) { req 2236 opal/mca/event/libevent2022/libevent/evdns.c r = evdns_request_transmit_to(req, req->ns); req 2240 opal/mca/event/libevent2022/libevent/evdns.c req->ns->choked = 1; req 2241 opal/mca/event/libevent2022/libevent/evdns.c nameserver_write_waiting(req->ns, 1); req 2251 opal/mca/event/libevent2022/libevent/evdns.c "Setting timeout for request %p, sent to nameserver %p", req, req->ns); req 2252 opal/mca/event/libevent2022/libevent/evdns.c if (evtimer_add(&req->timeout_event, &req->base->global_timeout) < 0) { req 2255 opal/mca/event/libevent2022/libevent/evdns.c req); req 2258 opal/mca/event/libevent2022/libevent/evdns.c req->tx_count++; req 2259 opal/mca/event/libevent2022/libevent/evdns.c req->transmit_me = 0; req 2293 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 2305 opal/mca/event/libevent2022/libevent/evdns.c req = request_new(ns->base, handle, TYPE_A, "google.com", DNS_QUERY_NO_SEARCH, nameserver_probe_callback, ns); req 2306 opal/mca/event/libevent2022/libevent/evdns.c if (!req) { req 2312 opal/mca/event/libevent2022/libevent/evdns.c request_trans_id_set(req, transaction_id_pick(ns->base)); req 2313 opal/mca/event/libevent2022/libevent/evdns.c req->ns = ns; req 2314 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 2328 opal/mca/event/libevent2022/libevent/evdns.c struct request *const started_at = base->req_heads[i], *req = started_at; req 2331 opal/mca/event/libevent2022/libevent/evdns.c if (req->transmit_me) { req 2333 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_transmit(req); req 2336 opal/mca/event/libevent2022/libevent/evdns.c req = req->next; req 2337 opal/mca/event/libevent2022/libevent/evdns.c } while (req != started_at); req 2404 opal/mca/event/libevent2022/libevent/evdns.c struct request *req, *req_started_at; req 2405 opal/mca/event/libevent2022/libevent/evdns.c req = req_started_at = base->req_heads[i]; req 2406 opal/mca/event/libevent2022/libevent/evdns.c while (req) { req 2407 opal/mca/event/libevent2022/libevent/evdns.c struct request *next = req->next; req 2408 opal/mca/event/libevent2022/libevent/evdns.c req->tx_count = req->reissue_count = 0; req 2409 opal/mca/event/libevent2022/libevent/evdns.c req->ns = NULL; req 2411 opal/mca/event/libevent2022/libevent/evdns.c (void) evtimer_del(&req->timeout_event); req 2412 opal/mca/event/libevent2022/libevent/evdns.c req->trans_id = 0; req 2413 opal/mca/event/libevent2022/libevent/evdns.c req->transmit_me = 0; req 2416 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_insert(req, &base->req_waiting_head); req 2425 opal/mca/event/libevent2022/libevent/evdns.c req = next; req 2631 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_remove(struct request *req, struct request **head) req 2633 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 2634 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 2644 opal/mca/event/libevent2022/libevent/evdns.c if (ptr == req) { req 2652 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT(req->next); req 2656 opal/mca/event/libevent2022/libevent/evdns.c if (req->next == req) { req 2660 opal/mca/event/libevent2022/libevent/evdns.c req->next->prev = req->prev; req 2661 opal/mca/event/libevent2022/libevent/evdns.c req->prev->next = req->next; req 2662 opal/mca/event/libevent2022/libevent/evdns.c if (*head == req) *head = req->next; req 2664 opal/mca/event/libevent2022/libevent/evdns.c req->next = req->prev = NULL; req 2669 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_insert(struct request *req, struct request **head) { req 2670 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_LOCKED(req->base); req 2671 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 2673 opal/mca/event/libevent2022/libevent/evdns.c *head = req; req 2674 opal/mca/event/libevent2022/libevent/evdns.c req->next = req->prev = req; req 2678 opal/mca/event/libevent2022/libevent/evdns.c req->prev = (*head)->prev; req 2679 opal/mca/event/libevent2022/libevent/evdns.c req->prev->next = req; req 2680 opal/mca/event/libevent2022/libevent/evdns.c req->next = *head; req 2681 opal/mca/event/libevent2022/libevent/evdns.c (*head)->prev = req; req 2706 opal/mca/event/libevent2022/libevent/evdns.c struct request *const req = req 2714 opal/mca/event/libevent2022/libevent/evdns.c if (!req) return NULL; req 2717 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req); req 2721 opal/mca/event/libevent2022/libevent/evdns.c memset(req, 0, sizeof(struct request)); req 2722 opal/mca/event/libevent2022/libevent/evdns.c req->base = base; req 2724 opal/mca/event/libevent2022/libevent/evdns.c evtimer_assign(&req->timeout_event, req->base->event_base, evdns_request_timeout_callback, req); req 2743 opal/mca/event/libevent2022/libevent/evdns.c req->request = ((u8 *) req) + sizeof(struct request); req 2745 opal/mca/event/libevent2022/libevent/evdns.c req->request_appended = 1; req 2747 opal/mca/event/libevent2022/libevent/evdns.c type, CLASS_INET, req->request, request_max_len); req 2751 opal/mca/event/libevent2022/libevent/evdns.c req->request_len = rlen; req 2752 opal/mca/event/libevent2022/libevent/evdns.c req->trans_id = trans_id; req 2753 opal/mca/event/libevent2022/libevent/evdns.c req->tx_count = 0; req 2754 opal/mca/event/libevent2022/libevent/evdns.c req->request_type = type; req 2755 opal/mca/event/libevent2022/libevent/evdns.c req->user_pointer = user_ptr; req 2756 opal/mca/event/libevent2022/libevent/evdns.c req->user_callback = callback; req 2757 opal/mca/event/libevent2022/libevent/evdns.c req->ns = issuing_now ? nameserver_pick(base) : NULL; req 2758 opal/mca/event/libevent2022/libevent/evdns.c req->next = req->prev = NULL; req 2759 opal/mca/event/libevent2022/libevent/evdns.c req->handle = handle; req 2761 opal/mca/event/libevent2022/libevent/evdns.c handle->current_req = req; req 2765 opal/mca/event/libevent2022/libevent/evdns.c return req; req 2767 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req); req 2772 opal/mca/event/libevent2022/libevent/evdns.c request_submit(struct request *const req) { req 2773 opal/mca/event/libevent2022/libevent/evdns.c struct evdns_base *base = req->base; req 2775 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 2776 opal/mca/event/libevent2022/libevent/evdns.c if (req->ns) { req 2779 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_insert(req, &REQ_HEAD(base, req->trans_id)); req 2781 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_transmit(req); req 2783 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_insert(req, &base->req_waiting_head); req 2792 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 2810 opal/mca/event/libevent2022/libevent/evdns.c req = handle->current_req; req 2811 opal/mca/event/libevent2022/libevent/evdns.c ASSERT_VALID_REQUEST(req); req 2813 opal/mca/event/libevent2022/libevent/evdns.c reply_schedule_callback(req, 0, DNS_ERR_CANCEL, NULL); req 2814 opal/mca/event/libevent2022/libevent/evdns.c if (req->ns) { req 2816 opal/mca/event/libevent2022/libevent/evdns.c request_finished(req, &REQ_HEAD(base, req->trans_id), 1); req 2819 opal/mca/event/libevent2022/libevent/evdns.c request_finished(req, &base->req_waiting_head, 1); req 2829 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 2836 opal/mca/event/libevent2022/libevent/evdns.c req = req 2839 opal/mca/event/libevent2022/libevent/evdns.c if (req) req 2840 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 2868 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 2875 opal/mca/event/libevent2022/libevent/evdns.c req = request_new(base, handle, TYPE_AAAA, name, flags, req 2877 opal/mca/event/libevent2022/libevent/evdns.c if (req) req 2878 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 2901 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 2915 opal/mca/event/libevent2022/libevent/evdns.c req = request_new(base, handle, TYPE_PTR, buf, flags, callback, ptr); req 2916 opal/mca/event/libevent2022/libevent/evdns.c if (req) req 2917 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 2937 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 2955 opal/mca/event/libevent2022/libevent/evdns.c req = request_new(base, handle, TYPE_PTR, buf, flags, callback, ptr); req 2956 opal/mca/event/libevent2022/libevent/evdns.c if (req) req 2957 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 3158 opal/mca/event/libevent2022/libevent/evdns.c struct request *req; req 3160 opal/mca/event/libevent2022/libevent/evdns.c req = request_new(base, handle, type, name, flags, user_callback, user_arg); req 3161 opal/mca/event/libevent2022/libevent/evdns.c if (!req) return NULL; req 3166 opal/mca/event/libevent2022/libevent/evdns.c req = request_new(base, handle, type, new_name, flags, user_callback, user_arg); req 3168 opal/mca/event/libevent2022/libevent/evdns.c if (!req) return NULL; req 3175 opal/mca/event/libevent2022/libevent/evdns.c if (req) req 3176 opal/mca/event/libevent2022/libevent/evdns.c mm_free(req); req 3182 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 3183 opal/mca/event/libevent2022/libevent/evdns.c return req; req 3185 opal/mca/event/libevent2022/libevent/evdns.c struct request *const req = request_new(base, handle, type, name, flags, user_callback, user_arg); req 3186 opal/mca/event/libevent2022/libevent/evdns.c if (!req) return NULL; req 3187 opal/mca/event/libevent2022/libevent/evdns.c request_submit(req); req 3188 opal/mca/event/libevent2022/libevent/evdns.c return req; req 3199 opal/mca/event/libevent2022/libevent/evdns.c struct request *req = handle->current_req; req 3200 opal/mca/event/libevent2022/libevent/evdns.c struct evdns_base *base = req->base; req 3212 opal/mca/event/libevent2022/libevent/evdns.c newreq = request_new(base, NULL, req->request_type, handle->search_origname, handle->search_flags, req->user_callback, req->user_pointer); req 3225 opal/mca/event/libevent2022/libevent/evdns.c newreq = request_new(base, NULL, req->request_type, new_name, handle->search_flags, req->user_callback, req->user_pointer); req 3233 opal/mca/event/libevent2022/libevent/evdns.c request_finished(req, &REQ_HEAD(req->base, req->trans_id), 0); req 3331 opal/mca/event/libevent2022/libevent/evdns.c struct request **old_heads = base->req_heads, **new_heads, *req; req 3345 opal/mca/event/libevent2022/libevent/evdns.c req = old_heads[i]; req 3346 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_remove(req, &old_heads[i]); req 3347 opal/mca/event/libevent2022/libevent/evdns.c evdns_request_insert(req, &new_heads[req->trans_id % n_heads]); req 4303 opal/mca/event/libevent2022/libevent/evdns.c struct getaddrinfo_subrequest *req = arg; req 4317 opal/mca/event/libevent2022/libevent/evdns.c EVUTIL_ASSERT(req->type == DNS_IPv4_A || req->type == DNS_IPv6_AAAA); req 4318 opal/mca/event/libevent2022/libevent/evdns.c if (req->type == DNS_IPv4_A) { req 4319 opal/mca/event/libevent2022/libevent/evdns.c data = EVUTIL_UPCAST(req, struct evdns_getaddrinfo_request, ipv4_request); req 4322 opal/mca/event/libevent2022/libevent/evdns.c data = EVUTIL_UPCAST(req, struct evdns_getaddrinfo_request, ipv6_request); req 4328 opal/mca/event/libevent2022/libevent/evdns.c if (req->type == DNS_IPv4_A) req 4338 opal/mca/event/libevent2022/libevent/evdns.c req->r = NULL; req 4457 opal/mca/event/libevent2022/libevent/evdns.c if (req->type == DNS_IPv4_A) req 179 opal/mca/event/libevent2022/libevent/evrpc-internal.h struct evhttp_request *req; req 188 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req, struct evbuffer *evbuf) req 192 opal/mca/event/libevent2022/libevent/evrpc.c int res = hook->process(ctx, req, evbuf, hook->process_arg); req 284 opal/mca/event/libevent2022/libevent/evrpc.c evrpc_request_cb(struct evhttp_request *req, void *arg) req 290 opal/mca/event/libevent2022/libevent/evrpc.c if (req->type != EVHTTP_REQ_POST || req 291 opal/mca/event/libevent2022/libevent/evrpc.c evbuffer_get_length(req->input_buffer) <= 0) req 298 opal/mca/event/libevent2022/libevent/evrpc.c rpc_state->http_req = req; req 304 opal/mca/event/libevent2022/libevent/evrpc.c evrpc_hook_associate_meta(&rpc_state->hook_meta, req->evcon); req 310 opal/mca/event/libevent2022/libevent/evrpc.c rpc_state, req, req->input_buffer); req 333 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_send_error(req, HTTP_SERVUNAVAIL, NULL); req 342 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req; req 346 opal/mca/event/libevent2022/libevent/evrpc.c req = rpc_state->http_req; req 357 opal/mca/event/libevent2022/libevent/evrpc.c rpc_state->request, req->input_buffer) == -1) { req 376 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_send_error(req, HTTP_SERVUNAVAIL, NULL); req 406 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req; req 411 opal/mca/event/libevent2022/libevent/evrpc.c req = rpc_state->http_req; req 430 opal/mca/event/libevent2022/libevent/evrpc.c evrpc_hook_associate_meta(&rpc_state->hook_meta, req->evcon); req 434 opal/mca/event/libevent2022/libevent/evrpc.c rpc_state, req, rpc_state->rpc_data); req 458 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_send_error(req, HTTP_SERVUNAVAIL, NULL); req 463 opal/mca/event/libevent2022/libevent/evrpc.c evrpc_get_request(struct evrpc_req_generic *req) req 465 opal/mca/event/libevent2022/libevent/evrpc.c return req->request; req 469 opal/mca/event/libevent2022/libevent/evrpc.c evrpc_get_reply(struct evrpc_req_generic *req) req 471 opal/mca/event/libevent2022/libevent/evrpc.c return req->reply; req 478 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req; req 480 opal/mca/event/libevent2022/libevent/evrpc.c req = rpc_state->http_req; req 486 opal/mca/event/libevent2022/libevent/evrpc.c if (evhttp_find_header(req->output_headers, "Content-Type") == NULL) { req 487 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_add_header(req->output_headers, req 490 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_send_reply(req, HTTP_OK, "OK", rpc_state->rpc_data); req 499 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_send_error(req, HTTP_SERVUNAVAIL, NULL); req 664 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req = NULL; req 668 opal/mca/event/libevent2022/libevent/evrpc.c if ((req = evhttp_request_new(evrpc_reply_done, ctx)) == NULL) req 672 opal/mca/event/libevent2022/libevent/evrpc.c ctx->request_marshal(req->output_buffer, ctx->request); req 678 opal/mca/event/libevent2022/libevent/evrpc.c ctx->req = req; req 687 opal/mca/event/libevent2022/libevent/evrpc.c ctx, req, req->output_buffer); req 724 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req = ctx->req; req 748 opal/mca/event/libevent2022/libevent/evrpc.c res = evhttp_make_request(connection, req, EVHTTP_REQ_POST, uri); req 862 opal/mca/event/libevent2022/libevent/evrpc.c evrpc_reply_done(struct evhttp_request *req, void *arg) req 871 opal/mca/event/libevent2022/libevent/evrpc.c ctx->req = req; req 874 opal/mca/event/libevent2022/libevent/evrpc.c if (req == NULL) { req 884 opal/mca/event/libevent2022/libevent/evrpc.c ctx, req, req->input_buffer); req 897 opal/mca/event/libevent2022/libevent/evrpc.c if (req != NULL) req 898 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_request_own(req); req 919 opal/mca/event/libevent2022/libevent/evrpc.c struct evhttp_request *req = ctx->req; req 925 opal/mca/event/libevent2022/libevent/evrpc.c status.http_req = req; req 928 opal/mca/event/libevent2022/libevent/evrpc.c if (req == NULL) { req 933 opal/mca/event/libevent2022/libevent/evrpc.c res = ctx->reply_unmarshal(ctx->reply, req->input_buffer); req 949 opal/mca/event/libevent2022/libevent/evrpc.c if (req != NULL && evhttp_request_is_owned(req)) req 950 opal/mca/event/libevent2022/libevent/evrpc.c evhttp_request_free(req); req 1035 opal/mca/event/libevent2022/libevent/evrpc.c struct evrpc_request_wrapper *req = ctx; req 1039 opal/mca/event/libevent2022/libevent/evrpc.c if ((store = req->hook_meta) == NULL) req 1040 opal/mca/event/libevent2022/libevent/evrpc.c store = req->hook_meta = evrpc_hook_meta_new(); req 1057 opal/mca/event/libevent2022/libevent/evrpc.c struct evrpc_request_wrapper *req = ctx; req 1060 opal/mca/event/libevent2022/libevent/evrpc.c if (req->hook_meta == NULL) req 1063 opal/mca/event/libevent2022/libevent/evrpc.c TAILQ_FOREACH(meta, &req->hook_meta->meta_data, next) { req 1077 opal/mca/event/libevent2022/libevent/evrpc.c struct evrpc_request_wrapper *req = ctx; req 1078 opal/mca/event/libevent2022/libevent/evrpc.c return (req->hook_meta != NULL ? req->hook_meta->evcon : NULL); req 115 opal/mca/event/libevent2022/libevent/http-internal.h void (*cb)(struct evhttp_request *req, void *); req 166 opal/mca/event/libevent2022/libevent/http-internal.h void (*gencb)(struct evhttp_request *req, void *); req 156 opal/mca/event/libevent2022/libevent/http.c #define REQ_VERSION_BEFORE(req, major_v, minor_v) \ req 157 opal/mca/event/libevent2022/libevent/http.c ((req)->major < (major_v) || \ req 158 opal/mca/event/libevent2022/libevent/http.c ((req)->major == (major_v) && (req)->minor < (minor_v))) req 160 opal/mca/event/libevent2022/libevent/http.c #define REQ_VERSION_ATLEAST(req, major_v, minor_v) \ req 161 opal/mca/event/libevent2022/libevent/http.c ((req)->major > (major_v) || \ req 162 opal/mca/event/libevent2022/libevent/http.c ((req)->major == (major_v) && (req)->minor >= (minor_v))) req 181 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req); req 183 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req); req 347 opal/mca/event/libevent2022/libevent/http.c evhttp_response_needs_body(struct evhttp_request *req) req 349 opal/mca/event/libevent2022/libevent/http.c return (req->response_code != HTTP_NOCONTENT && req 350 opal/mca/event/libevent2022/libevent/http.c req->response_code != HTTP_NOTMODIFIED && req 351 opal/mca/event/libevent2022/libevent/http.c (req->response_code < 100 || req->response_code >= 200) && req 352 opal/mca/event/libevent2022/libevent/http.c req->type != EVHTTP_REQ_HEAD); req 406 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req) req 411 opal/mca/event/libevent2022/libevent/http.c req->major, req->minor); req 446 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req) req 450 opal/mca/event/libevent2022/libevent/http.c evhttp_remove_header(req->output_headers, "Proxy-Connection"); req 453 opal/mca/event/libevent2022/libevent/http.c method = evhttp_method(req->type); req 456 opal/mca/event/libevent2022/libevent/http.c method, req->uri, req->major, req->minor); req 459 opal/mca/event/libevent2022/libevent/http.c if ((req->type == EVHTTP_REQ_POST || req->type == EVHTTP_REQ_PUT) && req 460 opal/mca/event/libevent2022/libevent/http.c evhttp_find_header(req->output_headers, "Content-Length") == NULL){ req 463 opal/mca/event/libevent2022/libevent/http.c EV_SIZE_ARG(evbuffer_get_length(req->output_buffer))); req 464 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, "Content-Length", size); req 538 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req) req 540 opal/mca/event/libevent2022/libevent/http.c int is_keepalive = evhttp_is_connection_keepalive(req->input_headers); req 543 opal/mca/event/libevent2022/libevent/http.c req->major, req->minor, req->response_code, req 544 opal/mca/event/libevent2022/libevent/http.c req->response_code_line); req 546 opal/mca/event/libevent2022/libevent/http.c if (req->major == 1) { req 547 opal/mca/event/libevent2022/libevent/http.c if (req->minor >= 1) req 548 opal/mca/event/libevent2022/libevent/http.c evhttp_maybe_add_date_header(req->output_headers); req 554 opal/mca/event/libevent2022/libevent/http.c if (req->minor == 0 && is_keepalive) req 555 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, req 558 opal/mca/event/libevent2022/libevent/http.c if ((req->minor >= 1 || is_keepalive) && req 559 opal/mca/event/libevent2022/libevent/http.c evhttp_response_needs_body(req)) { req 566 opal/mca/event/libevent2022/libevent/http.c req->output_headers, req 567 opal/mca/event/libevent2022/libevent/http.c evbuffer_get_length(req->output_buffer)); req 572 opal/mca/event/libevent2022/libevent/http.c if (evhttp_response_needs_body(req)) { req 573 opal/mca/event/libevent2022/libevent/http.c if (evhttp_find_header(req->output_headers, req 575 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, req 581 opal/mca/event/libevent2022/libevent/http.c if (evhttp_is_connection_close(req->flags, req->input_headers)) { req 582 opal/mca/event/libevent2022/libevent/http.c evhttp_remove_header(req->output_headers, "Connection"); req 583 opal/mca/event/libevent2022/libevent/http.c if (!(req->flags & EVHTTP_PROXY_REQUEST)) req 584 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, "Connection", "close"); req 585 opal/mca/event/libevent2022/libevent/http.c evhttp_remove_header(req->output_headers, "Proxy-Connection"); req 593 opal/mca/event/libevent2022/libevent/http.c evhttp_make_header(struct evhttp_connection *evcon, struct evhttp_request *req) req 602 opal/mca/event/libevent2022/libevent/http.c if (req->kind == EVHTTP_REQUEST) { req 603 opal/mca/event/libevent2022/libevent/http.c evhttp_make_header_request(evcon, req); req 605 opal/mca/event/libevent2022/libevent/http.c evhttp_make_header_response(evcon, req); req 608 opal/mca/event/libevent2022/libevent/http.c TAILQ_FOREACH(header, req->output_headers, next) { req 614 opal/mca/event/libevent2022/libevent/http.c if (evbuffer_get_length(req->output_buffer) > 0) { req 622 opal/mca/event/libevent2022/libevent/http.c evbuffer_add_buffer(output, req->output_buffer); req 646 opal/mca/event/libevent2022/libevent/http.c evhttp_connection_incoming_fail(struct evhttp_request *req, req 660 opal/mca/event/libevent2022/libevent/http.c if (!req->userdone) { req 662 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&req->evcon->requests, req, next); req 666 opal/mca/event/libevent2022/libevent/http.c req->evcon = NULL; req 674 opal/mca/event/libevent2022/libevent/http.c if (req->uri) { req 675 opal/mca/event/libevent2022/libevent/http.c mm_free(req->uri); req 676 opal/mca/event/libevent2022/libevent/http.c req->uri = NULL; req 678 opal/mca/event/libevent2022/libevent/http.c if (req->uri_elems) { req 679 opal/mca/event/libevent2022/libevent/http.c evhttp_uri_free(req->uri_elems); req 680 opal/mca/event/libevent2022/libevent/http.c req->uri_elems = NULL; req 687 opal/mca/event/libevent2022/libevent/http.c (*req->cb)(req, req->cb_arg); req 701 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request* req = TAILQ_FIRST(&evcon->requests); req 704 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(req != NULL); req 717 opal/mca/event/libevent2022/libevent/http.c if (evhttp_connection_incoming_fail(req, error) == -1) req 725 opal/mca/event/libevent2022/libevent/http.c cb = req->cb; req 726 opal/mca/event/libevent2022/libevent/http.c cb_arg = req->cb_arg; req 736 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&evcon->requests, req, next); req 737 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 773 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); req 779 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&evcon->requests, req, next); req 780 opal/mca/event/libevent2022/libevent/http.c req->evcon = NULL; req 785 opal/mca/event/libevent2022/libevent/http.c evhttp_is_connection_close(req->flags, req->input_headers)|| req 786 opal/mca/event/libevent2022/libevent/http.c evhttp_is_connection_close(req->flags, req->output_headers); req 817 opal/mca/event/libevent2022/libevent/http.c (*req->cb)(req, req->cb_arg); req 822 opal/mca/event/libevent2022/libevent/http.c if (con_outgoing && ((req->flags & EVHTTP_USER_OWNED) == 0)) { req 823 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 842 opal/mca/event/libevent2022/libevent/http.c evhttp_handle_chunked_read(struct evhttp_request *req, struct evbuffer *buf) req 844 opal/mca/event/libevent2022/libevent/http.c if (req == NULL || buf == NULL) { req 861 opal/mca/event/libevent2022/libevent/http.c if (req->ntoread < 0) { req 885 opal/mca/event/libevent2022/libevent/http.c if ((ev_uint64_t)ntoread > EV_SIZE_MAX - req->body_size) { req 889 opal/mca/event/libevent2022/libevent/http.c if (req->body_size + (size_t)ntoread > req->evcon->max_body_size) { req 895 opal/mca/event/libevent2022/libevent/http.c req->body_size += (size_t)ntoread; req 896 opal/mca/event/libevent2022/libevent/http.c req->ntoread = ntoread; req 897 opal/mca/event/libevent2022/libevent/http.c if (req->ntoread == 0) { req 906 opal/mca/event/libevent2022/libevent/http.c if (req->ntoread > EV_SSIZE_MAX) { req 911 opal/mca/event/libevent2022/libevent/http.c if (req->ntoread > 0 && buflen < (ev_uint64_t)req->ntoread) req 915 opal/mca/event/libevent2022/libevent/http.c evbuffer_remove_buffer(buf, req->input_buffer, (size_t)req->ntoread); req 916 opal/mca/event/libevent2022/libevent/http.c req->ntoread = -1; req 917 opal/mca/event/libevent2022/libevent/http.c if (req->chunk_cb != NULL) { req 918 opal/mca/event/libevent2022/libevent/http.c req->flags |= EVHTTP_REQ_DEFER_FREE; req 919 opal/mca/event/libevent2022/libevent/http.c (*req->chunk_cb)(req, req->cb_arg); req 920 opal/mca/event/libevent2022/libevent/http.c evbuffer_drain(req->input_buffer, req 921 opal/mca/event/libevent2022/libevent/http.c evbuffer_get_length(req->input_buffer)); req 922 opal/mca/event/libevent2022/libevent/http.c req->flags &= ~EVHTTP_REQ_DEFER_FREE; req 923 opal/mca/event/libevent2022/libevent/http.c if ((req->flags & EVHTTP_REQ_NEEDS_FREE) != 0) { req 933 opal/mca/event/libevent2022/libevent/http.c evhttp_read_trailer(struct evhttp_connection *evcon, struct evhttp_request *req) req 937 opal/mca/event/libevent2022/libevent/http.c switch (evhttp_parse_headers(req, buf)) { req 955 opal/mca/event/libevent2022/libevent/http.c evhttp_read_body(struct evhttp_connection *evcon, struct evhttp_request *req) req 959 opal/mca/event/libevent2022/libevent/http.c if (req->chunked) { req 960 opal/mca/event/libevent2022/libevent/http.c switch (evhttp_handle_chunked_read(req, buf)) { req 964 opal/mca/event/libevent2022/libevent/http.c evhttp_read_trailer(evcon, req); req 974 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 980 opal/mca/event/libevent2022/libevent/http.c } else if (req->ntoread < 0) { req 982 opal/mca/event/libevent2022/libevent/http.c if ((size_t)(req->body_size + evbuffer_get_length(buf)) < req->body_size) { req 987 opal/mca/event/libevent2022/libevent/http.c req->body_size += evbuffer_get_length(buf); req 988 opal/mca/event/libevent2022/libevent/http.c evbuffer_add_buffer(req->input_buffer, buf); req 989 opal/mca/event/libevent2022/libevent/http.c } else if (req->chunk_cb != NULL || evbuffer_get_length(buf) >= (size_t)req->ntoread) { req 995 opal/mca/event/libevent2022/libevent/http.c if (n > (size_t) req->ntoread) req 996 opal/mca/event/libevent2022/libevent/http.c n = (size_t) req->ntoread; req 997 opal/mca/event/libevent2022/libevent/http.c req->ntoread -= n; req 998 opal/mca/event/libevent2022/libevent/http.c req->body_size += n; req 999 opal/mca/event/libevent2022/libevent/http.c evbuffer_remove_buffer(buf, req->input_buffer, n); req 1002 opal/mca/event/libevent2022/libevent/http.c if (req->body_size > req->evcon->max_body_size || req 1003 opal/mca/event/libevent2022/libevent/http.c (!req->chunked && req->ntoread >= 0 && req 1004 opal/mca/event/libevent2022/libevent/http.c (size_t)req->ntoread > req->evcon->max_body_size)) { req 1013 opal/mca/event/libevent2022/libevent/http.c if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { req 1014 opal/mca/event/libevent2022/libevent/http.c req->flags |= EVHTTP_REQ_DEFER_FREE; req 1015 opal/mca/event/libevent2022/libevent/http.c (*req->chunk_cb)(req, req->cb_arg); req 1016 opal/mca/event/libevent2022/libevent/http.c req->flags &= ~EVHTTP_REQ_DEFER_FREE; req 1017 opal/mca/event/libevent2022/libevent/http.c evbuffer_drain(req->input_buffer, req 1018 opal/mca/event/libevent2022/libevent/http.c evbuffer_get_length(req->input_buffer)); req 1019 opal/mca/event/libevent2022/libevent/http.c if ((req->flags & EVHTTP_REQ_NEEDS_FREE) != 0) { req 1020 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 1025 opal/mca/event/libevent2022/libevent/http.c if (req->ntoread == 0) { req 1047 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); req 1055 opal/mca/event/libevent2022/libevent/http.c evhttp_read_firstline(evcon, req); req 1060 opal/mca/event/libevent2022/libevent/http.c evhttp_read_header(evcon, req); req 1065 opal/mca/event/libevent2022/libevent/http.c evhttp_read_body(evcon, req); req 1070 opal/mca/event/libevent2022/libevent/http.c evhttp_read_trailer(evcon, req); req 1109 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); req 1110 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(req != NULL); req 1115 opal/mca/event/libevent2022/libevent/http.c req->kind = EVHTTP_RESPONSE; req 1127 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req; req 1140 opal/mca/event/libevent2022/libevent/http.c while ((req = TAILQ_FIRST(&evcon->requests)) != NULL) { req 1141 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&evcon->requests, req, next); req 1142 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 1197 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); req 1200 opal/mca/event/libevent2022/libevent/http.c if (req == NULL) req 1212 opal/mca/event/libevent2022/libevent/http.c evhttp_make_header(evcon, req); req 1326 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); req 1341 opal/mca/event/libevent2022/libevent/http.c if (!req->chunked && req->ntoread < 0 req 1472 opal/mca/event/libevent2022/libevent/http.c evhttp_parse_http_version(const char *version, struct evhttp_request *req) req 1479 opal/mca/event/libevent2022/libevent/http.c __func__, version, req, req->remote_host)); req 1482 opal/mca/event/libevent2022/libevent/http.c req->major = major; req 1483 opal/mca/event/libevent2022/libevent/http.c req->minor = minor; req 1490 opal/mca/event/libevent2022/libevent/http.c evhttp_parse_response_line(struct evhttp_request *req, char *line) req 1503 opal/mca/event/libevent2022/libevent/http.c if (evhttp_parse_http_version(protocol, req) < 0) req 1506 opal/mca/event/libevent2022/libevent/http.c req->response_code = atoi(number); req 1507 opal/mca/event/libevent2022/libevent/http.c if (!evhttp_valid_response_code(req->response_code)) { req 1513 opal/mca/event/libevent2022/libevent/http.c if ((req->response_code_line = mm_strdup(readable)) == NULL) { req 1524 opal/mca/event/libevent2022/libevent/http.c evhttp_parse_request_line(struct evhttp_request *req, char *line) req 1545 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_GET; req 1547 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_POST; req 1549 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_HEAD; req 1551 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_PUT; req 1553 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_DELETE; req 1555 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_OPTIONS; req 1557 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_TRACE; req 1559 opal/mca/event/libevent2022/libevent/http.c req->type = EVHTTP_REQ_PATCH; req 1561 opal/mca/event/libevent2022/libevent/http.c req->type = _EVHTTP_REQ_UNKNOWN; req 1563 opal/mca/event/libevent2022/libevent/http.c __func__, method, req, req->remote_host)); req 1568 opal/mca/event/libevent2022/libevent/http.c if (evhttp_parse_http_version(version, req) < 0) req 1571 opal/mca/event/libevent2022/libevent/http.c if ((req->uri = mm_strdup(uri)) == NULL) { req 1576 opal/mca/event/libevent2022/libevent/http.c if ((req->uri_elems = evhttp_uri_parse_with_flags(req->uri, req 1584 opal/mca/event/libevent2022/libevent/http.c scheme = evhttp_uri_get_scheme(req->uri_elems); req 1585 opal/mca/event/libevent2022/libevent/http.c hostname = evhttp_uri_get_host(req->uri_elems); req 1589 opal/mca/event/libevent2022/libevent/http.c !evhttp_find_vhost(req->evcon->http_server, NULL, hostname)) req 1590 opal/mca/event/libevent2022/libevent/http.c req->flags |= EVHTTP_PROXY_REQUEST; req 1722 opal/mca/event/libevent2022/libevent/http.c evhttp_parse_firstline(struct evhttp_request *req, struct evbuffer *buffer) req 1731 opal/mca/event/libevent2022/libevent/http.c if (req->evcon != NULL && req 1732 opal/mca/event/libevent2022/libevent/http.c evbuffer_get_length(buffer) > req->evcon->max_headers_size) req 1738 opal/mca/event/libevent2022/libevent/http.c if (req->evcon != NULL && req 1739 opal/mca/event/libevent2022/libevent/http.c line_length > req->evcon->max_headers_size) { req 1744 opal/mca/event/libevent2022/libevent/http.c req->headers_size = line_length; req 1746 opal/mca/event/libevent2022/libevent/http.c switch (req->kind) { req 1748 opal/mca/event/libevent2022/libevent/http.c if (evhttp_parse_request_line(req, line) == -1) req 1752 opal/mca/event/libevent2022/libevent/http.c if (evhttp_parse_response_line(req, line) == -1) req 1787 opal/mca/event/libevent2022/libevent/http.c evhttp_parse_headers(struct evhttp_request *req, struct evbuffer* buffer) req 1793 opal/mca/event/libevent2022/libevent/http.c struct evkeyvalq* headers = req->input_headers; req 1799 opal/mca/event/libevent2022/libevent/http.c req->headers_size += line_length; req 1801 opal/mca/event/libevent2022/libevent/http.c if (req->evcon != NULL && req 1802 opal/mca/event/libevent2022/libevent/http.c req->headers_size > req->evcon->max_headers_size) { req 1836 opal/mca/event/libevent2022/libevent/http.c if (req->evcon != NULL && req 1837 opal/mca/event/libevent2022/libevent/http.c req->headers_size + evbuffer_get_length(buffer) > req->evcon->max_headers_size) req 1849 opal/mca/event/libevent2022/libevent/http.c evhttp_get_body_length(struct evhttp_request *req) req 1851 opal/mca/event/libevent2022/libevent/http.c struct evkeyvalq *headers = req->input_headers; req 1859 opal/mca/event/libevent2022/libevent/http.c req->ntoread = -1; req 1868 opal/mca/event/libevent2022/libevent/http.c req->ntoread = -1; req 1877 opal/mca/event/libevent2022/libevent/http.c req->ntoread = ntoread; req 1881 opal/mca/event/libevent2022/libevent/http.c __func__, EV_I64_ARG(req->ntoread), req 1882 opal/mca/event/libevent2022/libevent/http.c EV_SIZE_ARG(evbuffer_get_length(bufferevent_get_input(req->evcon->bufev))))); req 1910 opal/mca/event/libevent2022/libevent/http.c evhttp_get_body(struct evhttp_connection *evcon, struct evhttp_request *req) req 1915 opal/mca/event/libevent2022/libevent/http.c if (req->kind == EVHTTP_REQUEST && req 1916 opal/mca/event/libevent2022/libevent/http.c !evhttp_method_may_have_body(req->type)) { req 1921 opal/mca/event/libevent2022/libevent/http.c xfer_enc = evhttp_find_header(req->input_headers, "Transfer-Encoding"); req 1923 opal/mca/event/libevent2022/libevent/http.c req->chunked = 1; req 1924 opal/mca/event/libevent2022/libevent/http.c req->ntoread = -1; req 1926 opal/mca/event/libevent2022/libevent/http.c if (evhttp_get_body_length(req) == -1) { req 1931 opal/mca/event/libevent2022/libevent/http.c if (req->kind == EVHTTP_REQUEST && req->ntoread < 1) { req 1940 opal/mca/event/libevent2022/libevent/http.c if (req->kind == EVHTTP_REQUEST && REQ_VERSION_ATLEAST(req, 1, 1)) { req 1943 opal/mca/event/libevent2022/libevent/http.c expect = evhttp_find_header(req->input_headers, "Expect"); req 1952 opal/mca/event/libevent2022/libevent/http.c if (req->ntoread > 0) { req 1954 opal/mca/event/libevent2022/libevent/http.c if ((req->evcon->max_body_size <= EV_INT64_MAX) && (ev_uint64_t)req->ntoread > req->evcon->max_body_size) { req 1955 opal/mca/event/libevent2022/libevent/http.c evhttp_send_error(req, HTTP_ENTITYTOOLARGE, NULL); req 1960 opal/mca/event/libevent2022/libevent/http.c evhttp_send_continue(evcon, req); req 1962 opal/mca/event/libevent2022/libevent/http.c evhttp_send_error(req, HTTP_EXPECTATIONFAILED, req 1969 opal/mca/event/libevent2022/libevent/http.c evhttp_read_body(evcon, req); req 1975 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req) req 1979 opal/mca/event/libevent2022/libevent/http.c res = evhttp_parse_firstline(req, bufferevent_get_input(evcon->bufev)); req 1992 opal/mca/event/libevent2022/libevent/http.c evhttp_read_header(evcon, req); req 1997 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req) req 2002 opal/mca/event/libevent2022/libevent/http.c res = evhttp_parse_headers(req, bufferevent_get_input(evcon->bufev)); req 2018 opal/mca/event/libevent2022/libevent/http.c switch (req->kind) { req 2022 opal/mca/event/libevent2022/libevent/http.c evhttp_get_body(evcon, req); req 2028 opal/mca/event/libevent2022/libevent/http.c if (req->response_code == 100) { req 2032 opal/mca/event/libevent2022/libevent/http.c if (!evhttp_response_needs_body(req)) { req 2034 opal/mca/event/libevent2022/libevent/http.c __func__, req->response_code)); req 2039 opal/mca/event/libevent2022/libevent/http.c __func__, req->remote_host, EV_SOCK_ARG(fd))); req 2040 opal/mca/event/libevent2022/libevent/http.c evhttp_get_body(evcon, req); req 2240 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req, req 2244 opal/mca/event/libevent2022/libevent/http.c req->kind = EVHTTP_REQUEST; req 2245 opal/mca/event/libevent2022/libevent/http.c req->type = type; req 2246 opal/mca/event/libevent2022/libevent/http.c if (req->uri != NULL) req 2247 opal/mca/event/libevent2022/libevent/http.c mm_free(req->uri); req 2248 opal/mca/event/libevent2022/libevent/http.c if ((req->uri = mm_strdup(uri)) == NULL) { req 2250 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 2255 opal/mca/event/libevent2022/libevent/http.c if (!req->major && !req->minor) { req 2256 opal/mca/event/libevent2022/libevent/http.c req->major = 1; req 2257 opal/mca/event/libevent2022/libevent/http.c req->minor = 1; req 2260 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(req->evcon == NULL); req 2261 opal/mca/event/libevent2022/libevent/http.c req->evcon = evcon; req 2262 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(!(req->flags & EVHTTP_REQ_OWN_CONNECTION)); req 2264 opal/mca/event/libevent2022/libevent/http.c TAILQ_INSERT_TAIL(&evcon->requests, req, next); req 2274 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&evcon->requests, req, next); req 2284 opal/mca/event/libevent2022/libevent/http.c if (TAILQ_FIRST(&evcon->requests) == req) req 2291 opal/mca/event/libevent2022/libevent/http.c evhttp_cancel_request(struct evhttp_request *req) req 2293 opal/mca/event/libevent2022/libevent/http.c struct evhttp_connection *evcon = req->evcon; req 2296 opal/mca/event/libevent2022/libevent/http.c if (TAILQ_FIRST(&evcon->requests) == req) { req 2309 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&evcon->requests, req, next); req 2313 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 2347 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = TAILQ_FIRST(&evcon->requests); req 2348 opal/mca/event/libevent2022/libevent/http.c TAILQ_REMOVE(&evcon->requests, req, next); req 2351 opal/mca/event/libevent2022/libevent/http.c (REQ_VERSION_BEFORE(req, 1, 1) && req 2352 opal/mca/event/libevent2022/libevent/http.c !evhttp_is_connection_keepalive(req->input_headers))|| req 2353 opal/mca/event/libevent2022/libevent/http.c evhttp_is_connection_close(req->flags, req->input_headers) || req 2354 opal/mca/event/libevent2022/libevent/http.c evhttp_is_connection_close(req->flags, req->output_headers); req 2356 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(req->flags & EVHTTP_REQ_OWN_CONNECTION); req 2357 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 2375 opal/mca/event/libevent2022/libevent/http.c evhttp_send_error(struct evhttp_request *req, int error, const char *reason) req 2387 opal/mca/event/libevent2022/libevent/http.c evhttp_connection_free(req->evcon); req 2394 opal/mca/event/libevent2022/libevent/http.c evhttp_response_code(req, error, reason); req 2398 opal/mca/event/libevent2022/libevent/http.c evhttp_send_page(req, buf); req 2407 opal/mca/event/libevent2022/libevent/http.c evhttp_send(struct evhttp_request *req, struct evbuffer *databuf) req 2409 opal/mca/event/libevent2022/libevent/http.c struct evhttp_connection *evcon = req->evcon; req 2412 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 2416 opal/mca/event/libevent2022/libevent/http.c EVUTIL_ASSERT(TAILQ_FIRST(&evcon->requests) == req); req 2419 opal/mca/event/libevent2022/libevent/http.c req->userdone = 1; req 2423 opal/mca/event/libevent2022/libevent/http.c evbuffer_add_buffer(req->output_buffer, databuf); req 2426 opal/mca/event/libevent2022/libevent/http.c evhttp_make_header(evcon, req); req 2432 opal/mca/event/libevent2022/libevent/http.c evhttp_send_reply(struct evhttp_request *req, int code, const char *reason, req 2435 opal/mca/event/libevent2022/libevent/http.c evhttp_response_code(req, code, reason); req 2437 opal/mca/event/libevent2022/libevent/http.c evhttp_send(req, databuf); req 2441 opal/mca/event/libevent2022/libevent/http.c evhttp_send_reply_start(struct evhttp_request *req, int code, req 2444 opal/mca/event/libevent2022/libevent/http.c evhttp_response_code(req, code, reason); req 2445 opal/mca/event/libevent2022/libevent/http.c if (evhttp_find_header(req->output_headers, "Content-Length") == NULL && req 2446 opal/mca/event/libevent2022/libevent/http.c REQ_VERSION_ATLEAST(req, 1, 1) && req 2447 opal/mca/event/libevent2022/libevent/http.c evhttp_response_needs_body(req)) { req 2453 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, "Transfer-Encoding", req 2455 opal/mca/event/libevent2022/libevent/http.c req->chunked = 1; req 2457 opal/mca/event/libevent2022/libevent/http.c req->chunked = 0; req 2459 opal/mca/event/libevent2022/libevent/http.c evhttp_make_header(req->evcon, req); req 2460 opal/mca/event/libevent2022/libevent/http.c evhttp_write_buffer(req->evcon, NULL, NULL); req 2464 opal/mca/event/libevent2022/libevent/http.c evhttp_send_reply_chunk(struct evhttp_request *req, struct evbuffer *databuf) req 2466 opal/mca/event/libevent2022/libevent/http.c struct evhttp_connection *evcon = req->evcon; req 2476 opal/mca/event/libevent2022/libevent/http.c if (!evhttp_response_needs_body(req)) req 2478 opal/mca/event/libevent2022/libevent/http.c if (req->chunked) { req 2483 opal/mca/event/libevent2022/libevent/http.c if (req->chunked) { req 2490 opal/mca/event/libevent2022/libevent/http.c evhttp_send_reply_end(struct evhttp_request *req) req 2492 opal/mca/event/libevent2022/libevent/http.c struct evhttp_connection *evcon = req->evcon; req 2496 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 2503 opal/mca/event/libevent2022/libevent/http.c req->userdone = 1; req 2505 opal/mca/event/libevent2022/libevent/http.c if (req->chunked) { req 2507 opal/mca/event/libevent2022/libevent/http.c evhttp_write_buffer(req->evcon, evhttp_send_done, NULL); req 2508 opal/mca/event/libevent2022/libevent/http.c req->chunked = 0; req 2610 opal/mca/event/libevent2022/libevent/http.c evhttp_response_code(struct evhttp_request *req, int code, const char *reason) req 2612 opal/mca/event/libevent2022/libevent/http.c req->kind = EVHTTP_RESPONSE; req 2613 opal/mca/event/libevent2022/libevent/http.c req->response_code = code; req 2614 opal/mca/event/libevent2022/libevent/http.c if (req->response_code_line != NULL) req 2615 opal/mca/event/libevent2022/libevent/http.c mm_free(req->response_code_line); req 2618 opal/mca/event/libevent2022/libevent/http.c req->response_code_line = mm_strdup(reason); req 2619 opal/mca/event/libevent2022/libevent/http.c if (req->response_code_line == NULL) { req 2626 opal/mca/event/libevent2022/libevent/http.c evhttp_send_page(struct evhttp_request *req, struct evbuffer *databuf) req 2628 opal/mca/event/libevent2022/libevent/http.c if (!req->major || !req->minor) { req 2629 opal/mca/event/libevent2022/libevent/http.c req->major = 1; req 2630 opal/mca/event/libevent2022/libevent/http.c req->minor = 1; req 2633 opal/mca/event/libevent2022/libevent/http.c if (req->kind != EVHTTP_RESPONSE) req 2634 opal/mca/event/libevent2022/libevent/http.c evhttp_response_code(req, 200, "OK"); req 2636 opal/mca/event/libevent2022/libevent/http.c evhttp_clear_headers(req->output_headers); req 2637 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, "Content-Type", "text/html"); req 2638 opal/mca/event/libevent2022/libevent/http.c evhttp_add_header(req->output_headers, "Connection", "close"); req 2640 opal/mca/event/libevent2022/libevent/http.c evhttp_send(req, databuf); req 2875 opal/mca/event/libevent2022/libevent/http.c evhttp_dispatch_callback(struct httpcbq *callbacks, struct evhttp_request *req) req 2883 opal/mca/event/libevent2022/libevent/http.c path = evhttp_uri_get_path(req->uri_elems); req 3005 opal/mca/event/libevent2022/libevent/http.c evhttp_handle_request(struct evhttp_request *req, void *arg) req 3012 opal/mca/event/libevent2022/libevent/http.c req->userdone = 0; req 3014 opal/mca/event/libevent2022/libevent/http.c if (req->type == 0 || req->uri == NULL) { req 3015 opal/mca/event/libevent2022/libevent/http.c evhttp_send_error(req, HTTP_BADREQUEST, NULL); req 3019 opal/mca/event/libevent2022/libevent/http.c if ((http->allowed_methods & req->type) == 0) { req 3021 opal/mca/event/libevent2022/libevent/http.c (unsigned)req->type, (unsigned)http->allowed_methods)); req 3022 opal/mca/event/libevent2022/libevent/http.c evhttp_send_error(req, HTTP_NOTIMPLEMENTED, NULL); req 3027 opal/mca/event/libevent2022/libevent/http.c hostname = evhttp_request_get_host(req); req 3032 opal/mca/event/libevent2022/libevent/http.c if ((cb = evhttp_dispatch_callback(&http->callbacks, req)) != NULL) { req 3033 opal/mca/event/libevent2022/libevent/http.c (*cb->cb)(req, cb->cbarg); req 3039 opal/mca/event/libevent2022/libevent/http.c (*http->gencb)(req, http->gencbarg); req 3053 opal/mca/event/libevent2022/libevent/http.c if ((escaped_html = evhttp_htmlescape(req->uri)) == NULL) { req 3054 opal/mca/event/libevent2022/libevent/http.c evhttp_connection_free(req->evcon); req 3060 opal/mca/event/libevent2022/libevent/http.c evhttp_connection_free(req->evcon); req 3064 opal/mca/event/libevent2022/libevent/http.c evhttp_response_code(req, HTTP_NOTFOUND, "Not Found"); req 3070 opal/mca/event/libevent2022/libevent/http.c evhttp_send_page(req, buf); req 3464 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req = NULL; req 3467 opal/mca/event/libevent2022/libevent/http.c if ((req = mm_calloc(1, sizeof(struct evhttp_request))) == NULL) { req 3472 opal/mca/event/libevent2022/libevent/http.c req->headers_size = 0; req 3473 opal/mca/event/libevent2022/libevent/http.c req->body_size = 0; req 3475 opal/mca/event/libevent2022/libevent/http.c req->kind = EVHTTP_RESPONSE; req 3476 opal/mca/event/libevent2022/libevent/http.c req->input_headers = mm_calloc(1, sizeof(struct evkeyvalq)); req 3477 opal/mca/event/libevent2022/libevent/http.c if (req->input_headers == NULL) { req 3481 opal/mca/event/libevent2022/libevent/http.c TAILQ_INIT(req->input_headers); req 3483 opal/mca/event/libevent2022/libevent/http.c req->output_headers = mm_calloc(1, sizeof(struct evkeyvalq)); req 3484 opal/mca/event/libevent2022/libevent/http.c if (req->output_headers == NULL) { req 3488 opal/mca/event/libevent2022/libevent/http.c TAILQ_INIT(req->output_headers); req 3490 opal/mca/event/libevent2022/libevent/http.c if ((req->input_buffer = evbuffer_new()) == NULL) { req 3495 opal/mca/event/libevent2022/libevent/http.c if ((req->output_buffer = evbuffer_new()) == NULL) { req 3500 opal/mca/event/libevent2022/libevent/http.c req->cb = cb; req 3501 opal/mca/event/libevent2022/libevent/http.c req->cb_arg = arg; req 3503 opal/mca/event/libevent2022/libevent/http.c return (req); req 3506 opal/mca/event/libevent2022/libevent/http.c if (req != NULL) req 3507 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 3512 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(struct evhttp_request *req) req 3514 opal/mca/event/libevent2022/libevent/http.c if ((req->flags & EVHTTP_REQ_DEFER_FREE) != 0) { req 3515 opal/mca/event/libevent2022/libevent/http.c req->flags |= EVHTTP_REQ_NEEDS_FREE; req 3519 opal/mca/event/libevent2022/libevent/http.c if (req->remote_host != NULL) req 3520 opal/mca/event/libevent2022/libevent/http.c mm_free(req->remote_host); req 3521 opal/mca/event/libevent2022/libevent/http.c if (req->uri != NULL) req 3522 opal/mca/event/libevent2022/libevent/http.c mm_free(req->uri); req 3523 opal/mca/event/libevent2022/libevent/http.c if (req->uri_elems != NULL) req 3524 opal/mca/event/libevent2022/libevent/http.c evhttp_uri_free(req->uri_elems); req 3525 opal/mca/event/libevent2022/libevent/http.c if (req->response_code_line != NULL) req 3526 opal/mca/event/libevent2022/libevent/http.c mm_free(req->response_code_line); req 3527 opal/mca/event/libevent2022/libevent/http.c if (req->host_cache != NULL) req 3528 opal/mca/event/libevent2022/libevent/http.c mm_free(req->host_cache); req 3530 opal/mca/event/libevent2022/libevent/http.c evhttp_clear_headers(req->input_headers); req 3531 opal/mca/event/libevent2022/libevent/http.c mm_free(req->input_headers); req 3533 opal/mca/event/libevent2022/libevent/http.c evhttp_clear_headers(req->output_headers); req 3534 opal/mca/event/libevent2022/libevent/http.c mm_free(req->output_headers); req 3536 opal/mca/event/libevent2022/libevent/http.c if (req->input_buffer != NULL) req 3537 opal/mca/event/libevent2022/libevent/http.c evbuffer_free(req->input_buffer); req 3539 opal/mca/event/libevent2022/libevent/http.c if (req->output_buffer != NULL) req 3540 opal/mca/event/libevent2022/libevent/http.c evbuffer_free(req->output_buffer); req 3542 opal/mca/event/libevent2022/libevent/http.c mm_free(req); req 3546 opal/mca/event/libevent2022/libevent/http.c evhttp_request_own(struct evhttp_request *req) req 3548 opal/mca/event/libevent2022/libevent/http.c req->flags |= EVHTTP_USER_OWNED; req 3552 opal/mca/event/libevent2022/libevent/http.c evhttp_request_is_owned(struct evhttp_request *req) req 3554 opal/mca/event/libevent2022/libevent/http.c return (req->flags & EVHTTP_USER_OWNED) != 0; req 3558 opal/mca/event/libevent2022/libevent/http.c evhttp_request_get_connection(struct evhttp_request *req) req 3560 opal/mca/event/libevent2022/libevent/http.c return req->evcon; req 3570 opal/mca/event/libevent2022/libevent/http.c evhttp_request_set_chunked_cb(struct evhttp_request *req, req 3573 opal/mca/event/libevent2022/libevent/http.c req->chunk_cb = cb; req 3581 opal/mca/event/libevent2022/libevent/http.c evhttp_request_get_uri(const struct evhttp_request *req) { req 3582 opal/mca/event/libevent2022/libevent/http.c if (req->uri == NULL) req 3583 opal/mca/event/libevent2022/libevent/http.c event_debug(("%s: request %p has no uri\n", __func__, req)); req 3584 opal/mca/event/libevent2022/libevent/http.c return (req->uri); req 3588 opal/mca/event/libevent2022/libevent/http.c evhttp_request_get_evhttp_uri(const struct evhttp_request *req) { req 3589 opal/mca/event/libevent2022/libevent/http.c if (req->uri_elems == NULL) req 3591 opal/mca/event/libevent2022/libevent/http.c __func__, req)); req 3592 opal/mca/event/libevent2022/libevent/http.c return (req->uri_elems); req 3596 opal/mca/event/libevent2022/libevent/http.c evhttp_request_get_host(struct evhttp_request *req) req 3600 opal/mca/event/libevent2022/libevent/http.c if (req->host_cache) req 3601 opal/mca/event/libevent2022/libevent/http.c return req->host_cache; req 3603 opal/mca/event/libevent2022/libevent/http.c if (req->uri_elems) req 3604 opal/mca/event/libevent2022/libevent/http.c host = evhttp_uri_get_host(req->uri_elems); req 3605 opal/mca/event/libevent2022/libevent/http.c if (!host && req->input_headers) { req 3609 opal/mca/event/libevent2022/libevent/http.c host = evhttp_find_header(req->input_headers, "Host"); req 3618 opal/mca/event/libevent2022/libevent/http.c req->host_cache = mm_malloc(len + 1); req 3619 opal/mca/event/libevent2022/libevent/http.c if (!req->host_cache) { req 3623 opal/mca/event/libevent2022/libevent/http.c memcpy(req->host_cache, host, len); req 3624 opal/mca/event/libevent2022/libevent/http.c req->host_cache[len] = '\0'; req 3625 opal/mca/event/libevent2022/libevent/http.c host = req->host_cache; req 3634 opal/mca/event/libevent2022/libevent/http.c evhttp_request_get_command(const struct evhttp_request *req) { req 3635 opal/mca/event/libevent2022/libevent/http.c return (req->type); req 3639 opal/mca/event/libevent2022/libevent/http.c evhttp_request_get_response_code(const struct evhttp_request *req) req 3641 opal/mca/event/libevent2022/libevent/http.c return req->response_code; req 3645 opal/mca/event/libevent2022/libevent/http.c struct evkeyvalq *evhttp_request_get_input_headers(struct evhttp_request *req) req 3647 opal/mca/event/libevent2022/libevent/http.c return (req->input_headers); req 3651 opal/mca/event/libevent2022/libevent/http.c struct evkeyvalq *evhttp_request_get_output_headers(struct evhttp_request *req) req 3653 opal/mca/event/libevent2022/libevent/http.c return (req->output_headers); req 3657 opal/mca/event/libevent2022/libevent/http.c struct evbuffer *evhttp_request_get_input_buffer(struct evhttp_request *req) req 3659 opal/mca/event/libevent2022/libevent/http.c return (req->input_buffer); req 3663 opal/mca/event/libevent2022/libevent/http.c struct evbuffer *evhttp_request_get_output_buffer(struct evhttp_request *req) req 3665 opal/mca/event/libevent2022/libevent/http.c return (req->output_buffer); req 3717 opal/mca/event/libevent2022/libevent/http.c struct evhttp_request *req; req 3718 opal/mca/event/libevent2022/libevent/http.c if ((req = evhttp_request_new(evhttp_handle_request, http)) == NULL) req 3721 opal/mca/event/libevent2022/libevent/http.c if ((req->remote_host = mm_strdup(evcon->address)) == NULL) { req 3723 opal/mca/event/libevent2022/libevent/http.c evhttp_request_free(req); req 3726 opal/mca/event/libevent2022/libevent/http.c req->remote_port = evcon->port; req 3728 opal/mca/event/libevent2022/libevent/http.c req->evcon = evcon; /* the request ends up owning the connection */ req 3729 opal/mca/event/libevent2022/libevent/http.c req->flags |= EVHTTP_REQ_OWN_CONNECTION; req 3736 opal/mca/event/libevent2022/libevent/http.c req->userdone = 1; req 3738 opal/mca/event/libevent2022/libevent/http.c TAILQ_INSERT_TAIL(&evcon->requests, req, next); req 3740 opal/mca/event/libevent2022/libevent/http.c req->kind = EVHTTP_REQUEST; req 386 opal/mca/event/libevent2022/libevent/include/event2/dns.h void evdns_cancel_request(struct evdns_base *base, struct evdns_request *req); req 582 opal/mca/event/libevent2022/libevent/include/event2/dns.h void evdns_server_request_set_flags(struct evdns_server_request *req, int flags); req 586 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_add_reply(struct evdns_server_request *req, int section, const char *name, int type, int dns_class, int ttl, int datalen, int is_name, const char *data); req 587 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl); req 588 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl); req 589 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl); req 590 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl); req 595 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_respond(struct evdns_server_request *req, int err); req 599 opal/mca/event/libevent2022/libevent/include/event2/dns.h int evdns_server_request_drop(struct evdns_server_request *req); req 637 opal/mca/event/libevent2022/libevent/include/event2/dns.h void evdns_getaddrinfo_cancel(struct evdns_getaddrinfo_request *req); req 308 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_send_error(struct evhttp_request *req, int error, req 324 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_send_reply(struct evhttp_request *req, int code, req 343 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_send_reply_start(struct evhttp_request *req, int code, req 357 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_send_reply_chunk(struct evhttp_request *req, req 364 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_send_reply_end(struct evhttp_request *req); req 411 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_request_free(struct evhttp_request *req); req 442 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_request_own(struct evhttp_request *req); req 445 opal/mca/event/libevent2022/libevent/include/event2/http.h int evhttp_request_is_owned(struct evhttp_request *req); req 453 opal/mca/event/libevent2022/libevent/include/event2/http.h struct evhttp_connection *evhttp_request_get_connection(struct evhttp_request *req); req 458 opal/mca/event/libevent2022/libevent/include/event2/http.h struct event_base *evhttp_connection_get_base(struct evhttp_connection *req); req 507 opal/mca/event/libevent2022/libevent/include/event2/http.h struct evhttp_request *req, req 523 opal/mca/event/libevent2022/libevent/include/event2/http.h void evhttp_cancel_request(struct evhttp_request *req); req 531 opal/mca/event/libevent2022/libevent/include/event2/http.h const char *evhttp_request_get_uri(const struct evhttp_request *req); req 533 opal/mca/event/libevent2022/libevent/include/event2/http.h const struct evhttp_uri *evhttp_request_get_evhttp_uri(const struct evhttp_request *req); req 535 opal/mca/event/libevent2022/libevent/include/event2/http.h enum evhttp_cmd_type evhttp_request_get_command(const struct evhttp_request *req); req 537 opal/mca/event/libevent2022/libevent/include/event2/http.h int evhttp_request_get_response_code(const struct evhttp_request *req); req 540 opal/mca/event/libevent2022/libevent/include/event2/http.h struct evkeyvalq *evhttp_request_get_input_headers(struct evhttp_request *req); req 542 opal/mca/event/libevent2022/libevent/include/event2/http.h struct evkeyvalq *evhttp_request_get_output_headers(struct evhttp_request *req); req 544 opal/mca/event/libevent2022/libevent/include/event2/http.h struct evbuffer *evhttp_request_get_input_buffer(struct evhttp_request *req); req 546 opal/mca/event/libevent2022/libevent/include/event2/http.h struct evbuffer *evhttp_request_get_output_buffer(struct evhttp_request *req); req 551 opal/mca/event/libevent2022/libevent/include/event2/http.h const char *evhttp_request_get_host(struct evhttp_request *req); req 260 opal/mca/event/libevent2022/libevent/include/event2/rpc.h void evrpc_request_done(struct evrpc_req_generic *req); req 263 opal/mca/event/libevent2022/libevent/include/event2/rpc.h void *evrpc_get_request(struct evrpc_req_generic *req); req 264 opal/mca/event/libevent2022/libevent/include/event2/rpc.h void *evrpc_get_reply(struct evrpc_req_generic *req); req 100 opal/mca/event/libevent2022/libevent/sample/dns-example.c evdns_server_callback(struct evdns_server_request *req, void *data) req 106 opal/mca/event/libevent2022/libevent/sample/dns-example.c for (i = 0; i < req->nquestions; ++i) { req 108 opal/mca/event/libevent2022/libevent/sample/dns-example.c if (req->questions[i]->type == EVDNS_TYPE_A && req 109 opal/mca/event/libevent2022/libevent/sample/dns-example.c req->questions[i]->dns_question_class == EVDNS_CLASS_INET) { req 110 opal/mca/event/libevent2022/libevent/sample/dns-example.c printf(" -- replying for %s (A)\n", req->questions[i]->name); req 111 opal/mca/event/libevent2022/libevent/sample/dns-example.c r = evdns_server_request_add_a_reply(req, req->questions[i]->name, req 115 opal/mca/event/libevent2022/libevent/sample/dns-example.c } else if (req->questions[i]->type == EVDNS_TYPE_PTR && req 116 opal/mca/event/libevent2022/libevent/sample/dns-example.c req->questions[i]->dns_question_class == EVDNS_CLASS_INET) { req 117 opal/mca/event/libevent2022/libevent/sample/dns-example.c printf(" -- replying for %s (PTR)\n", req->questions[i]->name); req 118 opal/mca/event/libevent2022/libevent/sample/dns-example.c r = evdns_server_request_add_ptr_reply(req, NULL, req->questions[i]->name, req 123 opal/mca/event/libevent2022/libevent/sample/dns-example.c printf(" -- skipping %s [%d %d]\n", req->questions[i]->name, req 124 opal/mca/event/libevent2022/libevent/sample/dns-example.c req->questions[i]->type, req->questions[i]->dns_question_class); req 128 opal/mca/event/libevent2022/libevent/sample/dns-example.c r = evdns_server_request_respond(req, 0); req 101 opal/mca/event/libevent2022/libevent/sample/http-server.c dump_request_cb(struct evhttp_request *req, void *arg) req 108 opal/mca/event/libevent2022/libevent/sample/http-server.c switch (evhttp_request_get_command(req)) { req 122 opal/mca/event/libevent2022/libevent/sample/http-server.c cmdtype, evhttp_request_get_uri(req)); req 124 opal/mca/event/libevent2022/libevent/sample/http-server.c headers = evhttp_request_get_input_headers(req); req 130 opal/mca/event/libevent2022/libevent/sample/http-server.c buf = evhttp_request_get_input_buffer(req); req 141 opal/mca/event/libevent2022/libevent/sample/http-server.c evhttp_send_reply(req, 200, "OK", NULL); req 149 opal/mca/event/libevent2022/libevent/sample/http-server.c send_document_cb(struct evhttp_request *req, void *arg) req 153 opal/mca/event/libevent2022/libevent/sample/http-server.c const char *uri = evhttp_request_get_uri(req); req 162 opal/mca/event/libevent2022/libevent/sample/http-server.c if (evhttp_request_get_command(req) != EVHTTP_REQ_GET) { req 163 opal/mca/event/libevent2022/libevent/sample/http-server.c dump_request_cb(req, arg); req 173 opal/mca/event/libevent2022/libevent/sample/http-server.c evhttp_send_error(req, HTTP_BADREQUEST, 0); req 271 opal/mca/event/libevent2022/libevent/sample/http-server.c evhttp_add_header(evhttp_request_get_output_headers(req), req 288 opal/mca/event/libevent2022/libevent/sample/http-server.c evhttp_add_header(evhttp_request_get_output_headers(req), req 293 opal/mca/event/libevent2022/libevent/sample/http-server.c evhttp_send_reply(req, 200, "OK", evb); req 296 opal/mca/event/libevent2022/libevent/sample/http-server.c evhttp_send_error(req, 404, "Document was not found"); req 51 opal/mca/event/libevent2022/libevent/test/bench_http.c static void http_basic_cb(struct evhttp_request *req, void *arg); req 57 opal/mca/event/libevent2022/libevent/test/bench_http.c http_basic_cb(struct evhttp_request *req, void *arg) req 64 opal/mca/event/libevent2022/libevent/test/bench_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); req 71 opal/mca/event/libevent2022/libevent/test/bench_http.c http_ref_cb(struct evhttp_request *req, void *arg) req 78 opal/mca/event/libevent2022/libevent/test/bench_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); req 200 opal/mca/event/libevent2022/libevent/test/regress_dns.c struct evdns_request *req = NULL; req 207 opal/mca/event/libevent2022/libevent/test/regress_dns.c req = evdns_base_resolve_reverse( req 209 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(req); req 225 opal/mca/event/libevent2022/libevent/test/regress_dns.c dns_server_request_cb(struct evdns_server_request *req, void *data) req 233 opal/mca/event/libevent2022/libevent/test/regress_dns.c for (i = 0; i < req->nquestions; ++i) { req 234 opal/mca/event/libevent2022/libevent/test/regress_dns.c const int qtype = req->questions[i]->type; req 235 opal/mca/event/libevent2022/libevent/test/regress_dns.c const int qclass = req->questions[i]->dns_question_class; req 236 opal/mca/event/libevent2022/libevent/test/regress_dns.c const char *qname = req->questions[i]->name; req 243 opal/mca/event/libevent2022/libevent/test/regress_dns.c r = evdns_server_request_add_a_reply(req, qname, req 251 opal/mca/event/libevent2022/libevent/test/regress_dns.c r = evdns_server_request_add_aaaa_reply(req, req 258 opal/mca/event/libevent2022/libevent/test/regress_dns.c r = evdns_server_request_add_ptr_reply(req, NULL, req 265 opal/mca/event/libevent2022/libevent/test/regress_dns.c r = evdns_server_request_add_ptr_reply(req, NULL, req 273 opal/mca/event/libevent2022/libevent/test/regress_dns.c if (evdns_server_request_drop(req)<0) req 282 opal/mca/event/libevent2022/libevent/test/regress_dns.c r = evdns_server_request_respond(req, 0); req 378 opal/mca/event/libevent2022/libevent/test/regress_dns.c struct evdns_request *req=NULL; req 425 opal/mca/event/libevent2022/libevent/test/regress_dns.c req = evdns_base_resolve_ipv4(base, req 429 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_cancel_request(base, req); req 570 opal/mca/event/libevent2022/libevent/test/regress_dns.c search_cancel_server_cb(struct evdns_server_request *req, void *data) req 574 opal/mca/event/libevent2022/libevent/test/regress_dns.c if (req->nquestions != 1) req 576 opal/mca/event/libevent2022/libevent/test/regress_dns.c req->nquestions)); req 578 opal/mca/event/libevent2022/libevent/test/regress_dns.c question = req->questions[0]->name; req 583 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(!evdns_server_request_respond(req, 3)); req 634 opal/mca/event/libevent2022/libevent/test/regress_dns.c fail_server_cb(struct evdns_server_request *req, void *data) req 643 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_want(! evdns_server_request_drop(req)); req 647 opal/mca/event/libevent2022/libevent/test/regress_dns.c if (req->nquestions != 1) req 649 opal/mca/event/libevent2022/libevent/test/regress_dns.c req->nquestions)); req 651 opal/mca/event/libevent2022/libevent/test/regress_dns.c question = req->questions[0]->name; req 659 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_a_reply(req, question, 1, &in.s_addr, req 661 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(! evdns_server_request_respond(req, 0)) req 664 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_want(! evdns_server_request_drop(req)); req 871 opal/mca/event/libevent2022/libevent/test/regress_dns.c be_getaddrinfo_server_cb(struct evdns_server_request *req, void *data) req 878 opal/mca/event/libevent2022/libevent/test/regress_dns.c for (i=0;i<req->nquestions;++i) { req 879 opal/mca/event/libevent2022/libevent/test/regress_dns.c const int qtype = req->questions[i]->type; req 880 opal/mca/event/libevent2022/libevent/test/regress_dns.c const int qclass = req->questions[i]->dns_question_class; req 881 opal/mca/event/libevent2022/libevent/test/regress_dns.c const char *qname = req->questions[i]->name; req 890 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_a_reply(req, qname, req 900 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_a_reply(req, qname, req 908 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_aaaa_reply(req, qname, req 912 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_cname_reply(req, qname, req 919 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_a_reply(req, qname, req 934 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_aaaa_reply(req, qname, req 945 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_a_reply(req, qname, req 950 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_drop(req); req 960 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_aaaa_reply(req, qname, req 965 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_drop(req); req 974 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_drop(req); req 980 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_drop(req); req 987 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_respond(req, 0); req 989 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_respond(req, 3); req 1595 opal/mca/event/libevent2022/libevent/test/regress_dns.c gaic_server_cb(struct evdns_server_request *req, void *arg) req 1598 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(req->nquestions); req 1599 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_add_a_reply(req, req->questions[0]->name, 1, req 1601 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_respond(req, 0); req 1604 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_server_request_respond(req, DNS_ERR_REFUSED); req 1679 opal/mca/event/libevent2022/libevent/test/regress_dns.c struct evdns_request *req; req 1696 opal/mca/event/libevent2022/libevent/test/regress_dns.c env->req = evdns_base_resolve_ipv4( req 1736 opal/mca/event/libevent2022/libevent/test/regress_dns.c evdns_cancel_request(env->dns_base, env->req); req 1737 opal/mca/event/libevent2022/libevent/test/regress_dns.c env->req = 0; req 1759 opal/mca/event/libevent2022/libevent/test/regress_dns.c env->req = 0; req 73 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_basic_cb(struct evhttp_request *req, void *arg); req 74 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_chunked_cb(struct evhttp_request *req, void *arg); req 75 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_post_cb(struct evhttp_request *req, void *arg); req 76 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_put_cb(struct evhttp_request *req, void *arg); req 77 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_delete_cb(struct evhttp_request *req, void *arg); req 78 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_delay_cb(struct evhttp_request *req, void *arg); req 79 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_large_delay_cb(struct evhttp_request *req, void *arg); req 80 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_badreq_cb(struct evhttp_request *req, void *arg); req 81 opal/mca/event/libevent2022/libevent/test/regress_http.c static void http_dispatcher_cb(struct evhttp_request *req, void *arg); req 211 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = evhttp_request_new(NULL, NULL); req 215 opal/mca/event/libevent2022/libevent/test/regress_http.c done = evhttp_parse_firstline(req, bufferevent_get_input(bev)); req 219 opal/mca/event/libevent2022/libevent/test/regress_http.c done = evhttp_parse_headers(req, bufferevent_get_input(bev)); req 224 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_find_header(evhttp_request_get_input_headers(req), req 229 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_free(req); req 260 opal/mca/event/libevent2022/libevent/test/regress_http.c http_basic_cb(struct evhttp_request *req, void *arg) req 263 opal/mca/event/libevent2022/libevent/test/regress_http.c int empty = evhttp_find_header(evhttp_request_get_input_headers(req), "Empty") != NULL; req 270 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_find_header(evhttp_request_get_input_headers(req),"X-multi"); req 274 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "X-Last")) req 280 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "X-Negative")) req 281 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), req 285 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", req 299 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req; req 311 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply_chunk(state->req, evb); req 318 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply_end(state->req); req 324 opal/mca/event/libevent2022/libevent/test/regress_http.c http_chunked_cb(struct evhttp_request *req, void *arg) req 331 opal/mca/event/libevent2022/libevent/test/regress_http.c state->req = req; req 334 opal/mca/event/libevent2022/libevent/test/regress_http.c if (strcmp(evhttp_request_get_uri(req), "/streamed") == 0) { req 335 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Length", "39"); req 339 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply_start(req, HTTP_OK, "Everything is fine"); req 452 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = arg; req 454 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", NULL); req 460 opal/mca/event/libevent2022/libevent/test/regress_http.c http_delay_cb(struct evhttp_request *req, void *arg) req 467 opal/mca/event/libevent2022/libevent/test/regress_http.c event_base_once(arg, -1, EV_TIMEOUT, http_delay_reply, req, &tv); req 471 opal/mca/event/libevent2022/libevent/test/regress_http.c http_badreq_cb(struct evhttp_request *req, void *arg) req 475 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Content-Type", "text/xml; charset=UTF-8"); req 478 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "OK", buf); req 511 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = evhttp_request_new(NULL, NULL); req 515 opal/mca/event/libevent2022/libevent/test/regress_http.c done = evhttp_parse_firstline(req, bufferevent_get_input(bev)); req 519 opal/mca/event/libevent2022/libevent/test/regress_http.c done = evhttp_parse_headers(req, bufferevent_get_input(bev)); req 524 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_find_header(evhttp_request_get_input_headers(req), req 529 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_free(req); req 627 opal/mca/event/libevent2022/libevent/test/regress_http.c http_large_delay_cb(struct evhttp_request *req, void *arg) req 633 opal/mca/event/libevent2022/libevent/test/regress_http.c event_base_once(arg, -1, EV_TIMEOUT, http_delay_reply, req, &tv); req 642 opal/mca/event/libevent2022/libevent/test/regress_http.c http_delete_cb(struct evhttp_request *req, void *arg) req 645 opal/mca/event/libevent2022/libevent/test/regress_http.c int empty = evhttp_find_header(evhttp_request_get_input_headers(req), "Empty") != NULL; req 648 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_command(req) != EVHTTP_REQ_DELETE) { req 657 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", req 830 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 847 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 850 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 853 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 865 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 868 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 875 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); req 878 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 887 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_empty_done, data->base); req 890 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); req 893 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 928 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 956 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 959 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 962 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 974 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 977 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 983 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Connection", "close"); req 986 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 995 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_empty_done, data->base); req 998 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); req 1001 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 1018 opal/mca/event/libevent2022/libevent/test/regress_http.c http_request_never_call(struct evhttp_request *req, void *arg) req 1027 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = arg; req 1034 opal/mca/event/libevent2022/libevent/test/regress_http.c base = evhttp_connection_get_base(evhttp_request_get_connection(req)); req 1035 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_cancel_request(req); req 1048 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 1065 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_never_call, NULL); req 1068 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1071 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/delay"), req 1078 opal/mca/event/libevent2022/libevent/test/regress_http.c event_base_once(data->base, -1, EV_TIMEOUT, http_do_cancel, req, &tv); req 1087 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 1090 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1093 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test"), req 1101 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_empty_done, data->base); req 1104 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Empty", "itis"); req 1107 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test"), req 1120 opal/mca/event/libevent2022/libevent/test/regress_http.c http_request_done(struct evhttp_request *req, void *arg) req 1124 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 1129 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Type") == NULL) { req 1134 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != strlen(what)) { req 1139 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_datacmp(evhttp_request_get_input_buffer(req), what) != 0) { req 1150 opal/mca/event/libevent2022/libevent/test/regress_http.c http_request_expect_error(struct evhttp_request *req, void *arg) req 1152 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) == HTTP_OK) { req 1169 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 1201 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_expect_error, data->base); req 1204 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1207 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 1219 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 1222 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "foo.com"); req 1225 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 1238 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 1241 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "bar.magic.foo.com"); req 1244 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 1256 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 1259 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "manolito.info"); req 1262 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 1274 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, (void*) BASIC_REQUEST_BODY); req 1277 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "bonkers.org:8000"); req 1280 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 1326 opal/mca/event/libevent2022/libevent/test/regress_http.c http_request_empty_done(struct evhttp_request *req, void *arg) req 1328 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 1333 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Date") == NULL) { req 1339 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Length") == NULL) { req 1344 opal/mca/event/libevent2022/libevent/test/regress_http.c if (strcmp(evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Length"), req 1350 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != 0) { req 1365 opal/mca/event/libevent2022/libevent/test/regress_http.c http_dispatcher_cb(struct evhttp_request *req, void *arg) req 1372 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); req 1378 opal/mca/event/libevent2022/libevent/test/regress_http.c http_dispatcher_test_done(struct evhttp_request *req, void *arg) req 1383 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 1388 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Type") == NULL) { req 1393 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != strlen(what)) { req 1395 opal/mca/event/libevent2022/libevent/test/regress_http.c (unsigned long)evbuffer_get_length(evhttp_request_get_input_buffer(req)), (unsigned long)strlen(what)); req 1399 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_datacmp(evhttp_request_get_input_buffer(req), what) != 0) { req 1414 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 1431 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_dispatcher_test_done, data->base); req 1432 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 1435 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1437 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/?arg=val") == -1) { req 1464 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 1478 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_postrequest_done, data->base); req 1479 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 1482 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1483 opal/mca/event/libevent2022/libevent/test/regress_http.c evbuffer_add_printf(evhttp_request_get_output_buffer(req), POST_DATA); req 1485 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_POST, "/postit") == -1) { req 1495 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_postrequest_done, data->base); req 1496 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 1501 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1502 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Expect", "100-continue"); req 1503 opal/mca/event/libevent2022/libevent/test/regress_http.c evbuffer_add_printf(evhttp_request_get_output_buffer(req), POST_DATA); req 1505 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_POST, "/postit") == -1) { req 1521 opal/mca/event/libevent2022/libevent/test/regress_http.c http_post_cb(struct evhttp_request *req, void *arg) req 1527 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_command(req) != EVHTTP_REQ_POST) { req 1532 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != strlen(POST_DATA)) { req 1534 opal/mca/event/libevent2022/libevent/test/regress_http.c (unsigned long) evbuffer_get_length(evhttp_request_get_input_buffer(req)), (unsigned long) strlen(POST_DATA)); req 1538 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_datacmp(evhttp_request_get_input_buffer(req), POST_DATA) != 0) { req 1540 opal/mca/event/libevent2022/libevent/test/regress_http.c fprintf(stdout, "Got :%s\n", evbuffer_pullup(evhttp_request_get_input_buffer(req),-1)); req 1548 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); req 1554 opal/mca/event/libevent2022/libevent/test/regress_http.c http_postrequest_done(struct evhttp_request *req, void *arg) req 1559 opal/mca/event/libevent2022/libevent/test/regress_http.c if (req == NULL) { req 1564 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 1570 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Type") == NULL) { req 1575 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != strlen(what)) { req 1577 opal/mca/event/libevent2022/libevent/test/regress_http.c (unsigned long)evbuffer_get_length(evhttp_request_get_input_buffer(req)), (unsigned long)strlen(what)); req 1581 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_datacmp(evhttp_request_get_input_buffer(req), what) != 0) { req 1604 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 1617 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_putrequest_done, data->base); req 1618 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 1621 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "someotherhost"); req 1622 opal/mca/event/libevent2022/libevent/test/regress_http.c evbuffer_add_printf(evhttp_request_get_output_buffer(req), PUT_DATA); req 1624 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_PUT, "/putit") == -1) { req 1639 opal/mca/event/libevent2022/libevent/test/regress_http.c http_put_cb(struct evhttp_request *req, void *arg) req 1645 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_command(req) != EVHTTP_REQ_PUT) { req 1650 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != strlen(PUT_DATA)) { req 1652 opal/mca/event/libevent2022/libevent/test/regress_http.c (unsigned long)evbuffer_get_length(evhttp_request_get_input_buffer(req)), (unsigned long)strlen(PUT_DATA)); req 1656 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_datacmp(evhttp_request_get_input_buffer(req), PUT_DATA) != 0) { req 1658 opal/mca/event/libevent2022/libevent/test/regress_http.c fprintf(stdout, "Got :%s\n", evbuffer_pullup(evhttp_request_get_input_buffer(req),-1)); req 1666 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply(req, HTTP_OK, "Everything is great", evb); req 1672 opal/mca/event/libevent2022/libevent/test/regress_http.c http_putrequest_done(struct evhttp_request *req, void *arg) req 1677 opal/mca/event/libevent2022/libevent/test/regress_http.c if (req == NULL) { req 1682 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 1688 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Type") == NULL) { req 1693 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != strlen(what)) { req 1695 opal/mca/event/libevent2022/libevent/test/regress_http.c (unsigned long)evbuffer_get_length(evhttp_request_get_input_buffer(req)), (unsigned long)strlen(what)); req 1700 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_datacmp(evhttp_request_get_input_buffer(req), what) != 0) { req 1760 opal/mca/event/libevent2022/libevent/test/regress_http.c close_detect_done(struct evhttp_request *req, void *arg) req 1763 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 1764 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(evhttp_request_get_response_code(req) == HTTP_OK); req 1779 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req; req 1781 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(close_detect_done, base); req 1784 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1787 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 1793 opal/mca/event/libevent2022/libevent/test/regress_http.c close_detect_cb(struct evhttp_request *req, void *arg) req 1799 opal/mca/event/libevent2022/libevent/test/regress_http.c if (req != NULL && evhttp_request_get_response_code(req) != HTTP_OK) { req 1818 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 1836 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(close_detect_cb, evcon); req 1839 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 1843 opal/mca/event/libevent2022/libevent/test/regress_http.c req, EVHTTP_REQ_GET, with_delay ? "/largedelay" : "/test") == -1) { req 2638 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = evhttp_request_new(NULL, NULL); req 2643 opal/mca/event/libevent2022/libevent/test/regress_http.c done = evhttp_parse_firstline(req, bufferevent_get_input(bev)); req 2647 opal/mca/event/libevent2022/libevent/test/regress_http.c done = evhttp_parse_headers(req, bufferevent_get_input(bev)); req 2651 opal/mca/event/libevent2022/libevent/test/regress_http.c header = evhttp_find_header(evhttp_request_get_input_headers(req), "Transfer-Encoding"); req 2655 opal/mca/event/libevent2022/libevent/test/regress_http.c header = evhttp_find_header(evhttp_request_get_input_headers(req), "Connection"); req 2717 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_free(req); req 2735 opal/mca/event/libevent2022/libevent/test/regress_http.c http_chunked_request_done(struct evhttp_request *req, void *arg) req 2737 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 2742 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), req 2748 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != 13 + 18 + 8) { req 2753 opal/mca/event/libevent2022/libevent/test/regress_http.c if (strncmp((char *)evbuffer_pullup(evhttp_request_get_input_buffer(req), 13 + 18 + 8), req 2774 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 2818 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_chunked_request_done,data->base); req 2821 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 2824 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, req 2847 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 2862 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_done, req 2866 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 2869 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/streamed") req 2884 opal/mca/event/libevent2022/libevent/test/regress_http.c http_stream_in_chunk(struct evhttp_request *req, void *arg) req 2888 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_response_code(req) != HTTP_OK) { req 2893 opal/mca/event/libevent2022/libevent/test/regress_http.c evbuffer_add_buffer(reply, evhttp_request_get_input_buffer(req)); req 2897 opal/mca/event/libevent2022/libevent/test/regress_http.c http_stream_in_done(struct evhttp_request *req, void *arg) req 2899 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evbuffer_get_length(evhttp_request_get_input_buffer(req)) != 0) { req 2916 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 2925 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_stream_in_done, reply); req 2926 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_set_chunked_cb(req, http_stream_in_chunk); req 2929 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, url) == -1) { req 2967 opal/mca/event/libevent2022/libevent/test/regress_http.c http_stream_in_cancel_chunk(struct evhttp_request *req, void *arg) req 2969 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_request_get_response_code(req), ==, HTTP_OK); req 2972 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_cancel_request(req); req 2977 opal/mca/event/libevent2022/libevent/test/regress_http.c http_stream_in_cancel_done(struct evhttp_request *req, void *arg) req 2988 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 2996 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_stream_in_cancel_done, data->base); req 2997 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_set_chunked_cb(req, http_stream_in_cancel_chunk); req 3000 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/chunked") == -1) { req 3014 opal/mca/event/libevent2022/libevent/test/regress_http.c http_connection_fail_done(struct evhttp_request *req, void *arg) req 3023 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(!req); req 3041 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 3061 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_connection_fail_done, evcon); req 3062 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3064 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/") == -1) { req 3077 opal/mca/event/libevent2022/libevent/test/regress_http.c http_connection_retry_done(struct evhttp_request *req, void *arg) req 3079 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3080 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_request_get_response_code(req), !=, HTTP_OK); req 3081 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_find_header(evhttp_request_get_input_headers(req), "Content-Type") != NULL) { req 3085 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_uint_op(evbuffer_get_length(evhttp_request_get_input_buffer(req)), ==, 0); req 3106 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 3129 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_connection_retry_done, data->base); req 3130 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3133 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3135 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 3156 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_connection_retry_done, data->base); req 3157 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3160 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3162 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 3185 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_dispatcher_test_done, data->base); req 3186 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3189 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3191 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, req 3297 opal/mca/event/libevent2022/libevent/test/regress_http.c http_request_bad(struct evhttp_request *req, void *arg) req 3299 opal/mca/event/libevent2022/libevent/test/regress_http.c if (req != NULL) { req 3314 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 3328 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_request_bad, data->base); req 3331 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "X-Negative", "makeitso"); req 3334 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { req 3349 opal/mca/event/libevent2022/libevent/test/regress_http.c http_data_length_constraints_test_done(struct evhttp_request *req, void *arg) req 3351 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3352 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_request_get_response_code(req), ==, HTTP_BADREQUEST); req 3358 opal/mca/event/libevent2022/libevent/test/regress_http.c http_large_entity_test_done(struct evhttp_request *req, void *arg) req 3360 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3361 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_int_op(evhttp_request_get_response_code(req), ==, HTTP_ENTITYTOOLARGE); req 3372 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req = NULL; req 3390 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_data_length_constraints_test_done, data->base); req 3391 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3397 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3398 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Longheader", long_str); req 3400 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/?arg=val") == -1) { req 3405 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_data_length_constraints_test_done, data->base); req 3406 opal/mca/event/libevent2022/libevent/test/regress_http.c tt_assert(req); req 3407 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3410 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, long_str) == -1) { req 3416 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_data_length_constraints_test_done, data->base); req 3417 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3418 opal/mca/event/libevent2022/libevent/test/regress_http.c evbuffer_add_printf(evhttp_request_get_output_buffer(req), "%s", long_str); req 3419 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_POST, "/") == -1) { req 3424 opal/mca/event/libevent2022/libevent/test/regress_http.c req = evhttp_request_new(http_large_entity_test_done, data->base); req 3425 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Host", "somehost"); req 3426 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_add_header(evhttp_request_get_output_headers(req), "Expect", "100-continue"); req 3427 opal/mca/event/libevent2022/libevent/test/regress_http.c evbuffer_add_printf(evhttp_request_get_output_buffer(req), "%s", long_str); req 3428 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_make_request(evcon, req, EVHTTP_REQ_POST, "/") == -1) { req 3447 opal/mca/event/libevent2022/libevent/test/regress_http.c struct evhttp_request *req; req 3460 opal/mca/event/libevent2022/libevent/test/regress_http.c if (evhttp_request_get_connection(state->req) == NULL) { req 3462 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_free(state->req); req 3469 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply_chunk(state->req, evb); req 3487 opal/mca/event/libevent2022/libevent/test/regress_http.c terminate_chunked_cb(struct evhttp_request *req, void *arg) req 3494 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_request_get_connection(req), req 3497 opal/mca/event/libevent2022/libevent/test/regress_http.c state->req = req; req 3499 opal/mca/event/libevent2022/libevent/test/regress_http.c evhttp_send_reply_start(req, HTTP_OK, "OK"); req 113 opal/mca/event/libevent2022/libevent/test/regress_rpc.c struct evhttp_request* req = EVRPC_REQUEST_HTTP(rpc); req 115 opal/mca/event/libevent2022/libevent/test/regress_rpc.c req->input_headers, "X-Hook"); req 168 opal/mca/event/libevent2022/libevent/test/regress_rpc.c rpc_postrequest_failure(struct evhttp_request *req, void *arg) req 170 opal/mca/event/libevent2022/libevent/test/regress_rpc.c if (req->response_code != HTTP_SERVUNAVAIL) { req 191 opal/mca/event/libevent2022/libevent/test/regress_rpc.c struct evhttp_request *req = NULL; req 203 opal/mca/event/libevent2022/libevent/test/regress_rpc.c req = evhttp_request_new(rpc_postrequest_failure, NULL); req 204 opal/mca/event/libevent2022/libevent/test/regress_rpc.c tt_assert(req); req 207 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evhttp_add_header(req->output_headers, "Host", "somehost"); req 208 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evbuffer_add_printf(req->output_buffer, "Some Nonsense"); req 210 opal/mca/event/libevent2022/libevent/test/regress_rpc.c if (evhttp_make_request(evcon, req, req 231 opal/mca/event/libevent2022/libevent/test/regress_rpc.c rpc_postrequest_done(struct evhttp_request *req, void *arg) req 235 opal/mca/event/libevent2022/libevent/test/regress_rpc.c if (req->response_code != HTTP_OK) { req 242 opal/mca/event/libevent2022/libevent/test/regress_rpc.c if ((kill_unmarshal(kill_reply, req->input_buffer)) == -1) { req 260 opal/mca/event/libevent2022/libevent/test/regress_rpc.c struct evhttp_request *req = NULL; req 273 opal/mca/event/libevent2022/libevent/test/regress_rpc.c req = evhttp_request_new(rpc_postrequest_done, NULL); req 274 opal/mca/event/libevent2022/libevent/test/regress_rpc.c if (req == NULL) { req 280 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evhttp_add_header(req->output_headers, "Host", "somehost"); req 286 opal/mca/event/libevent2022/libevent/test/regress_rpc.c msg_marshal(req->output_buffer, msg); req 289 opal/mca/event/libevent2022/libevent/test/regress_rpc.c if (evhttp_make_request(evcon, req, req 333 opal/mca/event/libevent2022/libevent/test/regress_rpc.c struct evhttp_request *req = status->http_req; req 335 opal/mca/event/libevent2022/libevent/test/regress_rpc.c req->input_headers, "X-Pool-Hook"); req 397 opal/mca/event/libevent2022/libevent/test/regress_rpc.c rpc_hook_add_header(void *ctx, struct evhttp_request *req, req 402 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evhttp_add_header(req->input_headers, "X-Hook", hook_type); req 404 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evhttp_add_header(req->output_headers, "X-Hook", hook_type); req 412 opal/mca/event/libevent2022/libevent/test/regress_rpc.c rpc_hook_add_meta(void *ctx, struct evhttp_request *req, req 423 opal/mca/event/libevent2022/libevent/test/regress_rpc.c rpc_hook_remove_header(void *ctx, struct evhttp_request *req, req 426 opal/mca/event/libevent2022/libevent/test/regress_rpc.c const char *header = evhttp_find_header(req->input_headers, "X-Hook"); req 433 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evhttp_remove_header(req->input_headers, "X-Hook"); req 434 opal/mca/event/libevent2022/libevent/test/regress_rpc.c evhttp_add_header(req->input_headers, "X-Pool-Hook", "ran"); req 612 opal/mca/event/libevent2022/libevent/test/regress_rpc.c rpc_hook_pause(void *ctx, struct evhttp_request *req, struct evbuffer *evbuf, req 140 opal/mca/event/libevent2022/libevent/test/regress_testutils.c regress_dns_server_cb(struct evdns_server_request *req, void *data) req 145 opal/mca/event/libevent2022/libevent/test/regress_testutils.c if (req->nquestions != 1) req 147 opal/mca/event/libevent2022/libevent/test/regress_testutils.c req->nquestions)); req 149 opal/mca/event/libevent2022/libevent/test/regress_testutils.c question = req->questions[0]->name; req 161 opal/mca/event/libevent2022/libevent/test/regress_testutils.c tt_assert(! evdns_server_request_respond(req, err)); req 175 opal/mca/event/libevent2022/libevent/test/regress_testutils.c req, EVDNS_AUTHORITY_SECTION, req 178 opal/mca/event/libevent2022/libevent/test/regress_testutils.c tt_assert(! evdns_server_request_respond(req, err)); req 185 opal/mca/event/libevent2022/libevent/test/regress_testutils.c evdns_server_request_add_a_reply(req, question, 1, &in.s_addr, req 192 opal/mca/event/libevent2022/libevent/test/regress_testutils.c evdns_server_request_add_aaaa_reply(req, req 197 opal/mca/event/libevent2022/libevent/test/regress_testutils.c tt_assert(! evdns_server_request_respond(req, 0)) req 200 opal/mca/event/libevent2022/libevent/test/regress_testutils.c tt_want(! evdns_server_request_drop(req)); req 51 opal/mca/event/libevent2022/libevent/test/regress_testutils.h struct evdns_server_request *req, void *data); req 425 opal/mca/pmix/pmix4x/pmix/src/client/pmix_client.c pmix_buffer_t *req; req 632 opal/mca/pmix/pmix4x/pmix/src/client/pmix_client.c req = PMIX_NEW(pmix_buffer_t); req 634 opal/mca/pmix/pmix4x/pmix/src/client/pmix_client.c req, &cmd, 1, PMIX_COMMAND); req 637 opal/mca/pmix/pmix4x/pmix/src/client/pmix_client.c PMIX_RELEASE(req); req 645 opal/mca/pmix/pmix4x/pmix/src/client/pmix_client.c req, job_data, (void*)&cb); req 685 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c pmix_ptl_posted_recv_t *req; req 717 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c req = PMIX_NEW(pmix_ptl_posted_recv_t); req 718 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c req->tag = tag; req 719 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c req->cbfunc = ms->cbfunc; req 720 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c req->cbdata = ms->cbdata; req 723 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c "posting recv on tag %d", req->tag); req 727 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_sendrecv.c pmix_list_prepend(&pmix_ptl_globals.posted_recvs, &req->super); req 55 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_ptl_posted_recv_t *req; req 59 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req = PMIX_NEW(pmix_ptl_posted_recv_t); req 60 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c if (NULL == req) { req 63 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req->tag = 0; req 64 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req->cbfunc = cbfunc; req 66 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c "posting notification recv on tag %d", req->tag); req 70 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_list_prepend(&pmix_ptl_globals.posted_recvs, &req->super); req 127 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_ptl_posted_recv_t *req = (pmix_ptl_posted_recv_t*)cbdata; req 132 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c "posting recv on tag %d", req->tag); req 135 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_list_append(&pmix_ptl_globals.posted_recvs, &req->super); req 140 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c if (msg->hdr.tag == req->tag || UINT_MAX == req->tag) { req 141 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c if (NULL != req->cbfunc) { req 151 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req->cbfunc(msg->peer, &msg->hdr, &buf, req->cbdata); req 164 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_ptl_posted_recv_t *req; req 166 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req = PMIX_NEW(pmix_ptl_posted_recv_t); req 167 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c if (NULL == req) { req 170 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req->tag = tag; req 171 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req->cbfunc = cbfunc; req 174 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_event_assign(&(req->ev), pmix_globals.evbase, -1, req 175 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c EV_WRITE, post_recv, req); req 176 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_event_active(&(req->ev), EV_WRITE, 1); req 182 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_ptl_posted_recv_t *req = (pmix_ptl_posted_recv_t*)cbdata; req 186 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c if (rcv->tag == req->tag) { req 189 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c PMIX_RELEASE(req); req 193 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c PMIX_RELEASE(req); req 199 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_ptl_posted_recv_t *req; req 201 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req = PMIX_NEW(pmix_ptl_posted_recv_t); req 202 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c if (NULL == req) { req 205 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c req->tag = tag; req 208 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_event_assign(&(req->ev), pmix_globals.evbase, -1, req 209 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c EV_WRITE, cancel_recv, req); req 210 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/base/ptl_base_stubs.c pmix_event_active(&(req->ev), EV_WRITE, 1); req 1716 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c pmix_iof_req_t *req; req 1853 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c req = PMIX_NEW(pmix_iof_req_t); req 1854 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c if (NULL == req) { req 1862 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c req->peer = peer; req 1863 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c req->pname.nspace = strdup(pmix_globals.myid.nspace); req 1864 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c req->pname.rank = pmix_globals.myid.rank; req 1865 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c req->channels = PMIX_FWD_STDOUT_CHANNEL | PMIX_FWD_STDERR_CHANNEL | PMIX_FWD_STDDIAG_CHANNEL; req 1866 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c pmix_list_append(&pmix_globals.iof_requests, &req->super); req 834 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c pmix_ptl_posted_recv_t *req; req 859 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c req = PMIX_NEW(pmix_ptl_posted_recv_t); req 860 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c req->tag = tag; req 861 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c req->cbfunc = ms->cbfunc; req 862 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c req->cbdata = ms->cbdata; req 864 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c "posting recv on tag %d", req->tag); req 868 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/usock/ptl_usock.c pmix_list_prepend(&pmix_ptl_globals.posted_recvs, &req->super); req 163 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c pmix_ptl_posted_recv_t *req; req 395 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c req = PMIX_NEW(pmix_ptl_posted_recv_t); req 396 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c req->tag = UINT32_MAX; req 397 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c req->cbfunc = pmix_server_message_handler; req 399 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c pmix_list_append(&pmix_ptl_globals.posted_recvs, &req->super); req 630 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c pmix_iof_req_t *req, *nxt; req 656 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_LIST_FOREACH_SAFE(req, nxt, &pmix_globals.iof_requests, pmix_iof_req_t) { req 657 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c if ((NULL != peer && PMIX_CHECK_PROCID(&req->peer->info->pname, &peer->info->pname)) || req 658 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c (NULL != proc && PMIX_CHECK_PROCID(&req->peer->info->pname, proc))) { req 659 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c pmix_list_remove_item(&pmix_globals.iof_requests, &req->super); req 660 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_RELEASE(req); req 1698 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c pmix_iof_req_t *req; req 1711 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_LIST_FOREACH(req, &pmix_globals.iof_requests, pmix_iof_req_t) { req 1713 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c if (!(cd->channels & req->channels)) { req 1717 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c if (!PMIX_CHECK_PROCID(cd->procs, &req->pname)) { req 1723 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c if (NULL == req->peer->info || req->peer->finalized) { req 1726 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c if (PMIX_CHECK_PROCID(cd->procs, &req->peer->info->pname)) { req 1737 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_BFROPS_PACK(rc, req->peer, msg, cd->procs, 1, PMIX_PROC); req 1744 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_BFROPS_PACK(rc, req->peer, msg, &cd->channels, 1, PMIX_IOF_CHANNEL); req 1751 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_BFROPS_PACK(rc, req->peer, msg, cd->bo, 1, PMIX_BYTE_OBJECT); req 1758 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server.c PMIX_PTL_SEND_ONEWAY(rc, req->peer, msg, PMIX_PTL_TAG_IOF); req 125 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_dmdx_request_t *req; req 243 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c cbfunc, cbdata, &lcd, &req); req 252 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_set(pmix_globals.evbase, &req->ev, req 253 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c get_timeout, req); req 254 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_add(&req->ev, &tv); req 255 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->event_active = true; req 280 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_set(pmix_globals.evbase, &req->ev, req 281 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c get_timeout, req); req 282 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_add(&req->ev, &tv); req 283 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->event_active = true; req 377 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c cbfunc, cbdata, &lcd, &req); req 388 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_set(pmix_globals.evbase, &req->ev, req 389 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c get_timeout, req); req 390 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_add(&req->ev, &tv); req 391 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->event_active = true; req 427 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c cbfunc, cbdata, &lcd, &req); req 435 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_set(pmix_globals.evbase, &req->ev, req 436 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c get_timeout, req); req 437 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_event_evtimer_add(&req->ev, &tv); req 438 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->event_active = true; req 490 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_dmdx_request_t *req; req 530 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req = PMIX_NEW(pmix_dmdx_request_t); req 531 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c if (NULL == req) { req 536 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->lcd = lcd; req 537 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->cbfunc = cbfunc; req 538 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->cbdata = cbdata; req 539 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_list_append(&lcd->loc_reqs, &req->super); req 541 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c *rq = req; req 577 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_dmdx_request_t *req, *req_next; req 578 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c PMIX_LIST_FOREACH_SAFE(req, req_next, &cd->loc_reqs, pmix_dmdx_request_t) { req 579 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->cbfunc(PMIX_ERR_NOT_FOUND, NULL, 0, req->cbdata, NULL, NULL); req 580 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_list_remove_item(&cd->loc_reqs, &req->super); req 581 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c PMIX_RELEASE(req); req 808 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_dmdx_request_t *req; req 841 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c PMIX_LIST_FOREACH(req, &ptr->loc_reqs, pmix_dmdx_request_t) { req 842 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->cbfunc(status, NULL, 0, req->cbdata, NULL, NULL); req 852 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c PMIX_LIST_FOREACH(req, &ptr->loc_reqs, pmix_dmdx_request_t) { req 854 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c rc = _satisfy_request(nptr, rank, scd, req->cbfunc, req->cbdata, NULL); req 857 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->cbfunc(rc, NULL, 0, req->cbdata, NULL, NULL); req 1069 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_dmdx_request_t *req = (pmix_dmdx_request_t*)cbdata; req 1074 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c if (NULL != req->cbfunc) { req 1075 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->cbfunc(PMIX_ERR_TIMEOUT, NULL, 0, req->cbdata, NULL, NULL); req 1077 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c req->event_active = false; req 1078 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c pmix_list_remove_item(&req->lcd->loc_reqs, &req->super); req 1079 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_get.c PMIX_RELEASE(req); req 1330 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c pmix_iof_req_t *req; req 1339 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req = PMIX_NEW(pmix_iof_req_t); req 1340 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (NULL == req) { req 1345 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->peer = cd->peer; req 1346 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->pname.nspace = strdup(nspace); req 1347 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->pname.rank = PMIX_RANK_WILDCARD; req 1348 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->channels = cd->channels; req 1349 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c pmix_list_append(&pmix_globals.iof_requests, &req->super); req 1353 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (!(iof->channel & req->channels)) { req 1357 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (!PMIX_CHECK_PROCID(&iof->source, &req->pname)) { req 1362 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (PMIX_CHECK_PROCID(&iof->source, &req->peer->info->pname)) { req 1368 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->pname.nspace, req->pname.rank); req 1376 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_BFROPS_PACK(rc, req->peer, msg, &iof->source, 1, PMIX_PROC); req 1383 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_BFROPS_PACK(rc, req->peer, msg, &iof->channel, 1, PMIX_IOF_CHANNEL); req 1390 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_BFROPS_PACK(rc, req->peer, msg, iof->bo, 1, PMIX_BYTE_OBJECT); req 1397 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_PTL_SEND_ONEWAY(rc, req->peer, msg, PMIX_PTL_TAG_IOF); req 3375 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c pmix_iof_req_t *req; req 3442 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_LIST_FOREACH(req, &pmix_globals.iof_requests, pmix_iof_req_t) { req 3444 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (peer != req->peer) { req 3448 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (0 == strncmp(cd->procs[n].nspace, req->pname.nspace, PMIX_MAX_NSLEN) && req 3449 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c (PMIX_RANK_WILDCARD == req->pname.rank || cd->procs[n].rank == req->pname.rank)) { req 3451 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if ((req->channels & cd->channels) != cd->channels) { req 3453 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->channels |= cd->channels; req 3463 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req = PMIX_NEW(pmix_iof_req_t); req 3464 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (NULL == req) { req 3469 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->peer = peer; req 3470 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->pname.nspace = strdup(cd->procs[n].nspace); req 3471 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->pname.rank = cd->procs[n].rank; req 3472 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->channels = cd->channels; req 3473 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c pmix_list_append(&pmix_globals.iof_requests, &req->super); req 3478 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (!(iof->channel & req->channels)) { req 3482 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (!PMIX_CHECK_PROCID(&iof->source, &req->pname)) { req 3487 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c if (PMIX_CHECK_PROCID(&iof->source, &req->peer->info->pname)) { req 3493 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c req->peer->info->pname.nspace, req->peer->info->pname.rank); req 3501 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_BFROPS_PACK(rc, req->peer, msg, &iof->source, 1, PMIX_PROC); req 3508 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_BFROPS_PACK(rc, req->peer, msg, &iof->channel, 1, PMIX_IOF_CHANNEL); req 3515 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_BFROPS_PACK(rc, req->peer, msg, iof->bo, 1, PMIX_BYTE_OBJECT); req 3522 opal/mca/pmix/pmix4x/pmix/src/server/pmix_server_ops.c PMIX_PTL_SEND_ONEWAY(rc, req->peer, msg, PMIX_PTL_TAG_IOF); req 275 opal/mca/pmix/pmix4x/pmix/src/tool/pmix_tool.c pmix_buffer_t *req; req 711 opal/mca/pmix/pmix4x/pmix/src/tool/pmix_tool.c req = PMIX_NEW(pmix_buffer_t); req 713 opal/mca/pmix/pmix4x/pmix/src/tool/pmix_tool.c req, &cmd, 1, PMIX_COMMAND); req 716 opal/mca/pmix/pmix4x/pmix/src/tool/pmix_tool.c PMIX_RELEASE(req); req 723 opal/mca/pmix/pmix4x/pmix/src/tool/pmix_tool.c req, job_data, (void*)&cb); req 49 orte/mca/filem/base/filem_base_fns.c static void process_set_construct(orte_filem_base_process_set_t *req) { req 50 orte/mca/filem/base/filem_base_fns.c req->source = *ORTE_NAME_INVALID; req 51 orte/mca/filem/base/filem_base_fns.c req->sink = *ORTE_NAME_INVALID; req 54 orte/mca/filem/base/filem_base_fns.c static void process_set_destruct( orte_filem_base_process_set_t *req) { req 55 orte/mca/filem/base/filem_base_fns.c req->source = *ORTE_NAME_INVALID; req 56 orte/mca/filem/base/filem_base_fns.c req->sink = *ORTE_NAME_INVALID; req 64 orte/mca/filem/base/filem_base_fns.c static void file_set_construct(orte_filem_base_file_set_t *req) { req 65 orte/mca/filem/base/filem_base_fns.c req->local_target = NULL; req 66 orte/mca/filem/base/filem_base_fns.c req->local_hint = ORTE_FILEM_HINT_NONE; req 68 orte/mca/filem/base/filem_base_fns.c req->remote_target = NULL; req 69 orte/mca/filem/base/filem_base_fns.c req->remote_hint = ORTE_FILEM_HINT_NONE; req 71 orte/mca/filem/base/filem_base_fns.c req->target_flag = ORTE_FILEM_TYPE_UNKNOWN; req 75 orte/mca/filem/base/filem_base_fns.c static void file_set_destruct( orte_filem_base_file_set_t *req) { req 76 orte/mca/filem/base/filem_base_fns.c if( NULL != req->local_target ) { req 77 orte/mca/filem/base/filem_base_fns.c free(req->local_target); req 78 orte/mca/filem/base/filem_base_fns.c req->local_target = NULL; req 80 orte/mca/filem/base/filem_base_fns.c req->local_hint = ORTE_FILEM_HINT_NONE; req 82 orte/mca/filem/base/filem_base_fns.c if( NULL != req->remote_target ) { req 83 orte/mca/filem/base/filem_base_fns.c free(req->remote_target); req 84 orte/mca/filem/base/filem_base_fns.c req->remote_target = NULL; req 86 orte/mca/filem/base/filem_base_fns.c req->remote_hint = ORTE_FILEM_HINT_NONE; req 88 orte/mca/filem/base/filem_base_fns.c req->target_flag = ORTE_FILEM_TYPE_UNKNOWN; req 96 orte/mca/filem/base/filem_base_fns.c static void req_construct(orte_filem_base_request_t *req) { req 97 orte/mca/filem/base/filem_base_fns.c OBJ_CONSTRUCT(&req->process_sets, opal_list_t); req 98 orte/mca/filem/base/filem_base_fns.c OBJ_CONSTRUCT(&req->file_sets, opal_list_t); req 100 orte/mca/filem/base/filem_base_fns.c req->num_mv = 0; req 102 orte/mca/filem/base/filem_base_fns.c req->is_done = NULL; req 103 orte/mca/filem/base/filem_base_fns.c req->is_active = NULL; req 105 orte/mca/filem/base/filem_base_fns.c req->exit_status = NULL; req 107 orte/mca/filem/base/filem_base_fns.c req->movement_type = ORTE_FILEM_MOVE_TYPE_UNKNOWN; req 110 orte/mca/filem/base/filem_base_fns.c static void req_destruct( orte_filem_base_request_t *req) { req 113 orte/mca/filem/base/filem_base_fns.c while( NULL != (item = opal_list_remove_first(&req->process_sets)) ) { req 116 orte/mca/filem/base/filem_base_fns.c OBJ_DESTRUCT(&req->process_sets); req 118 orte/mca/filem/base/filem_base_fns.c while( NULL != (item = opal_list_remove_first(&req->file_sets)) ) { req 121 orte/mca/filem/base/filem_base_fns.c OBJ_DESTRUCT(&req->file_sets); req 123 orte/mca/filem/base/filem_base_fns.c req->num_mv = 0; req 125 orte/mca/filem/base/filem_base_fns.c if( NULL != req->is_done ) { req 126 orte/mca/filem/base/filem_base_fns.c free(req->is_done); req 127 orte/mca/filem/base/filem_base_fns.c req->is_done = NULL; req 130 orte/mca/filem/base/filem_base_fns.c if( NULL != req->is_active ) { req 131 orte/mca/filem/base/filem_base_fns.c free(req->is_active); req 132 orte/mca/filem/base/filem_base_fns.c req->is_active = NULL; req 135 orte/mca/filem/base/filem_base_fns.c if( NULL != req->exit_status ) { req 136 orte/mca/filem/base/filem_base_fns.c free(req->exit_status); req 137 orte/mca/filem/base/filem_base_fns.c req->exit_status = NULL; req 140 orte/mca/filem/base/filem_base_fns.c req->movement_type = ORTE_FILEM_MOVE_TYPE_UNKNOWN; req 60 orte/mca/rml/base/rml_base_msg_handlers.c orte_rml_recv_request_t *req = (orte_rml_recv_request_t*)cbdata; req 64 orte/mca/rml/base/rml_base_msg_handlers.c ORTE_ACQUIRE_OBJECT(req); req 70 orte/mca/rml/base/rml_base_msg_handlers.c if (NULL == req) { req 77 orte/mca/rml/base/rml_base_msg_handlers.c post = req->post; req 82 orte/mca/rml/base/rml_base_msg_handlers.c if (req->cancel) { req 96 orte/mca/rml/base/rml_base_msg_handlers.c OBJ_RELEASE(req); req 118 orte/mca/rml/base/rml_base_msg_handlers.c req->post = NULL; req 123 orte/mca/rml/base/rml_base_msg_handlers.c OBJ_RELEASE(req); req 94 orte/mca/rml/oob/rml_oob_component.c orte_rml_recv_request_t *req; req 103 orte/mca/rml/oob/rml_oob_component.c req = OBJ_NEW(orte_rml_recv_request_t); req 104 orte/mca/rml/oob/rml_oob_component.c req->post->buffer_data = false; req 105 orte/mca/rml/oob/rml_oob_component.c req->post->peer.jobid = peer->jobid; req 106 orte/mca/rml/oob/rml_oob_component.c req->post->peer.vpid = peer->vpid; req 107 orte/mca/rml/oob/rml_oob_component.c req->post->tag = tag; req 108 orte/mca/rml/oob/rml_oob_component.c req->post->persistent = persistent; req 109 orte/mca/rml/oob/rml_oob_component.c req->post->cbfunc.iov = cbfunc; req 110 orte/mca/rml/oob/rml_oob_component.c req->post->cbdata = cbdata; req 111 orte/mca/rml/oob/rml_oob_component.c ORTE_THREADSHIFT(req, orte_event_base, orte_rml_base_post_recv, ORTE_MSG_PRI); req 119 orte/mca/rml/oob/rml_oob_component.c orte_rml_recv_request_t *req; req 128 orte/mca/rml/oob/rml_oob_component.c req = OBJ_NEW(orte_rml_recv_request_t); req 129 orte/mca/rml/oob/rml_oob_component.c req->post->buffer_data = true; req 130 orte/mca/rml/oob/rml_oob_component.c req->post->peer.jobid = peer->jobid; req 131 orte/mca/rml/oob/rml_oob_component.c req->post->peer.vpid = peer->vpid; req 132 orte/mca/rml/oob/rml_oob_component.c req->post->tag = tag; req 133 orte/mca/rml/oob/rml_oob_component.c req->post->persistent = persistent; req 134 orte/mca/rml/oob/rml_oob_component.c req->post->cbfunc.buffer = cbfunc; req 135 orte/mca/rml/oob/rml_oob_component.c req->post->cbdata = cbdata; req 136 orte/mca/rml/oob/rml_oob_component.c ORTE_THREADSHIFT(req, orte_event_base, orte_rml_base_post_recv, ORTE_MSG_PRI); req 140 orte/mca/rml/oob/rml_oob_component.c orte_rml_recv_request_t *req; req 155 orte/mca/rml/oob/rml_oob_component.c req = OBJ_NEW(orte_rml_recv_request_t); req 156 orte/mca/rml/oob/rml_oob_component.c req->cancel = true; req 157 orte/mca/rml/oob/rml_oob_component.c req->post->peer.jobid = peer->jobid; req 158 orte/mca/rml/oob/rml_oob_component.c req->post->peer.vpid = peer->vpid; req 159 orte/mca/rml/oob/rml_oob_component.c req->post->tag = tag; req 160 orte/mca/rml/oob/rml_oob_component.c ORTE_THREADSHIFT(req, orte_event_base, orte_rml_base_post_recv, ORTE_MSG_PRI); req 684 orte/orted/orted_submit.c opal_buffer_t *req; req 694 orte/orted/orted_submit.c req = OBJ_NEW(opal_buffer_t); req 695 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_dss.pack(req, &cmd, 1, ORTE_DAEMON_CMD))) { req 699 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_dss.pack(req, &trk->jdata->jobid, 1, ORTE_JOBID))) { req 703 orte/orted/orted_submit.c rc = orte_rml.send_buffer_nb(ORTE_PROC_MY_HNP, req, ORTE_RML_TAG_DAEMON, req 707 orte/orted/orted_submit.c OBJ_RELEASE(req); req 718 orte/orted/orted_submit.c opal_buffer_t *req; req 721 orte/orted/orted_submit.c req = OBJ_NEW(opal_buffer_t); req 722 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_dss.pack(req, &cmd, 1, ORTE_DAEMON_CMD))) { req 726 orte/orted/orted_submit.c rc = orte_rml.send_buffer_nb(ORTE_PROC_MY_HNP, req, req 731 orte/orted/orted_submit.c OBJ_RELEASE(req); req 747 orte/orted/orted_submit.c opal_buffer_t *req; req 1134 orte/orted/orted_submit.c req = OBJ_NEW(opal_buffer_t); req 1135 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_dss.pack(req, &cmd, 1, ORTE_DAEMON_CMD))) { req 1139 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_dss.pack(req, &jdata, 1, ORTE_JOB))) { req 1143 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_dss.pack(req, &trk->index, 1, OPAL_INT))) { req 1147 orte/orted/orted_submit.c orte_rml.send_buffer_nb(ORTE_PROC_MY_HNP, req, ORTE_RML_TAG_DAEMON, req 180 orte/orted/pmix/pmix_server.c pmix_server_req_t *req = (pmix_server_req_t*)occupant; req 185 orte/orted/pmix/pmix_server.c req->timeout -= orte_pmix_server_globals.timeout; req 186 orte/orted/pmix/pmix_server.c if (req->timeout > 0) { req 187 orte/orted/pmix/pmix_server.c req->timeout -= orte_pmix_server_globals.timeout; req 188 orte/orted/pmix/pmix_server.c if (0 >= req->timeout) { req 194 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS == (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 200 orte/orted/pmix/pmix_server.c orte_show_help("help-orted.txt", "timedout", true, req->operation); req 203 orte/orted/pmix/pmix_server.c if (NULL != req->opcbfunc) { req 204 orte/orted/pmix/pmix_server.c req->opcbfunc(OPAL_ERR_TIMEOUT, req->cbdata); req 205 orte/orted/pmix/pmix_server.c } else if (NULL != req->mdxcbfunc) { req 206 orte/orted/pmix/pmix_server.c req->mdxcbfunc(OPAL_ERR_TIMEOUT, NULL, 0, req->cbdata, NULL, NULL); req 207 orte/orted/pmix/pmix_server.c } else if (NULL != req->spcbfunc) { req 208 orte/orted/pmix/pmix_server.c req->spcbfunc(OPAL_ERR_TIMEOUT, ORTE_JOBID_INVALID, req->cbdata); req 209 orte/orted/pmix/pmix_server.c } else if (NULL != req->lkcbfunc) { req 210 orte/orted/pmix/pmix_server.c req->lkcbfunc(OPAL_ERR_TIMEOUT, NULL, req->cbdata); req 212 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 405 orte/orted/pmix/pmix_server.c pmix_server_req_t *req = (pmix_server_req_t*)cbdata; req 409 orte/orted/pmix/pmix_server.c ORTE_ACQUIRE_OBJECT(req); req 412 orte/orted/pmix/pmix_server.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 416 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS != (rc = opal_dss.pack(reply, &req->status, 1, OPAL_INT))) { req 422 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS != (rc = opal_dss.pack(reply, &req->target, 1, OPAL_NAME))) { req 428 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS != (rc = opal_dss.pack(reply, &req->remote_room_num, 1, OPAL_INT))) { req 434 orte/orted/pmix/pmix_server.c opal_dss.copy_payload(reply, &req->msg); req 437 orte/orted/pmix/pmix_server.c orte_rml.send_buffer_nb(&req->proxy, reply, req 443 orte/orted/pmix/pmix_server.c if (NULL != req->rlcbfunc) { req 444 orte/orted/pmix/pmix_server.c req->rlcbfunc(req->cbdata); req 446 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 456 orte/orted/pmix/pmix_server.c pmix_server_req_t *req = (pmix_server_req_t*)cbdata; req 459 orte/orted/pmix/pmix_server.c ORTE_ACQUIRE_OBJECT(req); req 461 orte/orted/pmix/pmix_server.c req->status = status; req 466 orte/orted/pmix/pmix_server.c opal_dss.copy_payload(&req->msg, &xfer); req 470 orte/orted/pmix/pmix_server.c req->rlcbfunc = relcbfunc; req 471 orte/orted/pmix/pmix_server.c req->cbdata = relcbdata; req 472 orte/orted/pmix/pmix_server.c opal_event_set(orte_event_base, &(req->ev), req 473 orte/orted/pmix/pmix_server.c -1, OPAL_EV_WRITE, _mdxresp, req); req 474 orte/orted/pmix/pmix_server.c opal_event_set_priority(&(req->ev), ORTE_MSG_PRI); req 475 orte/orted/pmix/pmix_server.c ORTE_POST_OBJECT(req); req 476 orte/orted/pmix/pmix_server.c opal_event_active(&(req->ev), OPAL_EV_WRITE, 1); req 488 orte/orted/pmix/pmix_server.c pmix_server_req_t *req; req 515 orte/orted/pmix/pmix_server.c req = OBJ_NEW(pmix_server_req_t); req 516 orte/orted/pmix/pmix_server.c opal_asprintf(&req->operation, "DMDX: %s:%d", __FILE__, __LINE__); req 517 orte/orted/pmix/pmix_server.c req->proxy = *sender; req 518 orte/orted/pmix/pmix_server.c req->target = idreq; req 519 orte/orted/pmix/pmix_server.c req->remote_room_num = room_num; req 522 orte/orted/pmix/pmix_server.c ORTE_ADJUST_TIMEOUT(req); req 523 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 524 orte/orted/pmix/pmix_server.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 525 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 542 orte/orted/pmix/pmix_server.c req = OBJ_NEW(pmix_server_req_t); req 543 orte/orted/pmix/pmix_server.c opal_asprintf(&req->operation, "DMDX: %s:%d", __FILE__, __LINE__); req 544 orte/orted/pmix/pmix_server.c req->proxy = *sender; req 545 orte/orted/pmix/pmix_server.c req->target = idreq; req 546 orte/orted/pmix/pmix_server.c req->remote_room_num = room_num; req 549 orte/orted/pmix/pmix_server.c ORTE_ADJUST_TIMEOUT(req); req 550 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 551 orte/orted/pmix/pmix_server.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 552 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 558 orte/orted/pmix/pmix_server.c if (OPAL_SUCCESS != (rc = opal_pmix.server_dmodex_request(&idreq, modex_resp, req))) { req 560 orte/orted/pmix/pmix_server.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 561 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 601 orte/orted/pmix/pmix_server.c pmix_server_req_t *req; req 638 orte/orted/pmix/pmix_server.c opal_hotel_checkout_and_return_occupant(&orte_pmix_server_globals.reqs, room_num, (void**)&req); req 640 orte/orted/pmix/pmix_server.c if (NULL != req) { req 641 orte/orted/pmix/pmix_server.c if (NULL != req->mdxcbfunc) { req 643 orte/orted/pmix/pmix_server.c req->mdxcbfunc(ret, d->data, d->ndata, req->cbdata, relcbfunc, d); req 645 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 650 orte/orted/pmix/pmix_server.c opal_hotel_knock(&orte_pmix_server_globals.reqs, rnum, (void**)&req); req 651 orte/orted/pmix/pmix_server.c if (NULL == req) { req 654 orte/orted/pmix/pmix_server.c if (req->target.jobid == target.jobid && req 655 orte/orted/pmix/pmix_server.c req->target.vpid == target.vpid) { req 656 orte/orted/pmix/pmix_server.c if (NULL != req->mdxcbfunc) { req 658 orte/orted/pmix/pmix_server.c req->mdxcbfunc(ret, d->data, d->ndata, req->cbdata, relcbfunc, d); req 661 orte/orted/pmix/pmix_server.c OBJ_RELEASE(req); req 60 orte/orted/pmix/pmix_server_dyn.c pmix_server_req_t *req; req 88 orte/orted/pmix/pmix_server_dyn.c opal_hotel_checkout_and_return_occupant(&orte_pmix_server_globals.reqs, room, (void**)&req); req 89 orte/orted/pmix/pmix_server_dyn.c if (NULL == req) { req 96 orte/orted/pmix/pmix_server_dyn.c if (NULL != req->spcbfunc) { req 97 orte/orted/pmix/pmix_server_dyn.c req->spcbfunc(ret, jobid, req->cbdata); req 105 orte/orted/pmix/pmix_server_dyn.c OBJ_RELEASE(req); req 110 orte/orted/pmix/pmix_server_dyn.c pmix_server_req_t *req = (pmix_server_req_t*)cbdata; req 115 orte/orted/pmix/pmix_server_dyn.c ORTE_ACQUIRE_OBJECT(req); req 118 orte/orted/pmix/pmix_server_dyn.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 119 orte/orted/pmix/pmix_server_dyn.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 124 orte/orted/pmix/pmix_server_dyn.c orte_set_attribute(&req->jdata->attributes, ORTE_JOB_ROOM_NUM, req 125 orte/orted/pmix/pmix_server_dyn.c ORTE_ATTR_GLOBAL, &req->room_num, OPAL_INT); req 133 orte/orted/pmix/pmix_server_dyn.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 138 orte/orted/pmix/pmix_server_dyn.c if (ORTE_SUCCESS != (rc = opal_dss.pack(buf, &req->jdata, 1, ORTE_JOB))) { req 140 orte/orted/pmix/pmix_server_dyn.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 151 orte/orted/pmix/pmix_server_dyn.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 159 orte/orted/pmix/pmix_server_dyn.c if (NULL != req->mdxcbfunc) { req 160 orte/orted/pmix/pmix_server_dyn.c req->mdxcbfunc(rc, NULL, 0, req->cbdata, NULL, NULL); req 162 orte/orted/pmix/pmix_server_dyn.c OBJ_RELEASE(req); req 133 orte/orted/pmix/pmix_server_fence.c pmix_server_req_t *req = (pmix_server_req_t*)cbdata; req 151 orte/orted/pmix/pmix_server_fence.c OPAL_MODEX_RECV_STRING(rc, "modex", &req->target, &data, &sz); req 153 orte/orted/pmix/pmix_server_fence.c req->mdxcbfunc(rc, (char*)data, sz, req->cbdata, relcb, data); req 154 orte/orted/pmix/pmix_server_fence.c OBJ_RELEASE(req); req 160 orte/orted/pmix/pmix_server_fence.c ORTE_ADJUST_TIMEOUT(req); req 169 orte/orted/pmix/pmix_server_fence.c if (r->target.jobid == req->target.jobid && req 170 orte/orted/pmix/pmix_server_fence.c r->target.vpid == req->target.vpid) { req 173 orte/orted/pmix/pmix_server_fence.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 174 orte/orted/pmix/pmix_server_fence.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 184 orte/orted/pmix/pmix_server_fence.c if (NULL == (jdata = orte_get_job_data_object(req->target.jobid))) { req 189 orte/orted/pmix/pmix_server_fence.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 190 orte/orted/pmix/pmix_server_fence.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 201 orte/orted/pmix/pmix_server_fence.c if (ORTE_VPID_WILDCARD == req->target.vpid) { req 207 orte/orted/pmix/pmix_server_fence.c if (NULL != req->mdxcbfunc) { req 208 orte/orted/pmix/pmix_server_fence.c req->mdxcbfunc(rc, NULL, 0, req->cbdata, NULL, NULL); req 210 orte/orted/pmix/pmix_server_fence.c OBJ_RELEASE(req); req 215 orte/orted/pmix/pmix_server_fence.c if (NULL == (proct = (orte_proc_t*)opal_pointer_array_get_item(jdata->procs, req->target.vpid))) { req 233 orte/orted/pmix/pmix_server_fence.c req->proxy.vpid = dmn->name.vpid; req 237 orte/orted/pmix/pmix_server_fence.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 238 orte/orted/pmix/pmix_server_fence.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 251 orte/orted/pmix/pmix_server_fence.c if (OPAL_SUCCESS != (rc = opal_dss.pack(buf, &req->target, 1, OPAL_NAME))) { req 253 orte/orted/pmix/pmix_server_fence.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 258 orte/orted/pmix/pmix_server_fence.c if (OPAL_SUCCESS != (rc = opal_dss.pack(buf, &req->room_num, 1, OPAL_INT))) { req 260 orte/orted/pmix/pmix_server_fence.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 269 orte/orted/pmix/pmix_server_fence.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 277 orte/orted/pmix/pmix_server_fence.c if (NULL != req->mdxcbfunc) { req 278 orte/orted/pmix/pmix_server_fence.c req->mdxcbfunc(rc, NULL, 0, req->cbdata, NULL, NULL); req 280 orte/orted/pmix/pmix_server_fence.c OBJ_RELEASE(req); req 155 orte/orted/pmix/pmix_server_pub.c pmix_server_req_t *req = (pmix_server_req_t*)cbdata; req 160 orte/orted/pmix/pmix_server_pub.c ORTE_ACQUIRE_OBJECT(req); req 173 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_hotel_checkin(&orte_pmix_server_globals.reqs, req, &req->room_num))) { req 174 orte/orted/pmix/pmix_server_pub.c orte_show_help("help-orted.txt", "noroom", true, req->operation, orte_pmix_server_globals.num_rooms); req 181 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(xfer, &req->room_num, 1, OPAL_INT))) { req 186 orte/orted/pmix/pmix_server_pub.c opal_dss.copy_payload(xfer, &req->msg); req 189 orte/orted/pmix/pmix_server_pub.c if (OPAL_PMIX_RANGE_SESSION == req->range) { req 194 orte/orted/pmix/pmix_server_pub.c } else if (OPAL_PMIX_RANGE_LOCAL == req->range) { req 217 orte/orted/pmix/pmix_server_pub.c if (NULL != req->opcbfunc) { req 218 orte/orted/pmix/pmix_server_pub.c req->opcbfunc(rc, req->cbdata); req 219 orte/orted/pmix/pmix_server_pub.c } else if (NULL != req->lkcbfunc) { req 220 orte/orted/pmix/pmix_server_pub.c req->lkcbfunc(rc, NULL, req->cbdata); req 222 orte/orted/pmix/pmix_server_pub.c opal_hotel_checkout(&orte_pmix_server_globals.reqs, req->room_num); req 223 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 230 orte/orted/pmix/pmix_server_pub.c pmix_server_req_t *req; req 242 orte/orted/pmix/pmix_server_pub.c req = OBJ_NEW(pmix_server_req_t); req 243 orte/orted/pmix/pmix_server_pub.c opal_asprintf(&req->operation, "PUBLISH: %s:%d", __FILE__, __LINE__); req 244 orte/orted/pmix/pmix_server_pub.c req->opcbfunc = cbfunc; req 245 orte/orted/pmix/pmix_server_pub.c req->cbdata = cbdata; req 248 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &cmd, 1, OPAL_UINT8))) { req 250 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 255 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, proc, 1, OPAL_NAME))) { req 257 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 266 orte/orted/pmix/pmix_server_pub.c req->range = (opal_pmix_data_range_t)iptr->data.uint; req 281 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &req->range, 1, OPAL_PMIX_DATA_RANGE))) { req 283 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 288 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &persist, 1, OPAL_INT))) { req 290 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 303 orte/orted/pmix/pmix_server_pub.c req->timeout = iptr->data.integer; req 310 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &iptr, 1, OPAL_VALUE))) { req 312 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 318 orte/orted/pmix/pmix_server_pub.c opal_event_set(orte_event_base, &(req->ev), req 319 orte/orted/pmix/pmix_server_pub.c -1, OPAL_EV_WRITE, execute, req); req 320 orte/orted/pmix/pmix_server_pub.c opal_event_set_priority(&(req->ev), ORTE_MSG_PRI); req 321 orte/orted/pmix/pmix_server_pub.c ORTE_POST_OBJECT(req); req 322 orte/orted/pmix/pmix_server_pub.c opal_event_active(&(req->ev), OPAL_EV_WRITE, 1); req 332 orte/orted/pmix/pmix_server_pub.c pmix_server_req_t *req; req 343 orte/orted/pmix/pmix_server_pub.c req = OBJ_NEW(pmix_server_req_t); req 344 orte/orted/pmix/pmix_server_pub.c opal_asprintf(&req->operation, "LOOKUP: %s:%d", __FILE__, __LINE__); req 345 orte/orted/pmix/pmix_server_pub.c req->lkcbfunc = cbfunc; req 346 orte/orted/pmix/pmix_server_pub.c req->cbdata = cbdata; req 349 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &cmd, 1, OPAL_UINT8))) { req 351 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 356 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &proc->jobid, 1, ORTE_JOBID))) { req 358 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 365 orte/orted/pmix/pmix_server_pub.c req->range = (opal_pmix_data_range_t)iptr->data.uint; req 371 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &req->range, 1, OPAL_PMIX_DATA_RANGE))) { req 373 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 379 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &nkeys, 1, OPAL_UINT32))) { req 381 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 391 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &keys[i], 1, OPAL_STRING))) { req 393 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 405 orte/orted/pmix/pmix_server_pub.c req->timeout = iptr->data.integer; req 412 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &iptr, 1, OPAL_VALUE))) { req 414 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 420 orte/orted/pmix/pmix_server_pub.c opal_event_set(orte_event_base, &(req->ev), req 421 orte/orted/pmix/pmix_server_pub.c -1, OPAL_EV_WRITE, execute, req); req 422 orte/orted/pmix/pmix_server_pub.c opal_event_set_priority(&(req->ev), ORTE_MSG_PRI); req 423 orte/orted/pmix/pmix_server_pub.c ORTE_POST_OBJECT(req); req 424 orte/orted/pmix/pmix_server_pub.c opal_event_active(&(req->ev), OPAL_EV_WRITE, 1); req 433 orte/orted/pmix/pmix_server_pub.c pmix_server_req_t *req; req 440 orte/orted/pmix/pmix_server_pub.c req = OBJ_NEW(pmix_server_req_t); req 441 orte/orted/pmix/pmix_server_pub.c opal_asprintf(&req->operation, "UNPUBLISH: %s:%d", __FILE__, __LINE__); req 442 orte/orted/pmix/pmix_server_pub.c req->opcbfunc = cbfunc; req 443 orte/orted/pmix/pmix_server_pub.c req->cbdata = cbdata; req 446 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &cmd, 1, OPAL_UINT8))) { req 448 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 453 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, proc, 1, OPAL_NAME))) { req 455 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 462 orte/orted/pmix/pmix_server_pub.c req->range = (opal_pmix_data_range_t)iptr->data.integer; req 468 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &req->range, 1, OPAL_INT))) { req 470 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 476 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &nkeys, 1, OPAL_UINT32))) { req 478 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 484 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &keys[n], 1, OPAL_STRING))) { req 486 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 498 orte/orted/pmix/pmix_server_pub.c req->timeout = iptr->data.integer; req 501 orte/orted/pmix/pmix_server_pub.c if (OPAL_SUCCESS != (rc = opal_dss.pack(&req->msg, &iptr, 1, OPAL_VALUE))) { req 503 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 509 orte/orted/pmix/pmix_server_pub.c opal_event_set(orte_event_base, &(req->ev), req 510 orte/orted/pmix/pmix_server_pub.c -1, OPAL_EV_WRITE, execute, req); req 511 orte/orted/pmix/pmix_server_pub.c opal_event_set_priority(&(req->ev), ORTE_MSG_PRI); req 512 orte/orted/pmix/pmix_server_pub.c ORTE_POST_OBJECT(req); req 513 orte/orted/pmix/pmix_server_pub.c opal_event_active(&(req->ev), OPAL_EV_WRITE, 1); req 524 orte/orted/pmix/pmix_server_pub.c pmix_server_req_t *req=NULL; req 583 orte/orted/pmix/pmix_server_pub.c opal_hotel_checkout_and_return_occupant(&orte_pmix_server_globals.reqs, room_num, (void**)&req); req 586 orte/orted/pmix/pmix_server_pub.c if (NULL != req) { req 588 orte/orted/pmix/pmix_server_pub.c if (NULL != req->opcbfunc) { req 589 orte/orted/pmix/pmix_server_pub.c req->opcbfunc(ret, req->cbdata); req 590 orte/orted/pmix/pmix_server_pub.c } else if (NULL != req->lkcbfunc) { req 591 orte/orted/pmix/pmix_server_pub.c req->lkcbfunc(ret, &info, req->cbdata); req 599 orte/orted/pmix/pmix_server_pub.c OBJ_RELEASE(req); req 195 orte/runtime/orte_data_server.c orte_data_req_t *req, *rqnext; req 279 orte/runtime/orte_data_server.c OPAL_LIST_FOREACH_SAFE(req, rqnext, &pending, orte_data_req_t) { req 280 orte/runtime/orte_data_server.c if (req->uid != data->uid) { req 291 orte/runtime/orte_data_server.c for (i=0; NULL != req->keys[i]; i++) { req 297 orte/runtime/orte_data_server.c iptr->key, req->keys[i]); req 298 orte/runtime/orte_data_server.c if (0 == strcmp(iptr->key, req->keys[i])) { req 306 orte/runtime/orte_data_server.c if (ORTE_SUCCESS != (rc = opal_dss.pack(reply, &req->room_number, 1, OPAL_INT))) { req 337 orte/runtime/orte_data_server.c ORTE_NAME_PRINT(&req->requestor)); req 339 orte/runtime/orte_data_server.c if (0 > (rc = orte_rml.send_buffer_nb(&req->requestor, reply, ORTE_RML_TAG_DATA_CLIENT, req 345 orte/runtime/orte_data_server.c opal_list_remove_item(&pending, &req->super); req 346 orte/runtime/orte_data_server.c OBJ_RELEASE(req); req 533 orte/runtime/orte_data_server.c req = OBJ_NEW(orte_data_req_t); req 534 orte/runtime/orte_data_server.c req->room_number = room_number; req 535 orte/runtime/orte_data_server.c req->requestor = *sender; req 536 orte/runtime/orte_data_server.c req->uid = uid; req 537 orte/runtime/orte_data_server.c req->range = range; req 538 orte/runtime/orte_data_server.c req->keys = keys; req 539 orte/runtime/orte_data_server.c opal_list_append(&pending, &req->super); req 42 orte/test/mpi/no-disconnect.c MPI_Request req; req 57 orte/test/mpi/no-disconnect.c MPI_Irecv(buf, count, datatype, source, tag, comm, &req); req 59 orte/test/mpi/no-disconnect.c MPI_Test(&req, &flag, status); req 62 orte/test/mpi/no-disconnect.c MPI_Test(&req, &flag, status); req 168 orte/test/mpi/no-disconnect.c MPI_Request req[2]; req 187 orte/test/mpi/no-disconnect.c MPI_ANY_TAG, comm[i], &req[i]); req 191 orte/test/mpi/no-disconnect.c MPI_Waitall(nspawn, req, MPI_STATUSES_IGNORE); req 10 orte/test/mpi/spawn-problem/ch_rec.c MPI_Request req[2]; req 32 orte/test/mpi/spawn-problem/ch_rec.c MPI_ANY_TAG, comm[0], &req[0]); req 41 orte/test/mpi/spawn-problem/ch_rec.c MPI_ANY_TAG, comm[1], &req[1]); req 44 orte/test/mpi/spawn-problem/ch_rec.c MPI_Waitany(2, req, &j, MPI_STATUS_IGNORE); req 1961 oshmem/mca/memheap/ptmalloc/malloc.c #define pad_request(req) \ req 1962 oshmem/mca/memheap/ptmalloc/malloc.c (((req) + CHUNK_OVERHEAD + CHUNK_ALIGN_MASK) & ~CHUNK_ALIGN_MASK) req 1965 oshmem/mca/memheap/ptmalloc/malloc.c #define request2size(req) \ req 1966 oshmem/mca/memheap/ptmalloc/malloc.c (((req) < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(req)) req 3787 oshmem/mca/memheap/ptmalloc/malloc.c size_t req = nb + TOP_FOOT_SIZE + SIZE_T_ONE; req 3788 oshmem/mca/memheap/ptmalloc/malloc.c size_t rsize = granularity_align(req); req 4208 oshmem/mca/memheap/ptmalloc/malloc.c size_t req = nb + alignment + MIN_CHUNK_SIZE - CHUNK_OVERHEAD; req 4209 oshmem/mca/memheap/ptmalloc/malloc.c char* mem = (char*)internal_malloc(m, req); req 4652 oshmem/mca/memheap/ptmalloc/malloc.c size_t req = 0; req 4654 oshmem/mca/memheap/ptmalloc/malloc.c req = n_elements * elem_size; req 4656 oshmem/mca/memheap/ptmalloc/malloc.c (req / n_elements != elem_size)) req 4657 oshmem/mca/memheap/ptmalloc/malloc.c req = MAX_SIZE_T; /* force downstream failure on overflow */ req 4659 oshmem/mca/memheap/ptmalloc/malloc.c mem = dlmalloc(req); req 4661 oshmem/mca/memheap/ptmalloc/malloc.c memset(mem, 0, req); req 5072 oshmem/mca/memheap/ptmalloc/malloc.c size_t req = 0; req 5079 oshmem/mca/memheap/ptmalloc/malloc.c req = n_elements * elem_size; req 5081 oshmem/mca/memheap/ptmalloc/malloc.c (req / n_elements != elem_size)) req 5082 oshmem/mca/memheap/ptmalloc/malloc.c req = MAX_SIZE_T; /* force downstream failure on overflow */ req 5084 oshmem/mca/memheap/ptmalloc/malloc.c mem = internal_malloc(ms, req); req 5086 oshmem/mca/memheap/ptmalloc/malloc.c memset(mem, 0, req); req 15 oshmem/mca/spml/base/spml_base_putreq.c static void mca_spml_base_put_request_construct(mca_spml_base_put_request_t* req); req 16 oshmem/mca/spml/base/spml_base_putreq.c static void mca_spml_base_put_request_destruct(mca_spml_base_put_request_t* req); req 29 oshmem/mca/spml/base/spml_base_putreq.c static void mca_spml_base_put_request_destruct(mca_spml_base_put_request_t* req) req 28 oshmem/mca/spml/base/spml_base_request.c static void mca_spml_base_request_construct(mca_spml_base_request_t* req) req 30 oshmem/mca/spml/base/spml_base_request.c req->req_oshmem.req_type = OSHMEM_REQUEST_SPML; req 33 oshmem/mca/spml/base/spml_base_request.c static void mca_spml_base_request_destruct(mca_spml_base_request_t* req) req 86 oshmem/mca/spml/ikrit/spml_ikrit.c static inline void mca_spml_irkit_req_wait(mxm_req_base_t *req) req 94 oshmem/mca/spml/ikrit/spml_ikrit.c } while (!mxm_req_test(req)); req 106 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_ikrit_put_request_t *req; req 112 oshmem/mca/spml/ikrit/spml_ikrit.c req = (mca_spml_ikrit_put_request_t *) item; req 113 oshmem/mca/spml/ikrit/spml_ikrit.c opal_memchecker_base_mem_undefined(req, sizeof(*req)); req 115 oshmem/mca/spml/ikrit/spml_ikrit.c return req; req 135 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_ikrit_get_request_t *req; req 141 oshmem/mca/spml/ikrit/spml_ikrit.c req = (mca_spml_ikrit_get_request_t *) item; req 142 oshmem/mca/spml/ikrit/spml_ikrit.c opal_memchecker_base_mem_undefined(req, sizeof(*req)); req 143 oshmem/mca/spml/ikrit/spml_ikrit.c return req; req 950 oshmem/mca/spml/ikrit/spml_ikrit.c wait.req = &mxm_req.base; req 997 oshmem/mca/spml/ikrit/spml_ikrit.c wait.req = &put_req->mxm_req.base; req 1037 oshmem/mca/spml/ikrit/spml_ikrit.c mxm_recv_req_t req; req 1044 oshmem/mca/spml/ikrit/spml_ikrit.c req.tag = src == SHMEM_ANY_SOURCE ? 0 : src; req 1045 oshmem/mca/spml/ikrit/spml_ikrit.c req.tag_mask = src == SHMEM_ANY_SOURCE ? 0 : 0xFFFFFFFF; req 1047 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.state = MXM_REQ_NEW; req 1048 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.mq = mca_spml_ikrit.mxm_mq; req 1049 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.conn = NULL; req 1050 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.completed_cb = NULL; req 1052 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data_type = MXM_REQ_DATA_BUFFER; req 1053 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data.buffer.ptr = buf == NULL ? dummy_buf : buf; req 1054 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data.buffer.length = size == 0 ? sizeof(dummy_buf) : size; req 1055 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data.buffer.memh = NULL; req 1057 oshmem/mca/spml/ikrit/spml_ikrit.c ret = mxm_req_recv(&req); req 1061 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_irkit_req_wait(&req.base); req 1062 oshmem/mca/spml/ikrit/spml_ikrit.c if (MXM_OK != req.base.error) { req 1067 oshmem/mca/spml/ikrit/spml_ikrit.c req.completion.sender_tag, (int)req.completion.actual_len); req 1078 oshmem/mca/spml/ikrit/spml_ikrit.c mxm_send_req_t req; req 1084 oshmem/mca/spml/ikrit/spml_ikrit.c req.opcode = MXM_REQ_OP_SEND; req 1086 oshmem/mca/spml/ikrit/spml_ikrit.c req.op.send.tag = oshmem_my_proc_id(); req 1088 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.state = MXM_REQ_NEW; req 1089 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.mq = mca_spml_ikrit.mxm_mq; req 1090 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.conn = mca_spml_ikrit.mxm_peers[dst].mxm_conn; req 1091 oshmem/mca/spml/ikrit/spml_ikrit.c req.flags = MXM_REQ_SEND_FLAG_BLOCKING; req 1092 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.completed_cb = NULL; req 1094 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data_type = MXM_REQ_DATA_BUFFER; req 1095 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data.buffer.ptr = buf == NULL ? dummy_buf : buf; req 1096 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data.buffer.length = size == 0 ? sizeof(dummy_buf) : size; req 1097 oshmem/mca/spml/ikrit/spml_ikrit.c req.base.data.buffer.memh = NULL; req 1099 oshmem/mca/spml/ikrit/spml_ikrit.c SPML_IKRIT_MXM_POST_SEND(req); req 1101 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_irkit_req_wait(&req.base); req 1102 oshmem/mca/spml/ikrit/spml_ikrit.c if (req.base.error != MXM_OK) { req 43 oshmem/request/request.c static void oshmem_request_construct(oshmem_request_t* req) req 47 oshmem/request/request.c req->req_state = OSHMEM_REQUEST_INVALID; req 48 oshmem/request/request.c req->req_complete = false; req 49 oshmem/request/request.c req->req_persistent = false; req 50 oshmem/request/request.c req->req_free = NULL; req 51 oshmem/request/request.c req->req_cancel = NULL; req 52 oshmem/request/request.c req->req_complete_cb = NULL; req 53 oshmem/request/request.c req->req_complete_cb_data = NULL; req 54 oshmem/request/request.c req->req_f_to_c_index = SHMEM_UNDEFINED; req 55 oshmem/request/request.c req->req_shmem_object.comm = (oshmem_group_t*) NULL; /* TODO: Implement*/ req 58 oshmem/request/request.c static void oshmem_request_destruct(oshmem_request_t* req) req 60 oshmem/request/request.c assert( SHMEM_UNDEFINED == req->req_f_to_c_index); req 61 oshmem/request/request.c assert( OSHMEM_REQUEST_INVALID == req->req_state); req 396 oshmem/request/request.h static inline void oshmem_request_wait_completion(oshmem_request_t *req) req 398 oshmem/request/request.h if (false == req->req_complete) { req 400 oshmem/request/request.h if(opal_progress_spin(&req->req_complete)) { req 406 oshmem/request/request.h while (false == req->req_complete) { req 196 test/datatype/to_self.c MPI_Request req; req 209 test/datatype/to_self.c MPI_Isend( sbuf, scount, sdt, myself, tag, MPI_COMM_WORLD, &req ); req 211 test/datatype/to_self.c MPI_Wait( &req, &status ); req 214 test/datatype/to_self.c ftmpi_mpi_isend( sbuf, scount, sdt, myself, tag, MPI_COMM_WORLD, &req ); req 216 test/datatype/to_self.c ftmpi_request_free( &req ); req 229 test/datatype/to_self.c MPI_Request req; req 243 test/datatype/to_self.c MPI_Irecv( rbuf, rcount, rdt, myself, tag, MPI_COMM_WORLD, &req ); req 245 test/datatype/to_self.c MPI_Wait( &req, &status ); req 248 test/datatype/to_self.c ftmpi_mpi_irecv( rbuf, rcount, rdt, myself, tag, MPI_COMM_WORLD, &req ); req 250 test/datatype/to_self.c ftmpi_request_free( &req );