Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c125 struct mbuf *mhead = 0; in smb_mbuf_get() local
134 if (mhead == 0) { in smb_mbuf_get()
135 MGET(mhead, M_WAIT, MT_DATA); in smb_mbuf_get()
136 m = mhead; in smb_mbuf_get()
150 return (mhead); in smb_mbuf_get()
160 struct mbuf *mhead = 0; in smb_mbuf_allocate() local
172 if (mhead == 0) { in smb_mbuf_allocate()
173 MGET(mhead, M_WAIT, MT_DATA); in smb_mbuf_allocate()
174 m = mhead; in smb_mbuf_allocate()
191 return (mhead); in smb_mbuf_allocate()
[all …]
/titanic_41/usr/src/cmd/ipcs/
H A Dipcs.c466 struct msgsnap_mhead *mhead; in dumpmsgq() local
497 mhead = (struct msgsnap_mhead *)(buf + 1); in dumpmsgq()
499 size_t mlen = mhead->msgsnap_mlen; in dumpmsgq()
501 dumpmsg(mhead->msgsnap_mtype, (char *)(mhead + 1), mlen); in dumpmsgq()
505 mhead = (struct msgsnap_mhead *) in dumpmsgq()
506 ((caddr_t)(mhead + 1) + SZROUND(mlen)); in dumpmsgq()
/titanic_41/usr/src/cmd/fs.d/
H A Dfslib.c169 mntlist_t *mhead, *mtail; in fsmkmntlist() local
172 mhead = mtail = NULL; in fsmkmntlist()
185 if (mhead == NULL) in fsmkmntlist()
186 mhead = mp; in fsmkmntlist()
195 return (mhead); in fsmkmntlist()
198 fsfreemntlist(mhead); in fsmkmntlist()
/titanic_41/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()
/titanic_41/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h708 void smb_mbuf_trim(struct mbuf *mhead, int nbytes);