Rename the allocator function for the TCP device. Now I'm not on the list anymore :)
This commit was SVN r3277.
Этот коммит содержится в:
родитель
0ab1ab374d
Коммит
9b685eee1b
@ -57,7 +57,6 @@ bool mca_ptl_tcp_recv_frag_handler(mca_ptl_tcp_recv_frag_t* frag, int sd)
|
||||
{
|
||||
/* read common header */
|
||||
if(frag->frag_hdr_cnt < sizeof(mca_ptl_base_header_t)) {
|
||||
mca_ptl_tcp_peer_t* ptl_peer;
|
||||
if(mca_ptl_tcp_recv_frag_header(frag, sd, sizeof(mca_ptl_base_header_t)) == false)
|
||||
return false;
|
||||
|
||||
|
@ -63,7 +63,7 @@ static inline void mca_ptl_tcp_recv_frag_init(mca_ptl_tcp_recv_frag_t* frag, str
|
||||
|
||||
bool mca_ptl_tcp_recv_frag_send_ack(mca_ptl_tcp_recv_frag_t* frag);
|
||||
|
||||
extern void* ptl_tcp_memalloc( unsigned int* length );
|
||||
extern void* mca_ptl_tcp_memalloc( unsigned int* length );
|
||||
|
||||
static inline void mca_ptl_tcp_recv_frag_matched(mca_ptl_tcp_recv_frag_t* frag)
|
||||
{
|
||||
@ -84,7 +84,7 @@ static inline void mca_ptl_tcp_recv_frag_matched(mca_ptl_tcp_recv_frag_t* frag)
|
||||
request->req_base.req_count, /* count elements */
|
||||
request->req_base.req_addr, /* users buffer */
|
||||
header->hdr_frag_offset, /* offset in bytes into packed buffer */
|
||||
ptl_tcp_memalloc ); /* not allocating memory */
|
||||
mca_ptl_tcp_memalloc ); /* not allocating memory */
|
||||
|
||||
/* non-contiguous - allocate buffer for receive */
|
||||
if( 1 == ompi_convertor_need_buffers( &frag->frag_recv.frag_base.frag_convertor ) ) {
|
||||
|
@ -44,7 +44,7 @@ static void mca_ptl_tcp_send_frag_destruct(mca_ptl_tcp_send_frag_t* frag)
|
||||
{
|
||||
}
|
||||
|
||||
void* ptl_tcp_memalloc( unsigned int* length )
|
||||
void* mca_ptl_tcp_memalloc( unsigned int* length )
|
||||
{
|
||||
return malloc( *length );
|
||||
}
|
||||
@ -109,7 +109,7 @@ int mca_ptl_tcp_send_frag_init(
|
||||
sendreq->req_count,
|
||||
sendreq->req_addr,
|
||||
offset,
|
||||
ptl_tcp_memalloc );
|
||||
mca_ptl_tcp_memalloc );
|
||||
|
||||
/* if data is contigous convertor will return an offset
|
||||
* into users buffer - otherwise will return an allocated buffer
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user