Searched refs:m0 (Results 1 - 25 of 71) sorted by last modified time

123

/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dsocketvar.h671 struct mbuf *m0, struct mbuf *control, int *error_out);
672 extern int sbappendrecord(struct sockbuf *sb, struct mbuf *m0);
721 extern int sbappendcontrol(struct sockbuf *sb, struct mbuf *m0,
740 extern int sbinsertoob(struct sockbuf *sb, struct mbuf *m0);
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Din_arp.c1719 struct mbuf *m0 = llinfo->la_hold; local
1722 dlil_output(ifp, PF_INET, m0, (caddr_t)route,
H A Dip_output.c226 ip_output(struct mbuf *m0, struct mbuf *opt, struct route *ro, int flags, argument
229 return (ip_output_list(m0, 0, opt, ro, flags, imo, ipoa));
246 ip_output_list(struct mbuf *m0, int packetchain, struct mbuf *opt, argument
252 struct mbuf *m = m0, *prevnxt = NULL, **mppn = &prevnxt;
331 VERIFY(m0->m_flags & M_PKTHDR);
332 packetlist = m0;
339 if (SLIST_EMPTY(&m0->m_pkthdr.tags))
344 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID,
365 m_tag_delete(m0, tag);
370 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_I
1919 struct mbuf **mnext = &m->m_nextpkt, *m0; local
[all...]
H A Dip_fw2.c3966 struct mbuf *m0, *m, *mnext, **mtailp; local
3990 m0 = NULL;
3991 mtailp = &m0;
4019 for (m = mnext = m0; m != NULL; m = mnext) {
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Duipc_mbuf.c4654 m_copym_with_hdrs(struct mbuf *m0, int off0, int len0, int wait, argument
4657 struct mbuf *m = m0, *n, **np = NULL;
5042 m_split(struct mbuf *m0, int len0, int wait) argument
5044 return (m_split0(m0, len0, wait, 1));
5048 m_split0(struct mbuf *m0, int len0, int wait, int copyhdr) argument
5053 for (m = m0; m && len > m->m_len; m = m->m_next)
5058 if (copyhdr && (m0->m_flags & M_PKTHDR)) {
5059 _MGETHDR(n, wait, m0->m_type);
5062 n->m_pkthdr.rcvif = m0->m_pkthdr.rcvif;
5063 n->m_pkthdr.len = m0
5310 struct mbuf *m0; local
5328 m_copyback(struct mbuf *m0, int off, int len, const void *cp) argument
5351 m_copyback_cow(struct mbuf *m0, int off, int len, const void *cp, int how) argument
5823 m_append(struct mbuf *m0, int len, caddr_t cp) argument
5871 m_fixhdr(struct mbuf *m0) argument
5883 m_length2(struct mbuf *m0, struct mbuf **last) argument
5915 m_defrag_offset(struct mbuf *m0, u_int32_t off, int how) argument
5984 m_defrag(struct mbuf *m0, int how) argument
[all...]
H A Duipc_socket2.c912 sbappendrecord(struct sockbuf *sb, struct mbuf *m0) argument
917 if (m0 == NULL || (sb->sb_flags & SB_DROP)) {
918 if (m0 != NULL)
919 m_freem(m0);
923 for (m = m0; m != NULL; m = m->m_next)
927 m_freem(m0);
931 if (sb->sb_flags & SB_RECV && !(m0 && m0->m_flags & M_SKIPCFIL)) {
932 int error = sflt_data_in(sb->sb_so, NULL, &m0, NULL,
937 error = cfil_sock_data_in(sb->sb_so, NULL, m0, NUL
980 sbinsertoob(struct sockbuf *sb, struct mbuf *m0) argument
1058 sbappendaddr_internal(struct sockbuf *sb, struct sockaddr *asa, struct mbuf *m0, struct mbuf *control) argument
1120 sbappendaddr(struct sockbuf *sb, struct sockaddr *asa, struct mbuf *m0, struct mbuf *control, int *error_out) argument
1182 sbappendcontrol_internal(struct sockbuf *sb, struct mbuf *m0, struct mbuf *control) argument
1225 sbappendcontrol(struct sockbuf *sb, struct mbuf *m0, struct mbuf *control, int *error_out) argument
[all...]
H A Duipc_usrreq.c2286 unp_scan(struct mbuf *m0, void (*op)(struct fileglob *)) argument
2294 while (m0) {
2295 for (m = m0; m; m = m->m_next)
2309 m0 = m0->m_act;
H A Duipc_syscalls.c3018 mbuf_t m0 = NULL, m; local
3073 alloc_sendpkt(M_WAIT, xfsize, &nbufs, &m0, jumbocl);
3074 pktlen = mbuf_pkthdr_maxlen(m0);
3083 mbuf_freem(m0);
3089 for (i = 0, m = m0, uiolen = 0;
3117 mbuf_freem(m0);
3133 for (i = 0, m = m0, rlen = 0;
3144 mbuf_pkthdr_setlen(m0, xfsize);
3165 m_freem(m0);
3176 m_freem(m0);
[all...]
H A Duipc_socket.c2763 struct mbuf *m0 = m; local
2778 m = m0;
2819 for (m = m0; m->m_next != NULL; m = m->m_next)
2823 so->so_rcv.sb_lastrecord = m0;
2826 m = m0;
5246 struct mbuf *m0 = m; local
5257 m_freem(m0);
5280 struct mbuf *m0 = m; local
5292 m_freem(m0);
5306 m_freem(m0);
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dbpf.c2228 struct mbuf *m0; local
2254 for (m0 = m; m0 != 0; m0 = m0->m_next)
2255 pktlen += m0->m_len;
H A Ddlil.c2417 struct mbuf *m0; local
2419 for (m0 = m_head, count = 0; m0; m0 = mbuf_nextpkt(m0))
H A Dif_bridge.c3590 struct mbuf *m0; local
3599 for (; m; m = m0) {
3603 m0 = m->m_nextpkt;
5722 struct mbuf *m0; local
5737 for (m0 = m; m0; m0 = m0->m_nextpkt) {
5740 M_PREPEND(m0, sizeof (struct llc), M_DONTWAIT);
5741 if (m0
[all...]
H A Dcontent_filter.c674 struct mbuf *m0; local
683 for (m0 = m; m0 != NULL; m0 = m0->m_next) {
684 pktlen += m0->m_len;
686 if (m0->m_flags & M_EXT)
687 mbcnt += m0->m_ext.ext_size;
H A Dpf.c2565 struct mbuf *m0; local
2568 m0 = m_copy(m, 0, M_COPYALL);
2569 if (m0 == NULL)
2572 if ((pf_mtag = pf_get_mtag(m0)) == NULL)
2587 pf_mtag->pftag_hdr = mtod(m0, struct ip *);
2594 m0->m_pkthdr.pkt_proto = IPPROTO_ICMP;
2600 m0->m_pkthdr.pkt_proto = IPPROTO_ICMPV6;
2609 icmp_error(m0, type, code, 0, 0);
2614 icmp6_error(m0, type, code, 0);
5142 struct mbuf **m0, struc
5141 pf_test_dummynet(struct pf_rule **rm, int direction, struct pfi_kif *kif, struct mbuf **m0, struct pf_pdesc *pd, struct ip_fw_args *fwa) argument
7690 struct mbuf *m0, *m1; local
7864 struct mbuf *m0; local
8081 pf_test(int dir, struct ifnet *ifp, struct mbuf **m0, struct ether_header *eh, struct ip_fw_args *fwa) argument
8612 pf_test6(int dir, struct ifnet *ifp, struct mbuf **m0, struct ether_header *eh, struct ip_fw_args *fwa) argument
[all...]
/macosx-10.10.1/IOHIDFamily-606.1.7/IOHIDSystem/
H A DIOHIPointing.cpp174 IOFixed64 m0; // m1 == m0 member in struct:IOHIPointing__PASecondaryParameters
2056 secondaryParams.m0 = IOQuarticDerivative(primaryParams.tangent[0], primaryParams.gain);
2057 secondaryParams.b0 = secondaryParams.y0 - secondaryParams.m0 * primaryParams.tangent[0];
2058 secondaryParams.y1 = secondaryParams.m0 * primaryParams.tangent[1] + secondaryParams.b0;
2062 secondaryParams.m0 = IOQuarticDerivative( primaryParams.tangent[1], primaryParams.gain );
2065 secondaryParams.m_root = secondaryParams.m0 * secondaryParams.y1 * 2LL;
2104 ADD_NUMBER_FOR(secondaryParams.m0);
2132 accelerated_speed = secondaryParams.m0 * standardized_speed + secondaryParams.b0;
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dip6_output.c225 ip6_output_list(struct mbuf *m0, int packetlist, struct ip6_pktopts *opt, argument
230 struct mbuf *m = m0, *nextpkt;
268 ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, struct route_in6 *ro, argument
343 VERIFY(m0->m_flags & M_PKTHDR);
349 if (SLIST_EMPTY(&m0->m_pkthdr.tags))
353 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID,
384 m_tag_delete(m0, tag);
390 m = m0;
994 m0 = m = NULL;
1525 m0
1941 ip6_insertfraghdr(struct mbuf *m0, struct mbuf *m, int hlen, struct ip6_frag **frghdrp) argument
[all...]
H A Dnd6.c3193 nd6_output(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0, argument
3196 struct mbuf *m = m0;
3246 error = nd6_output(ifp, origifp, m0,
H A Dicmp6.c2567 icmp6_redirect_output(m0, rt)
2568 struct mbuf *m0;
2574 struct ip6_hdr *sip6; /* m0 as struct ip6_hdr */
2591 if (!m0 || !rt || !(rt->rt_flags & RTF_UP) || !(ifp = rt->rt_ifp))
2607 sip6 = mtod(m0, struct ip6_hdr *);
2761 if (m0->m_flags & M_DECRYPTED)
2780 if (m0->m_pkthdr.len != m0->m_len) {
2781 if (m0->m_next) {
2782 m_freem(m0
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cryptkit/CurveParamDocs/
H A Dschoof.c719 poly m0, poly c0) {
738 ptop(mn, m0); mulmod(c1, m0);
742 mulmod(pbuff, m0);
745 subp(pbuff, m0); fullmod(m0);
750 elladdp(poly n1, poly d1, poly m1, poly c1, poly n2, poly d2, poly m2, poly c2, poly n0, poly d0, poly m0, poly c0) { argument
770 ptop(mn, m0); mulmod(c1, m0);
774 mulmod(pbuff, m0);
718 elldoublep(poly n1, poly d1, poly m1, poly c1, poly n0, poly d0, poly m0, poly c0) argument
[all...]
H A Dschoofs.c698 poly m0, poly c0) {
717 ptop(mn, m0); mulmod(c1, m0);
721 mulmod(pbuff, m0);
724 subp(pbuff, m0); fullmod(m0);
729 elladdp(poly n1, poly d1, poly m1, poly c1, poly n2, poly d2, poly m2, poly c2, poly n0, poly d0, poly m0, poly c0) { argument
749 ptop(mn, m0); mulmod(c1, m0);
753 mulmod(pbuff, m0);
697 elldoublep(poly n1, poly d1, poly m1, poly c1, poly n0, poly d0, poly m0, poly c0) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cryptkit/lib/CurveParamDocs/
H A Dschoof.c719 poly m0, poly c0) {
738 ptop(mn, m0); mulmod(c1, m0);
742 mulmod(pbuff, m0);
745 subp(pbuff, m0); fullmod(m0);
750 elladdp(poly n1, poly d1, poly m1, poly c1, poly n2, poly d2, poly m2, poly c2, poly n0, poly d0, poly m0, poly c0) { argument
770 ptop(mn, m0); mulmod(c1, m0);
774 mulmod(pbuff, m0);
718 elldoublep(poly n1, poly d1, poly m1, poly c1, poly n0, poly d0, poly m0, poly c0) argument
[all...]
H A Dschoofs.c698 poly m0, poly c0) {
717 ptop(mn, m0); mulmod(c1, m0);
721 mulmod(pbuff, m0);
724 subp(pbuff, m0); fullmod(m0);
729 elladdp(poly n1, poly d1, poly m1, poly c1, poly n2, poly d2, poly m2, poly c2, poly n0, poly d0, poly m0, poly c0) { argument
749 ptop(mn, m0); mulmod(c1, m0);
753 mulmod(pbuff, m0);
697 elldoublep(poly n1, poly d1, poly m1, poly c1, poly n0, poly d0, poly m0, poly c0) argument
[all...]
/macosx-10.10.1/ppp-786.1.1/Family/
H A Dppp_if.c96 static errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0,
100 static errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0,
1180 errno_t ppp_if_frameout(ifnet_t ifp, mbuf_t *m0, argument
1192 if (mbuf_prepend(m0, 2, MBUF_DONTWAIT) != 0) {
1209 memcpy(mbuf_data(*m0), &aligned_type, sizeof(aligned_type));
/macosx-10.10.1/smb-759.0/kernel/netsmb/
H A Dsmb_trantcp.c274 mbuf_t m0; local
294 error = nbssn_recv(nbp, &m0, &rplen, &rpcode, &nbp->nbp_timo);
306 if (m0)
307 md_initm(mdp, m0);
338 if (m0)
798 smb_nbst_send(struct smb_vc *vcp, mbuf_t m0) argument
811 if (mbuf_prepend(&m0, 4, MBUF_WAITOK))
813 nb_sethdr(nbp, m0, NB_SSN_MESSAGE, (uint32_t)(m_fixhdr(m0) - 4));
814 error = sock_sendmbuf(nbp->nbp_tso, NULL, (mbuf_t)m0,
[all...]
/macosx-10.10.1/ppp-786.1.1/Drivers/L2TP/L2TP-extension/
H A Dl2tp_rfc.c734 mbuf_t m0; local
738 for (m0 = m; m0 != 0; m0 = mbuf_next(m0))
739 len += mbuf_len(m0);
803 mbuf_t m0; local
808 for (m0 = m; m0 != 0; m0
[all...]

Completed in 357 milliseconds

123