\r
if( p_umv_buf )\r
{\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_zalloc( sizeof(struct ibv_get_context_resp) );\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf =\r
- (ULONG_PTR)cl_zalloc( sizeof(struct ibv_get_context_resp) );\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto end;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto end;\r
}\r
p_umv_buf->input_size = 0;\r
p_umv_buf->output_size = sizeof(struct ibv_get_context_resp);\r
\r
CL_ASSERT(context && p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc( sizeof(struct ibv_alloc_pd_resp) );\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc( sizeof(struct ibv_alloc_pd_resp) );\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto end;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto end;\r
}\r
p_umv_buf->input_size = 0;\r
p_umv_buf->output_size = sizeof(struct ibv_alloc_pd_resp);\r
\r
CL_ASSERT(h_uvp_ca && p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc( size );\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc( size );\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_umv_buf;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_umv_buf;\r
}\r
p_umv_buf->input_size = sizeof(struct ibv_create_cq);\r
p_umv_buf->output_size = sizeof(struct ibv_create_cq_resp);\r
\r
CL_ASSERT(p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc( size ); \r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc( size ); \r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_memory;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_memory;\r
}\r
p_umv_buf->input_size = sizeof(struct ibv_create_srq);\r
p_umv_buf->output_size = sizeof(struct ibv_create_srq_resp);\r
\r
CL_ASSERT(p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc(size);\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc(size);\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_memory;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_memory;\r
}\r
p_umv_buf->input_size = sizeof(struct ibv_create_qp);\r
p_umv_buf->output_size = sizeof(struct ibv_create_qp_resp);\r
\r
CL_ASSERT(p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc(sizeof(struct ibv_modify_qp_resp));\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = (ULONG_PTR)cl_malloc(sizeof(struct ibv_modify_qp_resp));\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_memory;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_memory;\r
}\r
p_umv_buf->input_size = 0;\r
p_umv_buf->output_size = sizeof(struct ibv_modify_qp_resp);\r
\r
CL_ASSERT(p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = cl_malloc( size ); \r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = cl_malloc( size ); \r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_memory;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_memory;\r
}\r
p_umv_buf->input_size = sizeof(struct ibv_create_srq);\r
p_umv_buf->output_size = sizeof(struct ibv_create_srq_resp);\r
\r
CL_ASSERT(h_uvp_ca && p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = cl_malloc( size );\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = cl_malloc( size );\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_umv_buf;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_umv_buf;\r
}\r
p_umv_buf->input_size = sizeof(struct ibv_open_xrc_domain);\r
p_umv_buf->output_size = sizeof(struct ibv_open_xrc_domain_resp);\r
\r
CL_ASSERT(p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_zalloc( size );\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf = (ULONG_PTR)cl_zalloc( size );\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_memory;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_memory;\r
}\r
p_umv_buf->input_size = sizeof(struct ibv_create_qp);\r
p_umv_buf->output_size = sizeof(struct ibv_create_qp_resp);\r
\r
CL_ASSERT(p_umv_buf);\r
\r
+ p_umv_buf->p_inout_buf = (ULONG_PTR)cl_zalloc( sizeof(struct ibv_modify_qp_resp) );\r
if( !p_umv_buf->p_inout_buf )\r
{\r
- p_umv_buf->p_inout_buf =\r
- (ULONG_PTR)cl_zalloc( sizeof(struct ibv_modify_qp_resp) );\r
- if( !p_umv_buf->p_inout_buf )\r
- {\r
- status = IB_INSUFFICIENT_MEMORY;\r
- goto err_memory;\r
- }\r
+ status = IB_INSUFFICIENT_MEMORY;\r
+ goto err_memory;\r
}\r
p_umv_buf->input_size = 0;\r
p_umv_buf->output_size = sizeof(struct ibv_modify_qp_resp);\r