Searched refs:umad_size (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/ofed/libibumad/ |
H A D | umad.c | 730 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 D | libibumad.map | 16 umad_size;
|
H A D | umad.h | 203 size_t umad_size(void);
|
/freebsd/contrib/ofed/libibmad/ |
H A D | serv.c | 63 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 D | rpc.c | 137 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 D | ibdiag_sa.c | 115 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 D | mcm_rereg_test.c | 152 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 D | ibsysstat.c | 200 sizeof(buf) - umad_size() - in ibsystat_serv() 253 len = sizeof(buf) - umad_size(); in ibsystat()
|
H A D | smpdump.c | 277 if (!(umad = umad_alloc(1, umad_size() + IB_MAD_SIZE))) in main()
|
/freebsd/contrib/ofed/libibnetdisc/ |
H A D | query_smp.c | 79 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 D | osm_vendor_ibumad.c | 337 !(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()
|