Lines Matching refs:mbuf
32 * $Id: mbuf.c,v 1.3 2004/12/13 00:25:22 lindak Exp $
57 * mbuf header and the start of the data so we can
62 #define M_BASESIZE (sizeof (struct mbuf) + 8)
67 static int smbfs_m_getm(struct mbuf *, int, struct mbuf **);
71 smbfs_m_get(int len, struct mbuf **mpp)
73 struct mbuf *m;
91 smbfs_m_free(struct mbuf *m)
97 smbfs_m_freem(struct mbuf *m0)
99 struct mbuf *m;
109 smbfs_m_totlen(struct mbuf *m0)
111 struct mbuf *m = m0;
122 smbfs_m_lineup(struct mbuf *m0, struct mbuf **mpp)
124 struct mbuf *nm, *m;
159 struct mbuf *m;
169 smbfs_mb_initm(struct mbdata *mbp, struct mbuf *m)
186 smbfs_m_getm(struct mbuf *top, int len, struct mbuf **mpp)
188 struct mbuf *m, *mp;
226 * allocate new mbuf if not. Advance pointers and increase length of mbuf(s).
232 struct mbuf *m, *mn;
303 struct mbuf *m;
340 * Append another mbuf to the mbuf chain.
343 * This always consumes the passed mbuf.
346 smbfs_mb_put_mbuf(mbchain_t *mbp, struct mbuf *m)
348 struct mbuf *cm = mbp->mb_cur;
429 * Routines for fetching data from an mbuf chain
494 struct mbuf *m = mbp->mb_cur;
552 * Get a string from the mbuf chain,
568 * Get an ASCII (really OEM) string from the mbuf chain
627 * Get a UCS-2LE string from the mbuf chain, and