Home
last modified time | relevance | path

Searched refs:m0 (Results 1 – 25 of 65) sorted by relevance

123

/original-bsd/sys/sparc/fpu/
H A Dfpu_subr.c49 m0 = fp->fp_mant[0]; in fpu_shr()
77 m3 = m0, m2 = 0, m1 = 0, m0 = 0; in fpu_shr()
80 m3 = m1, m2 = m0, m1 = 0, m0 = 0; in fpu_shr()
83 m3 = m2, m2 = m1, m1 = m0, m0 = 0; in fpu_shr()
93 m0 >>= rsh; in fpu_shr()
95 fp->fp_mant[0] = m0; in fpu_shr()
119 m0 = fp->fp_mant[0]; in fpu_norm()
125 if (m0 == 0) { in fpu_norm()
141 if (m0 >= sup) { in fpu_norm()
153 m0 = top; in fpu_norm()
[all …]
H A Dfpu_implode.c50 register u_int m0, m1, m2, m3; in round() local
53 m0 = fp->fp_mant[0]; in round()
63 m1 = (m1 >> FP_NG) | (m0 << (32 - FP_NG)); in round()
64 m0 >>= FP_NG; in round()
109 FPU_ADDC(m0, m0, 0); in round()
112 m0++; in round()
114 fp->fp_mant[0] = m0; in round()
121 fp->fp_mant[0] = m0; in round()
/original-bsd/sys/deprecated/bbnnet/
H A Draw_input.c163 struct mbuf *m0; in m_bpullup()
169 n = m0;
217 struct mbuf *m0; variable
234 m_freem(m0);
276 struct mbuf *m0; variable
289 m_freem(m0);
301 m_freem(m0);
375 struct mbuf *m0; variable
386 m_freem(m0);
420 while (m0)
[all …]
H A Dhmp.c57 hmp_input(m0)
58 struct mbuf *m0; variable
71 m = m0;
171 hmp_output(inp, m0) in hmp_output() argument
173 struct mbuf *m0;
186 m = m0;
192 for(m=m0,len=0; m != (struct mbuf *)0; m = m->m_next)
197 m = m0;
205 m->m_next = m0;
/original-bsd/sys/kern/
H A Duipc_socket2.c477 if (m0 == 0)
486 sballoc(sb, m0);
491 m = m0->m_next;
492 m0->m_next = 0;
513 if (m0 == 0)
534 *mp = m0;
535 m = m0->m_next;
536 m0->m_next = 0;
559 if (m0 && (m0->m_flags & M_PKTHDR) == 0)
561 if (m0)
[all …]
/original-bsd/sys/netns/
H A Dns_output.c33 ns_output(m0, ro, flags)
34 struct mbuf *m0; variable
38 register struct idp *idp = mtod(m0, struct idp *);
49 ns_lastout = m_copy(m0, 0, (int)M_COPYALL);
115 ns_watch_output(m0, ifp);
117 error = (*ifp->if_output)(ifp, m0,
125 ns_watch_output(m0, ifp);
127 m_freem(m0);
H A Dns_ip.c236 struct mbuf *m0 = m_gethdr(MT_HEADER, M_DONTWAIT); variable
237 if (m0 == 0) {
241 MH_ALIGN(m0, sizeof (struct ip));
242 m0->m_flags = m->m_flags & M_COPYFLAGS;
243 m0->m_next = m;
244 m0->m_len = sizeof (struct ip);
245 m0->m_pkthdr.len = m0->m_len + m->m_len;
H A Dns_input.c435 struct mbuf *m0 = m_copy(m, 0, (int)M_COPYALL); variable
436 if (m0) {
439 M_PREPEND(m0, sizeof (*idp), M_DONTWAIT);
440 if (m0 == NULL)
442 idp = mtod(m0, struct idp *);
453 idp->idp_len = ntohl(m0->m_pkthdr.len);
454 idp_input(m0, nsp);
/original-bsd/sys/netiso/
H A Dtp_cons.c218 tpcons_output(isop, m0, datalen, nochksum) in tpcons_output() argument
220 struct mbuf *m0;
224 register struct mbuf *m = m0;
230 isop, m0, datalen, isop->isop_socket);
238 m->m_next = m0;
274 tpcons_dg_output(chan, m0, datalen) in tpcons_dg_output() argument
276 struct mbuf *m0;
279 return tpcons_output(((struct pklcd *)chan)->lcd_upnext, m0, datalen, 0);
H A Dclnp_er.c218 struct mbuf *m0; /* contains er pdu hdr */ variable
288 MGET(m0, M_DONTWAIT, MT_HEADER);
289 if (m0 == 0)
292 m0->m_next = m;
293 er = mtod(m0, struct clnp_fixed *);
314 er->cnf_hdr_len = m0->m_len = (u_char)(hoff - (caddr_t)er);
315 total_len = m0->m_len + m->m_len;
319 iso_gen_csum(m0, CLNP_CKSUM_OFF, (int)er->cnf_hdr_len);
323 m_adj(m0, -(total_len - ifp->if_mtu));
327 (void) (*ifp->if_output)(ifp, m0, first_hop, route.ro_rt);
H A Desis.c219 esis_input(m0, shp)
242 esis_eshinput(m0, shp);
246 esis_ishinput(m0, shp);
250 esis_rdinput(m0, shp);
259 isis_input(m0, shp);
261 m_freem(m0);
284 struct mbuf *m, *m0; variable
625 esis_rdinput(m0, shp)
778 struct mbuf *m, *m0; variable
912 isis_input(m0, shp)
[all …]
H A Dif_lpb.c299 struct mbuf *m0; local
302 MGET(m0, M_DONTWAIT, MT_LPB_ACK); /* sets type, next, off */
303 if (m0 == NULL) {
308 m0->m_len = sizeof(struct eicon_request);
310 ack = mtod(m0, struct eicon_request *);
320 m_freem(m0);
331 printf("ACK 0x%x --> X25INTRQ\n", m0);
333 IF_ENQUEUE(&consintrq, m0);
H A Dtp_iso.c340 tpclnp_output(isop, m0, datalen, nochksum) in tpclnp_output() argument
342 struct mbuf *m0;
346 register struct mbuf *m = m0;
350 struct tpdu *hdr = mtod(m0, struct tpdu *);
359 dump_mbuf(m0, "at tpclnp_output");
363 clnp_output(m0, isop, datalen, /* flags */nochksum ? CLNP_NO_CKSUM : 0);
379 tpclnp_output_dg(laddr, faddr, m0, datalen, ro, nochksum) in tpclnp_output_dg() argument
381 struct mbuf *m0;
389 register struct mbuf *m = m0;
392 printf("tpclnp_output_dg datalen 0x%x m0 0x%x\n", datalen, m0);
[all …]
H A Dcltp_usrreq.c45 cltp_input(m0, srcsa, dstsa, cons_channel, output)
46 struct mbuf *m0; variable
52 register struct mbuf *m = m0;
87 if (iso_check_csum(m0, len)) {
110 m = m0;
118 m0 = 0;
122 if (m0)
123 m_freem(m0);
H A Dclnp_output.c152 clnp_output(m0, isop, datalen, flags)
153 struct mbuf *m0; /* data for the packet */ variable
159 register struct mbuf *m = m0; /* mbuf for clnp header chain */
232 m->m_next = m0; /* ASSUMES pkt hdr is 1 mbuf long */
308 m_freem(m0);
321 m_freem(m0);
332 m_freem(m0);
342 m_freem(m0);
347 m->m_next = m0;
H A Dtuba_subr.c262 struct mbuf *m0 = m; local
266 m = m0;
269 m->m_next = m0;
271 m->m_pkthdr = m0->m_pkthdr;
272 m->m_flags = m0->m_flags & M_COPYFLAGS;
280 bcopy(mtod(m0, caddr_t) + sizeof(struct ip),
283 m0->m_len -= sizeof(struct tcpiphdr);
284 m0->m_data += sizeof(struct tcpiphdr);
H A Dclnp_raw.c105 rclnp_output(m0, so)
106 struct mbuf *m0; /* packet to send */ variable
115 if (0 == (m0->m_flags & M_PKTHDR))
124 m_freem(m0);
138 error = clnp_output(m0, &rp->risop_isop, m0->m_pkthdr.len,
H A Dtp_inet.c338 tpip_output(inp, m0, datalen, nochksum) in tpip_output() argument
340 struct mbuf *m0;
344 return tpip_output_dg( &inp->inp_laddr, &inp->inp_faddr, m0, datalen,
368 tpip_output_dg(laddr, faddr, m0, datalen, ro, nochksum) in tpip_output_dg() argument
370 struct mbuf *m0;
380 printf("tpip_output_dg datalen 0x%x m0 0x%x\n", datalen, m0);
389 m->m_next = m0;
/original-bsd/sbin/mount/
H A Dgetmntopts.c26 getmntopts(options, m0, flagp, altflagp) in getmntopts() argument
28 const struct mntopt *m0;
58 for (m = m0; m->m_option != NULL; ++m)
/original-bsd/sys/net/
H A Dif_loop.c99 struct mbuf m0; local
102 m0.m_next = m;
103 m0.m_len = 4;
104 m0.m_data = (char *)&af;
106 bpf_mtap(loif.if_bpf, &m0);
H A Dbpf_filter.c67 register struct mbuf *m0; local
82 m0 = m->m_next;
83 if (m0 == 0 || m0->m_len + len - k < 4)
86 np = mtod(m0, u_char *);
112 register struct mbuf *m0; local
127 m0 = m->m_next;
128 if (m0 == 0)
131 return (cp[k] << 8) | mtod(m0, u_char *)[0];
/original-bsd/sys/tahoe/if/
H A Dif_vba.c145 if_vbaput(ifu, m0, flags) in if_vbaput() argument
147 struct mbuf *m0;
149 register struct mbuf *m = m0;
158 MFREE(m, m0);
159 m = m0;
/original-bsd/sys/netccitt/
H A Dhd_output.c40 hd_output (hdp, m0) in hd_output() argument
42 struct mbuf *m0;
45 register struct mbuf *m = m0;
69 m = m0;
H A Dif_x25subr.c218 x25_dgram_incoming(lcp, m0) in x25_dgram_incoming() argument
220 struct mbuf *m0;
223 register struct mbuf *m = m0->m_next; /* m0 has calling sockaddr_x25 */
252 x25_ifoutput(ifp, m0, dst, rt)
254 struct mbuf *m0; variable
258 register struct mbuf *m = m0;
266 m = m0;
296 m->m_next = m0;
693 pk_rtattach(so, m0) in pk_rtattach() argument
695 struct mbuf *m0;
[all …]
/original-bsd/sys/vax/if/
H A Dif_en.c507 oldenoutput(ifp, m0, dst)
509 struct mbuf *m0; variable
513 register struct mbuf *m = m0;
598 m->m_next = m0;
599 m = m0->m_next;
600 m0->m_next = 0;
601 m0 = m;
635 m0 = m;
638 m_freem(m0);

123