/src/sys/arch/mac68k/dev/ |
if_ae.c | 133 u_short totlen = 0; local in function:ae_write_mbuf 140 totlen += len; 169 len = ETHER_PAD_LEN - totlen; 175 totlen++; 182 totlen = ETHER_PAD_LEN; 184 return (totlen);
|
if_mc.c | 397 u_int len, totlen = 0; local in function:maceput 405 totlen += len; 411 if (totlen > PAGE_SIZE) 415 if (totlen < ETHERMIN + sizeof(struct ether_header)) { 416 int pad = ETHERMIN + sizeof(struct ether_header) - totlen; 417 memset(sc->sc_txbuf + totlen, 0, pad); 418 totlen = ETHERMIN + sizeof(struct ether_header); 422 (*sc->sc_putpacket)(sc, totlen); 425 return totlen; 604 mace_get(struct mc_softc *sc, void *pkt, int totlen) [all...] |
/src/sys/arch/amiga/dev/ |
if_ed_zbus.c | 290 u_short totlen = 0; local in function:ed_zbus_write_mbuf 297 totlen += len; 327 len = ETHER_PAD_LEN - totlen; 333 totlen++; 340 totlen = ETHER_PAD_LEN; 342 return totlen;
|
if_qn.c | 465 u_short totlen; local in function:qn_put 467 totlen = wantbyte = 0; 473 totlen += len; 503 if(totlen < (ETHER_MIN_LEN - ETHER_CRC_LEN)) { 508 for(len = totlen + 1; len < (ETHER_MIN_LEN - ETHER_CRC_LEN); 511 totlen = (ETHER_MIN_LEN - ETHER_CRC_LEN); 514 return (totlen);
|
/src/lib/libc/db/hash/ |
hash_bigkey.c | 478 int mylen, totlen; local in function:collect_data 486 totlen = len + mylen; 489 if ((hashp->tmp_buf = calloc(1, (size_t)totlen)) == NULL) 510 if (!xbp || ((totlen = 519 return (totlen); 544 int mylen, totlen; local in function:collect_key 552 totlen = len + mylen; 556 if ((hashp->tmp_key = calloc(1, (size_t)totlen)) == NULL) 562 if (!xbp || ((totlen = 563 collect_key(hashp, xbp, totlen, val, set)) < 1) [all...] |
/src/sys/dev/ic/ |
mb86950.c | 603 u_short totlen; local in function:mb86950_put_fifo 607 totlen = wantbyte = 0; 613 totlen += len; 645 if (totlen < (ETHER_MIN_LEN - ETHER_CRC_LEN)) { 650 for (len = totlen + 1; len < (ETHER_MIN_LEN - ETHER_CRC_LEN); 655 totlen = (ETHER_MIN_LEN - ETHER_CRC_LEN); 658 return totlen;
|
sgec.c | 324 int len, i, totlen, error; local in function:zestart 365 totlen = 0; 374 totlen += len; 376 if (totlen == m->m_pkthdr.len) { 400 if (totlen != m->m_pkthdr.len)
|
dp8390.c | 1153 int len, totlen = 0; local in function:dp8390_write_mbuf 1160 totlen += len; 1164 if (totlen < ETHER_MIN_LEN - ETHER_CRC_LEN) { 1166 ETHER_MIN_LEN - ETHER_CRC_LEN - totlen); 1167 totlen = ETHER_MIN_LEN - ETHER_CRC_LEN; 1169 return totlen;
|
dp83932.c | 291 int error, olasttx, nexttx, opending, totlen, olseg; local in function:sonic_start 387 totlen = 0; 400 totlen += dmamap->dm_segs[seg].ds_len; 402 if (totlen < ETHER_PAD_LEN) { 409 htosonic32(sc, ETHER_PAD_LEN - totlen); 410 totlen = ETHER_PAD_LEN; 416 tda32->tda_pktsize = htosonic32(sc, totlen); 439 totlen += dmamap->dm_segs[seg].ds_len; 441 if (totlen < ETHER_PAD_LEN) { 448 htosonic16(sc, ETHER_PAD_LEN - totlen); [all...] |
lan9118.c | 362 unsigned tdfree, totlen, dso; local in function:lan9118_start 372 totlen = 0; 423 totlen = m->m_pkthdr.len; 431 txb = LAN9118_TXC_B_PL(totlen); 466 if (totlen > 0) {
|
mb86960.c | 1349 int totlen, len; local in function:mb86960_write_mbufs 1374 for (totlen = 0, mp = m; mp != 0; mp = mp->m_next) 1375 totlen += mp->m_len; 1377 if (totlen != m->m_pkthdr.len) 1379 device_xname(sc->sc_dev), totlen, m->m_pkthdr.len); 1382 totlen = m->m_pkthdr.len; 1391 if (totlen > (ETHER_MAX_LEN - ETHER_CRC_LEN) || 1392 totlen < ETHER_HDR_LEN) { 1395 totlen < ETHER_HDR_LEN ? "partial" : "big", totlen); [all...] |
elinkxl.c | 1025 int m_csumflags, offset, seglen, totlen, segment, error; local in function:ex_start 1123 totlen = 0; 1128 totlen += seglen; 1130 if (__predict_false(totlen <= EX_IP4CSUMTX_PADLEN && 1141 seglen = EX_IP4CSUMTX_PADLEN + 1 - totlen; 1143 totlen += seglen; 1155 dpd->dpd_fsh = htole32(totlen);
|
hme.c | 695 int len, totlen; local in function:hme_get 700 totlen = HME_XD_DECODE_RSIZE(flags); 706 m0->m_pkthdr.len = totlen; 712 while (totlen > 0) { 713 if (totlen >= MINCLSIZE) { 728 m->m_len = len = uimin(totlen, len); 732 totlen -= len; 733 if (totlen > 0) {
|
/src/sys/ufs/chfs/ |
chfs_gc.c | 709 size_t totlen = chfs_nref_len(chmp, cheb, nref); local in function:chfs_gcollect_pristine 716 data = kmem_alloc(totlen, KM_SLEEP); 720 ret = chfs_read_leb(chmp, nref->nref_lnr, data, ofs, totlen, &retlen); 725 if (retlen != totlen) { 793 ret = chfs_reserve_space_gc(chmp, totlen); 808 vec.iov_len = totlen; 812 if (ret || retlen != totlen) { 816 ret, totlen, retlen); 818 chfs_change_size_dirty(chmp, chmp->chm_nextblock, totlen); 840 kmem_free(data, totlen); 1083 uint32_t totlen; local in function:chfs_gcollect_dnode [all...] |
chfs_readinode.c | 145 size_t retlen, len, totlen; local in function:chfs_check_td_data 184 totlen = CHFS_PAD(sizeof(struct chfs_flash_data_node) + len); 187 chfs_change_size_unchecked(chmp, &chmp->chm_blocks[nref->nref_lnr], -totlen); 188 chfs_change_size_used(chmp, &chmp->chm_blocks[nref->nref_lnr], totlen);
|
/src/sys/arch/macppc/dev/ |
am79c950.c | 394 u_int len, totlen = 0; local in function:maceput 402 totlen += len; 408 if (totlen > PAGE_SIZE) 412 if (totlen < ETHERMIN + sizeof(struct ether_header)) { 413 int pad = ETHERMIN + sizeof(struct ether_header) - totlen; 414 memset(sc->sc_txbuf + totlen, 0, pad); 415 totlen = ETHERMIN + sizeof(struct ether_header); 419 (*sc->sc_putpacket)(sc, totlen); 422 return totlen; 598 mace_get(struct mc_softc *sc, uint8_t *pkt, int totlen) [all...] |
/src/sys/dev/iscsi/ |
iscsi_send.c | 1376 uint32_t totlen, len, offs, sn; local in function:send_data_out 1383 totlen = ntohl(rx_pdu->pdu_hdr.pduh_p.r2t.DesiredDataTransferLength); 1386 totlen = min(conn->c_max_firstdata - offs, tx_ccb->ccb_data_len - offs); 1390 while (totlen) { 1391 len = min(totlen, conn->c_max_transfer); 1404 totlen -= len; 1407 if (!totlen) 1418 DEBC(conn, 10, ("Send DataOut: DataSN %d, len %d offs %x totlen %d\n", 1419 sn, len, offs, totlen)); 1422 send_pdu(tx_ccb, tx_pdu, (totlen) ? CCBDISP_NOWAIT : disp, PDUDISP_FREE) 1443 uint32_t totlen, len; local in function:send_command [all...] |
/src/sys/net/ |
if_ieee1394subr.c | 254 int totlen, fraglen, off; local in function:ieee1394_fragment 259 totlen = m0->m_pkthdr.len; 260 if (totlen + sizeof(struct ieee1394_unfraghdr) <= maxsize) { 276 ifh->ifh_ft_size = htons(IEEE1394_FT_MORE | (totlen - 1)); 282 while (off < totlen) { 283 if (off + fraglen > totlen) 284 fraglen = totlen - off; 293 htons(IEEE1394_FT_SUBSEQ | IEEE1394_FT_MORE | (totlen - 1));
|
/src/sys/arch/newsmips/apbus/ |
if_sn.c | 505 u_int totlen = 0; local in function:sonicput 533 totlen += len; 537 if (totlen >= TXBSIZE) { 547 if (totlen < ETHERMIN + ETHER_HDR_LEN) { 548 int pad = ETHERMIN + ETHER_HDR_LEN - totlen; 549 memset((char *)mtdp->mtd_buf + totlen, 0, pad); 550 totlen = ETHERMIN + ETHER_HDR_LEN; 554 totlen); 556 SWO(sc->bitmode, txp, TXP_PKTSIZE, totlen); 576 return totlen; [all...] |
/src/sys/arch/sgimips/hpc/ |
if_sq.c | 534 int err, totlen, nexttx, firsttx, lasttx = -1, ofree, seg; local in function:sq_start 653 for (nexttx = sc->sc_nexttx, seg = 0, totlen = 0; 670 totlen += dmamap->dm_segs[seg].ds_len; 683 device_xname(sc->sc_dev), sc->sc_nexttx, lasttx, totlen));
|
/src/sys/dev/qbus/ |
if_qe.c | 452 int idx, len, s, i, totlen, buflen; local in function:qestart 497 totlen = 0; 507 } else if (totlen < ETHER_PAD_LEN) { 509 len = ETHER_PAD_LEN - totlen; 514 totlen += len; 517 if (totlen == buflen) { 540 if (totlen != buflen)
|
/src/sys/arch/mac68k/nubus/ |
if_netdock_nubus.c | 557 u_int totlen = 0; local in function:netdock_put 565 totlen += m->m_len; 567 if (totlen >= ETHER_MAX_LEN) 571 totlen += 6; 572 tmplen = totlen; 591 tmplen = ((totlen << 8) & 0xfe00) | ((totlen >> 8) & 0x00ff); 605 if (totlen & 0x01) 614 return (totlen);
|
/src/sys/rump/dev/lib/libugenhc/ |
ugenhc.c | 140 int totlen = 0; local in function:ugenhc_roothub_ctrl 153 totlen = uimin(buflen, sizeof(devd)); 154 memcpy(&devd, buf, totlen); 157 memcpy(buf, &devd, totlen); 163 totlen = usb_makestrdesc(sd, len, "rod nevada"); 167 totlen = usb_makestrdesc(sd, len, "RUMPUSBHC root hub"); 193 totlen = buflen; 199 totlen = len; 207 totlen = uimin(len, sizeof(ps)); 208 memcpy(buf, &ps, totlen); 225 int len, totlen; local in function:rumpusb_device_ctrl_start [all...] |
/src/sys/arch/sun3/dev/ |
if_ie.c | 759 int len, totlen, resid; local in function:ieget 764 totlen = ie_packet_len(sc); 765 if (totlen <= 0) 776 resid = totlen; 783 m->m_pkthdr.len = totlen; 792 while (totlen > 0) { 801 if (totlen >= MINCLSIZE) { 815 m->m_len = len = uimin(totlen, len); 817 totlen -= len;
|
/src/sys/external/bsd/dwc2/ |
dwc2.c | 552 int totlen = 0; local in function:dwc2_roothub_ctrl 575 totlen = usb_makestrdesc(sd, len, "DWC2 root hub"); 603 totlen = len; 606 return totlen;
|