Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_anafa.c380 uint32_t act_mad_size; in osm_vendor_get() local
388 act_mad_size = MAD_BLOCK_SIZE; in osm_vendor_get()
390 act_mad_size = mad_size; in osm_vendor_get()
394 p_mad = (ib_mad_t *) malloc(act_mad_size); in osm_vendor_get()
402 memset(p_mad, 0, act_mad_size); in osm_vendor_get()
407 "Allocated MAD %p, size = %u.\n", p_mad, act_mad_size); in osm_vendor_get()
H A Dosm_vendor_mlx.c366 uint32_t act_mad_size; in osm_vendor_get() local
374 act_mad_size = MAD_BLOCK_SIZE; in osm_vendor_get()
376 act_mad_size = mad_size; in osm_vendor_get()
380 p_mad = (ib_mad_t *) malloc(act_mad_size); in osm_vendor_get()
388 memset(p_mad, 0, act_mad_size); in osm_vendor_get()
393 "Allocated MAD %p, size = %u.\n", p_mad, act_mad_size); in osm_vendor_get()