Home
last modified time | relevance | path

Searched refs:p_list_mad (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_rmpp_ctx.c237 void *p_list_mad; in osmv_rmpp_recv_ctx_store_mad_seg() local
242 p_list_mad = malloc(MAD_BLOCK_SIZE); in osmv_rmpp_recv_ctx_store_mad_seg()
243 if (NULL == p_list_mad) { in osmv_rmpp_recv_ctx_store_mad_seg()
246 memset(p_list_mad, 0, MAD_BLOCK_SIZE); in osmv_rmpp_recv_ctx_store_mad_seg()
247 memcpy(p_list_mad, p_mad, MAD_BLOCK_SIZE); in osmv_rmpp_recv_ctx_store_mad_seg()
251 free(p_list_mad); in osmv_rmpp_recv_ctx_store_mad_seg()
255 cl_qlist_set_obj(p_obj, p_list_mad); in osmv_rmpp_recv_ctx_store_mad_seg()
284 void *p_list_mad; in osmv_rmpp_recv_ctx_get_byte_num_from_first() local
289 p_list_mad = cl_qlist_obj(p_obj); in osmv_rmpp_recv_ctx_get_byte_num_from_first()
292 num_bytes = cl_ntoh32(((ib_rmpp_mad_t *) p_list_mad)->paylen_newwin); in osmv_rmpp_recv_ctx_get_byte_num_from_first()
[all …]