gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:mtod from t2ex/bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/kern/uipc_mbuf.c - 57.8KB - 1,910 lines
655:                 return (NULL);
656:         memset(mtod(m, void *), 0, MLEN);
657:         return (m);
811: n->m_len = min(n->m_len, m->m_len - off); 812: memcpy(mtod(n, void *), mtod(m, char *) + off, 813: (unsigned)n->m_len);
815: } else 816: memcpy(mtod(n, void *), mtod(m, char *) + off, 817: (unsigned)n->m_len);
860: } else { 861: memcpy(mtod(n, char *), mtod(m, char *), n->m_len); 862: }
878: } else { 879: memcpy(mtod(n, char *), mtod(m, char *), n->m_len); 880: }
914: count = min(m->m_len - off, len); 915: memcpy(cp, mtod(m, char *) + off, count); 916: len -= count;
941: /* splat the data from one into the other */ 942: memcpy(mtod(m, char *) + m->m_len, mtod(n, void *), 943: (u_int)n->m_len);
1065: count = min(min(max(len, max_protohdr), space), n->m_len); 1066: memcpy(mtod(m, char *) + m->m_len, mtod(n, void *), 1067: (unsigned)count);
1115: count = min(min(max(len, max_protohdr), space), n->m_len); 1116: memcpy(mtod(m, char *) + m->m_len, mtod(n, void *), 1117: (unsigned)count);
1201: } else { 1202: memcpy(mtod(n, void *), mtod(m, char *) + len, remain); 1203: }
1270: if (copy) 1271: copy(cp, mtod(m, void *), (size_t)len); 1272: else 1273: memcpy(mtod(m, void *), cp, (size_t)len); 1274: cp += len;
1416: KASSERT(tspace > 0); 1417: memset(mtod(m, char *) + m->m_len, 0, 1418: min(off, tspace));
1438: n->m_len = min(M_TRAILINGSPACE(n), off + len); 1439: memset(mtod(n, char *), 0, min(n->m_len, off)); 1440: m->m_next = n;
1504: if (flags & M_COPYBACK0_PRESERVE) 1505: datap = mtod(n, char *); 1506: else
1542: if (flags & M_COPYBACK0_COPYBACK) { 1543: memcpy(mtod(m, char *) + off, cp, (unsigned)mlen); 1544: cp += mlen;
1609: 1610: rval = (*f)(arg, mtod(m, char *) + off, count); 1611: if (rval)