Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libibumad/
H A Dumad.c730 size_t umad_size(void) in umad_size() function
819 n = write(fd, mad, length + umad_size()); in umad_send()
820 if (n == length + umad_size()) in umad_send()
824 n, umad_size(), length); in umad_send()
866 n = read(fd, umad, umad_size() + *length); in umad_recv()
868 VALGRIND_MAKE_MEM_DEFINED(umad, umad_size() + *length); in umad_recv()
870 if ((n >= 0) && (n <= umad_size() + *length)) { in umad_recv()
872 if (n > umad_size()) in umad_recv()
873 *length = n - umad_size(); in umad_recv()
886 mad->length - umad_size(), umad_size(), *length); in umad_recv()
[all …]
H A Dlibibumad.map16 umad_size;
H A Dumad.h203 size_t umad_size(void);
/freebsd/contrib/ofed/libibmad/
H A Dserv.c63 memset(pktbuf, 0, umad_size() + IB_MAD_SIZE); in mad_send_via()
182 void *mad = umad ? umad : umad_alloc(1, umad_size() + IB_MAD_SIZE); in mad_receive_via()
199 return umad_alloc(1, umad_size() + IB_MAD_SIZE); in mad_alloc()
H A Drpc.c137 IBWARN(">>> sending: len %d pktsz %zu", len, umad_size() + len); in _do_madrpc()
138 xdump(stderr, "send buf\n", sndbuf, umad_size() + len); in _do_madrpc()
233 memset(sndbuf, 0, umad_size() + IB_MAD_SIZE); in mad_rpc()
294 memset(sndbuf, 0, umad_size() + IB_MAD_SIZE); in mad_rpc_rmpp()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibdiag_sa.c115 umad = calloc(1, len + umad_size()); in sa_query()
147 umad = realloc(umad, umad_size() + len); in sa_query()
183 free((uint8_t *) result->p_result_madw - umad_size()); in sa_free_result_mad()
H A Dmcm_rereg_test.c152 int len = umad_size() + 256; in rereg_send_all()
210 int len = umad_size() + 256; in rereg_recv_all()
267 int len = umad_size() + 256; in rereg_query_all()
380 len = umad_size() + 256; in main()
H A Dibsysstat.c200 sizeof(buf) - umad_size() - in ibsystat_serv()
253 len = sizeof(buf) - umad_size(); in ibsystat()
H A Dsmpdump.c277 if (!(umad = umad_alloc(1, umad_size() + IB_MAD_SIZE))) in main()
/freebsd/contrib/ofed/libibnetdisc/
H A Dquery_smp.c79 memset(umad, 0, umad_size() + IB_MAD_SIZE); in send_smp()
168 int length = umad_size() + IB_MAD_SIZE; in process_one_recv()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad.c337 !(umad = umad_alloc(1, umad_size() + MAD_BLOCK_SIZE))) { in umad_receiver()
353 umad = umad_alloc(1, umad_size() + length); in umad_receiver()
1065 p_vw->umad = umad_alloc(1, mad_size + umad_size()); in osm_vendor_get()