Searched refs:umad_size (Results 1 - 10 of 10) sorted by relevance

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

Completed in 145 milliseconds