Home
last modified time | relevance | path

Searched refs:mhead (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c146 struct mbuf *mhead = 0; in smb_mbuf_get() local
155 if (mhead == 0) { in smb_mbuf_get()
156 MGET(mhead, M_WAIT, MT_DATA); in smb_mbuf_get()
157 m = mhead; in smb_mbuf_get()
171 return (mhead); in smb_mbuf_get()
247 struct mbuf *mhead = NULL; in smb_mbuf_alloc_chain() local
258 m->m_next = mhead; in smb_mbuf_alloc_chain()
259 mhead = m; in smb_mbuf_alloc_chain()
269 m->m_next = mhead; in smb_mbuf_alloc_chain()
270 mhead = m; in smb_mbuf_alloc_chain()
[all …]
H A Dsmb_net.c139 mbuf_t *mhead = NULL; in smb_net_recv_mbufs() local
147 mhead = smb_mbuf_alloc_chain(len); in smb_net_recv_mbufs()
153 rc = smb_mbuf_mkuio(mhead, &uio); in smb_net_recv_mbufs()
168 *mpp = mhead; in smb_net_recv_mbufs()
172 m_freem(mhead); in smb_net_recv_mbufs()
H A Dsmb_session.c379 mbuf_t *mhead = NULL; in smb_request_recv() local
382 rc = smb_net_recv_mbufs(sr->session, &mhead, len); in smb_request_recv()
389 MBC_ATTACH_MBUF(&sr->command, mhead); in smb_request_recv()
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c463 struct msgsnap_mhead *mhead; in dumpmsgq() local
494 mhead = (struct msgsnap_mhead *)(buf + 1); in dumpmsgq()
496 size_t mlen = mhead->msgsnap_mlen; in dumpmsgq()
498 dumpmsg(mhead->msgsnap_mtype, (char *)(mhead + 1), mlen); in dumpmsgq()
502 mhead = (struct msgsnap_mhead *) in dumpmsgq()
503 ((caddr_t)(mhead + 1) + SZROUND(mlen)); in dumpmsgq()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c167 mntlist_t *mhead, *mtail; in fsmkmntlist() local
170 mhead = mtail = NULL; in fsmkmntlist()
183 if (mhead == NULL) in fsmkmntlist()
184 mhead = mp; in fsmkmntlist()
193 return (mhead); in fsmkmntlist()
196 fsfreemntlist(mhead); in fsmkmntlist()
/illumos-gate/usr/src/uts/common/os/
H A Dmsg.c979 STRUCT_DECL(msgsnap_mhead, mhead); in msgsnap()
982 STRUCT_INIT(mhead, mdl); in msgsnap()
1014 size += STRUCT_SIZE(head) + nmsg * STRUCT_SIZE(mhead); in msgsnap()
1054 STRUCT_FSET(mhead, msgsnap_mlen, mp->msg_size); in msgsnap()
1055 STRUCT_FSET(mhead, msgsnap_mtype, mp->msg_type); in msgsnap()
1056 if (copyout(STRUCT_BUF(mhead), buf, STRUCT_SIZE(mhead))) in msgsnap()
1058 buf += STRUCT_SIZE(mhead); in msgsnap()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h807 void smb_mbuf_trim(struct mbuf *mhead, int nbytes);