HomeSort by: relevance | last modified time | path
    Searched defs:totlen (Results 1 - 25 of 106) sorted by relevancy

1 2 3 4 5

  /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_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...]
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_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);
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...]
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...]
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...]
  /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_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...]
  /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...]
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...]
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));

Completed in 36 milliseconds

1 2 3 4 5