tlen 590 arch/i386/pci/glxsb.c int len, tlen, xlen;
tlen 649 arch/i386/pci/glxsb.c tlen = crd->crd_len;
tlen 653 arch/i386/pci/glxsb.c while (tlen > 0) {
tlen 654 arch/i386/pci/glxsb.c len = (tlen > GLXSB_MAX_AES_LEN) ? GLXSB_MAX_AES_LEN : tlen;
tlen 684 arch/i386/pci/glxsb.c tlen -= len;
tlen 686 arch/i386/pci/glxsb.c if (tlen <= 0) { /* Ideally, just == 0 */
tlen 702 arch/i386/pci/glxsb.c if (tlen > 0) {
tlen 1802 dev/i2o/iop.c u_int rv, i, nsegs, off, slen, tlen, flg;
tlen 1840 dev/i2o/iop.c tlen = min(eaddr - saddr, slen);
tlen 1841 dev/i2o/iop.c slen -= tlen;
tlen 363 dev/ic/am7990.c register int len, tlen = 0;
tlen 373 dev/ic/am7990.c tlen += len;
tlen 376 dev/ic/am7990.c if (tlen < LEMINSIZE) {
tlen 377 dev/ic/am7990.c (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen);
tlen 378 dev/ic/am7990.c tlen = LEMINSIZE;
tlen 380 dev/ic/am7990.c return (tlen);
tlen 1371 dev/ic/awi.c u_int tlen;
tlen 1384 dev/ic/awi.c tlen = m->m_ext.ext_size;
tlen 1386 dev/ic/awi.c tlen = MHLEN;
tlen 1388 dev/ic/awi.c tlen = MLEN;
tlen 1389 dev/ic/awi.c tlen -= m->m_len;
tlen 1390 dev/ic/awi.c if (tlen > len)
tlen 1391 dev/ic/awi.c tlen = len;
tlen 1392 dev/ic/awi.c awi_read_bytes(sc, off, mtod(m, u_int8_t *) + m->m_len, tlen);
tlen 1393 dev/ic/awi.c off += tlen;
tlen 1394 dev/ic/awi.c len -= tlen;
tlen 2630 dev/ic/midway.c int slot, raw, aal5, llc, vci, fill, mlen, tlen, drqneed, need, needfill, end;
tlen 2717 dev/ic/midway.c tlen = (MID_RBD_CNT(rbd) * MID_ATMDATASZ) + MID_RBD_SIZE;
tlen 2718 dev/ic/midway.c pdu = cur + tlen - MID_PDU_SIZE;
tlen 2722 dev/ic/midway.c fill = tlen - MID_RBD_SIZE - MID_PDU_LEN(pdu);
tlen 2727 dev/ic/midway.c sc->sc_dev.dv_xname, MID_RBD_CNT(rbd), tlen - MID_RBD_SIZE,
tlen 2729 dev/ic/midway.c fill = tlen;
tlen 2731 dev/ic/midway.c mlen = tlen - fill;
tlen 2838 dev/ic/midway.c tlen = roundup(tmp->m_len, sizeof(u_int32_t)); /* m_len set by en_mget */
tlen 2843 dev/ic/midway.c sc->sc_dev.dv_xname, slot, tmp, tmp->m_len, tmp->m_data, tlen);
tlen 2847 dev/ic/midway.c if (EN_NORXDMA || !en_dma || tlen < EN_MINDMA) {
tlen 2848 dev/ic/midway.c datastop = (u_int32_t *)((u_char *) data + tlen);
tlen 2855 dev/ic/midway.c need -= tlen;
tlen 2858 dev/ic/midway.c sc->sc_dev.dv_xname, slot, vci, tlen, need);
tlen 2879 dev/ic/midway.c need -= tlen;
tlen 2880 dev/ic/midway.c EN_WRAPADD(start, stop, cur, tlen);
tlen 2883 dev/ic/midway.c sc->sc_dev.dv_xname, slot, vci, tlen, need);
tlen 2886 dev/ic/midway.c EN_DRQADD(sc, tlen, vci, 0, vtophys(data), mlen, slot, end);
tlen 2905 dev/ic/midway.c if (cnt > tlen) {
tlen 2906 dev/ic/midway.c cnt = tlen;
tlen 2920 dev/ic/midway.c tlen -= cnt;
tlen 2929 dev/ic/midway.c if (tlen >= sc->bestburstlen) {
tlen 2930 dev/ic/midway.c count = tlen >> sc->bestburstshift;
tlen 2939 dev/ic/midway.c tlen -= cnt;
tlen 2948 dev/ic/midway.c if (tlen) {
tlen 2949 dev/ic/midway.c count = tlen / sizeof(u_int32_t);
tlen 2951 dev/ic/midway.c count = tlen >> en_dmaplan[count].divshift;
tlen 2952 dev/ic/midway.c need -= tlen;
tlen 2953 dev/ic/midway.c EN_WRAPADD(start, stop, cur, tlen);
tlen 2956 dev/ic/midway.c sc->sc_dev.dv_xname, slot, vci, tlen, need);
tlen 1484 dev/ic/pgt.c int tlen = 0;
tlen 1527 dev/ic/pgt.c tlen += datalen;
tlen 1542 dev/ic/pgt.c top->m_pkthdr.len = tlen;
tlen 308 dev/ic/rln.c int tlen = len + pad;
tlen 321 dev/ic/rln.c cmd.length_lo = htons(4 + tlen) & 0xff;
tlen 322 dev/ic/rln.c cmd.length_hi = (htons(4 + tlen) >> 8) & 0xff;
tlen 335 dev/ic/rln.c if (rln_msg_tx_start(sc, &cmd, sizeof cmd + tlen, &state))
tlen 42 dev/microcode/uyap/build.c ssize_t tlen, rlen;
tlen 55 dev/microcode/uyap/build.c tlen = iov[0].iov_len + iov[1].iov_len + iov[2].iov_len;
tlen 60 dev/microcode/uyap/build.c if (rlen != tlen)
tlen 2266 dev/pci/if_bge.c bus_size_t tlen;
tlen 2288 dev/pci/if_bge.c tlen = (sc->bge_return_ring_cnt - sc->bge_rx_saved_considx) *
tlen 2291 dev/pci/if_bge.c toff, tlen, BUS_DMASYNC_POSTREAD);
tlen 2414 dev/pci/if_bge.c bus_size_t tlen;
tlen 2437 dev/pci/if_bge.c tlen = (BGE_TX_RING_CNT - sc->bge_tx_saved_considx) *
tlen 2440 dev/pci/if_bge.c toff, tlen, BUS_DMASYNC_POSTREAD|BUS_DMASYNC_POSTWRITE);
tlen 3141 dev/pcmcia/if_ray.c int i, j, offw, first, tlen, ni, nj, sp;
tlen 3146 dev/pcmcia/if_ray.c tlen = len;
tlen 3149 dev/pcmcia/if_ray.c } while (tlen /= br);
tlen 465 dev/sbus/be.c int len, tlen = 0, boff = 0;
tlen 478 dev/sbus/be.c tlen += len;
tlen 481 dev/sbus/be.c return (tlen);
tlen 388 dev/sbus/qe.c int len, tlen = 0, boff = 0;
tlen 401 dev/sbus/qe.c tlen += len;
tlen 404 dev/sbus/qe.c return (tlen);
tlen 1562 kern/kern_sysctl.c int i, tlen, l;
tlen 1568 kern/kern_sysctl.c for (dk = TAILQ_FIRST(&disklist), tlen = 0; dk;
tlen 1570 kern/kern_sysctl.c tlen += strlen(dk->dk_name) + 1;
tlen 1571 kern/kern_sysctl.c tlen++;
tlen 1581 kern/kern_sysctl.c disknames = malloc(tlen, M_SYSCTL, M_WAITOK);
tlen 1586 kern/kern_sysctl.c snprintf(disknames + l, tlen - l, "%s,",
tlen 550 kern/sysv_msg.c size_t tlen;
tlen 552 kern/sysv_msg.c tlen = msginfo.msgssz;
tlen 554 kern/sysv_msg.c tlen = msgsz;
tlen 562 kern/sysv_msg.c tlen)) != 0) {
tlen 570 kern/sysv_msg.c msgsz -= tlen;
tlen 571 kern/sysv_msg.c user_msgp += tlen;
tlen 838 kern/sysv_msg.c size_t tlen;
tlen 841 kern/sysv_msg.c tlen = msginfo.msgssz;
tlen 843 kern/sysv_msg.c tlen = msgsz - len;
tlen 851 kern/sysv_msg.c user_msgp, tlen);
tlen 859 kern/sysv_msg.c user_msgp += tlen;
tlen 88 kern/uipc_mbuf2.c int hlen, tlen, olen;
tlen 153 kern/uipc_mbuf2.c tlen = len - hlen;
tlen 171 kern/uipc_mbuf2.c if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen &&
tlen 173 kern/uipc_mbuf2.c m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len);
tlen 174 kern/uipc_mbuf2.c n->m_len += tlen;
tlen 175 kern/uipc_mbuf2.c m_adj(n->m_next, tlen);
tlen 179 kern/uipc_mbuf2.c !sharedcluster && n->m_next->m_len >= tlen) {
tlen 210 kern/uipc_mbuf2.c m_copydata(n->m_next, 0, tlen, mtod(o, caddr_t) + o->m_len);
tlen 211 kern/uipc_mbuf2.c o->m_len += tlen;
tlen 212 kern/uipc_mbuf2.c m_adj(n->m_next, tlen);
tlen 781 net/if_tun.c int error=0, s, tlen, mlen;
tlen 794 net/if_tun.c tlen = uio->uio_resid;
tlen 850 net/if_tun.c top->m_pkthdr.len = tlen;
tlen 1564 net/pf.c int len, tlen;
tlen 1575 net/pf.c tlen = sizeof(struct tcphdr);
tlen 1577 net/pf.c tlen += 4;
tlen 1582 net/pf.c len = sizeof(struct ip) + tlen;
tlen 1587 net/pf.c len = sizeof(struct ip6_hdr) + tlen;
tlen 1621 net/pf.c h->ip_len = htons(tlen);
tlen 1634 net/pf.c h6->ip6_plen = htons(tlen);
tlen 1648 net/pf.c th->th_off = tlen >> 2;
tlen 1702 net/pf.c sizeof(struct ip6_hdr), tlen);
tlen 190 netinet/tcp_input.c tcp_reass(tp, th, m, tlen)
tlen 194 netinet/tcp_input.c int *tlen;
tlen 248 netinet/tcp_input.c if (i >= *tlen) {
tlen 250 netinet/tcp_input.c tcpstat.tcps_rcvdupbyte += *tlen;
tlen 256 netinet/tcp_input.c *tlen -= i;
tlen 261 netinet/tcp_input.c tcpstat.tcps_rcvoobyte += *tlen;
tlen 269 netinet/tcp_input.c int i = (th->th_seq + *tlen) - qhdr->th_seq;
tlen 287 netinet/tcp_input.c th->th_reseqlen = *tlen;
tlen 374 netinet/tcp_input.c int tlen, off;
tlen 469 netinet/tcp_input.c tlen = m->m_pkthdr.len - iphlen;
tlen 493 netinet/tcp_input.c if (in4_cksum(m, IPPROTO_TCP, iphlen, tlen) != 0) {
tlen 538 netinet/tcp_input.c if (in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr), tlen)) {
tlen 551 netinet/tcp_input.c if (off < sizeof(struct tcphdr) || off > tlen) {
tlen 555 netinet/tcp_input.c tlen -= off;
tlen 720 netinet/tcp_input.c th, iphlen, tlen, so, m);
tlen 998 netinet/tcp_input.c if (tlen == 0) {
tlen 1076 netinet/tcp_input.c tlen <= sbspace(&so->so_rcv)) {
tlen 1088 netinet/tcp_input.c tp->rcv_nxt += tlen;
tlen 1090 netinet/tcp_input.c tcpstat.tcps_rcvbyte += tlen;
tlen 1231 netinet/tcp_input.c (struct mbuf *)0, &tlen);
tlen 1260 netinet/tcp_input.c if (tlen > tp->rcv_wnd) {
tlen 1261 netinet/tcp_input.c todrop = tlen - tp->rcv_wnd;
tlen 1263 netinet/tcp_input.c tlen = tp->rcv_wnd;
tlen 1324 netinet/tcp_input.c tcpstat.tcps_rcvdupbyte += tlen;
tlen 1341 netinet/tcp_input.c if (todrop > tlen ||
tlen 1342 netinet/tcp_input.c (todrop == tlen && (tiflags & TH_FIN) == 0)) {
tlen 1354 netinet/tcp_input.c tcpstat.tcps_rcvdupbyte += todrop = tlen;
tlen 1362 netinet/tcp_input.c tlen -= todrop;
tlen 1376 netinet/tcp_input.c tp->t_state > TCPS_CLOSE_WAIT && tlen) {
tlen 1386 netinet/tcp_input.c todrop = (th->th_seq + tlen) - (tp->rcv_nxt+tp->rcv_wnd);
tlen 1389 netinet/tcp_input.c if (todrop >= tlen) {
tlen 1390 netinet/tcp_input.c tcpstat.tcps_rcvbyteafterwin += tlen;
tlen 1406 netinet/tcp_input.c tlen -= todrop;
tlen 1417 netinet/tcp_input.c if (SEQ_LEQ(tp->last_ack_sent, th->th_seq + tlen +
tlen 1509 netinet/tcp_input.c &tlen);
tlen 1575 netinet/tcp_input.c if (tlen) {
tlen 1957 netinet/tcp_input.c if (tlen == 0 &&
tlen 2013 netinet/tcp_input.c if (th->th_urp <= (u_int16_t) tlen
tlen 2037 netinet/tcp_input.c if ((tlen || (tiflags & TH_FIN)) &&
tlen 2041 netinet/tcp_input.c tcp_seq lastend = th->th_seq + tlen;
tlen 2048 netinet/tcp_input.c tp->rcv_nxt += tlen;
tlen 2051 netinet/tcp_input.c tcpstat.tcps_rcvbyte += tlen;
tlen 2062 netinet/tcp_input.c tiflags = tcp_reass(tp, th, m, &tlen);
tlen 2141 netinet/tcp_input.c 0, tlen);
tlen 2146 netinet/tcp_input.c 0, tlen);
tlen 2214 netinet/tcp_input.c tlen++;
tlen 2215 netinet/tcp_input.c tcp_respond(tp, mtod(m, caddr_t), m, th->th_seq + tlen,
tlen 2229 netinet/tcp_input.c 0, tlen);
tlen 2234 netinet/tcp_input.c 0, tlen);
tlen 3631 netinet/tcp_input.c syn_cache_get(src, dst, th, hlen, tlen, so, m)
tlen 3635 netinet/tcp_input.c unsigned int hlen, tlen;
tlen 4139 netinet/tcp_input.c u_int16_t tlen;
tlen 4175 netinet/tcp_input.c tlen = hlen + sizeof(struct tcphdr) + optlen;
tlen 4183 netinet/tcp_input.c if (max_linkhdr + tlen > MCLBYTES)
tlen 4187 netinet/tcp_input.c if (m && max_linkhdr + tlen > MHLEN) {
tlen 4199 netinet/tcp_input.c m->m_len = m->m_pkthdr.len = tlen;
tlen 4201 netinet/tcp_input.c memset(mtod(m, u_char *), 0, tlen);
tlen 4331 netinet/tcp_input.c ip->ip_len = htons(tlen - hlen);
tlen 4333 netinet/tcp_input.c th->th_sum = in_cksum(m, tlen);
tlen 4337 netinet/tcp_input.c ip6->ip6_plen = htons(tlen - hlen);
tlen 4339 netinet/tcp_input.c th->th_sum = in6_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
tlen 4354 netinet/tcp_input.c ip->ip_len = htons(tlen);
tlen 4363 netinet/tcp_input.c ip6->ip6_plen = htons(tlen - hlen);
tlen 327 netinet/tcp_subr.c int tlen;
tlen 354 netinet/tcp_subr.c tlen = 1;
tlen 356 netinet/tcp_subr.c tlen = 0;
tlen 378 netinet/tcp_subr.c tlen = 0;
tlen 401 netinet/tcp_subr.c tlen += sizeof(struct tcphdr) + sizeof(struct ip6_hdr);
tlen 406 netinet/tcp_subr.c ti->ti_len = htons((u_int16_t)(sizeof (struct tcphdr) + tlen));
tlen 407 netinet/tcp_subr.c tlen += sizeof (struct tcpiphdr);
tlen 412 netinet/tcp_subr.c m->m_len = tlen;
tlen 413 netinet/tcp_subr.c m->m_pkthdr.len = tlen;
tlen 434 netinet/tcp_subr.c ((struct ip6_hdr *)ti)->ip6_plen = tlen - sizeof(struct ip6_hdr);
tlen 446 netinet/tcp_subr.c ti->ti_len = htons((u_short)tlen - sizeof(struct ip));
tlen 454 netinet/tcp_subr.c th->th_sum = in_cksum(m, tlen);
tlen 455 netinet/tcp_subr.c ((struct ip *)ti)->ip_len = htons(tlen);
tlen 2239 netinet6/in6.c int tlen = -1, dscopecmp, bscopecmp, matchcmp;
tlen 2413 netinet6/in6.c tlen = in6_matchlen(IFA_IN6(ifa), dst);
tlen 2414 netinet6/in6.c matchcmp = tlen - blen;
tlen 2425 netinet6/in6.c blen = tlen >= 0 ? tlen :
tlen 2461 netinet6/in6.c int dst_scope = in6_addrscope(dst), blen = -1, tlen;
tlen 2496 netinet6/in6.c tlen = in6_matchlen(IFA_IN6(ifa), dst);
tlen 2497 netinet6/in6.c if (tlen > blen) {
tlen 2498 netinet6/in6.c blen = tlen;
tlen 159 netinet6/ip6_output.c int hlen, tlen, len, off;
tlen 797 netinet6/ip6_output.c tlen = m->m_pkthdr.len;
tlen 808 netinet6/ip6_output.c if (dontfrag && tlen > IN6_LINKMTU(ifp)) { /* case 2-b */
tlen 835 netinet6/ip6_output.c if (dontfrag || (!alwaysfrag && tlen <= mtu)) { /* case 1-a and 2-a */
tlen 914 netinet6/ip6_output.c for (off = hlen; off < tlen; off += len) {
tlen 937 netinet6/ip6_output.c if (off + len >= tlen)
tlen 938 netinet6/ip6_output.c len = tlen - off;
tlen 427 nfs/nfs_serv.c int error = 0, rdonly, i, tlen, len, getret;
tlen 498 nfs/nfs_serv.c tlen = nfsm_rndup(len);
tlen 499 nfs/nfs_serv.c nfsm_adj(mp3, NFS_MAXPATHLEN-tlen, tlen-len);
tlen 529 nfs/nfs_serv.c int error = 0, rdonly, cnt, len, left, siz, tlen, getret;
tlen 657 nfs/nfs_serv.c tlen = len - uiop->uio_resid;
tlen 658 nfs/nfs_serv.c cnt = cnt < tlen ? cnt : tlen;
tlen 659 nfs/nfs_serv.c tlen = nfsm_rndup (cnt);
tlen 660 nfs/nfs_serv.c if (len != tlen || tlen != cnt)
tlen 661 nfs/nfs_serv.c nfsm_adj(mb, len - tlen, tlen - cnt);
tlen 978 nfs/nfs_subs.c long left, xfer, len, tlen;
tlen 1008 nfs/nfs_subs.c tlen = 0;
tlen 1012 nfs/nfs_subs.c tlen = NFSX_UNSIGNED;
tlen 1024 nfs/nfs_subs.c m1->m_len = len+tlen;
tlen 1999 nfs/nfs_vnops.c int error = 0, tlen, more_dirs = 1, blksiz = 0, bigenough = 1;
tlen 2072 nfs/nfs_vnops.c tlen = nfsm_rndup(len + 1);
tlen 2074 nfs/nfs_vnops.c if ((tlen + NFS_DIRHDSIZ) > left) {
tlen 2081 nfs/nfs_vnops.c if ((tlen + NFS_DIRHDSIZ) > uiop->uio_resid)
tlen 2089 nfs/nfs_vnops.c dp->d_reclen = tlen + NFS_DIRHDSIZ;
tlen 2099 nfs/nfs_vnops.c tlen -= len;
tlen 2101 nfs/nfs_vnops.c uiop->uio_iov->iov_base += tlen;
tlen 2102 nfs/nfs_vnops.c uiop->uio_iov->iov_len -= tlen;
tlen 2103 nfs/nfs_vnops.c uiop->uio_resid -= tlen;
tlen 2187 nfs/nfs_vnops.c int error = 0, tlen, more_dirs = 1, blksiz = 0, doit, bigenough = 1, i;
tlen 2244 nfs/nfs_vnops.c tlen = nfsm_rndup(len + 1);
tlen 2246 nfs/nfs_vnops.c if ((tlen + NFS_DIRHDSIZ) > left) {
tlen 2253 nfs/nfs_vnops.c if ((tlen + NFS_DIRHDSIZ) > uiop->uio_resid)
tlen 2261 nfs/nfs_vnops.c dp->d_reclen = tlen + NFS_DIRHDSIZ;
tlen 2273 nfs/nfs_vnops.c tlen -= len;
tlen 2275 nfs/nfs_vnops.c uiop->uio_iov->iov_base += tlen;
tlen 2276 nfs/nfs_vnops.c uiop->uio_iov->iov_len -= tlen;
tlen 2277 nfs/nfs_vnops.c uiop->uio_resid -= tlen;