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

1 2 3 4

  /src/sys/arch/mac68k/dev/
if_ae.c 133 u_short totlen = 0; local
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
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/crypto/external/apache2/openssl/dist/ssl/record/methods/
tls_multib.c 69 size_t totlen; local
91 totlen = templates[0].buflen * numtempl;
92 if (!tls_is_multiblock_capable(rl, templates[0].type, totlen,
128 mb_param.len = totlen;
141 mb_param.len = totlen;
  /src/external/bsd/pcc/dist/pcc/f77/fcom/
main.c 358 ftnint totlen; local
364 totlen = 0;
382 totlen += ovlen;
389 totlen = doeven(totlen, align);
428 totlen = doeven(totlen+ovlen, (ALIDOUBLE>SZLONG ? ALIDOUBLE : SZLONG) );
  /src/crypto/external/apache2/openssl/dist/test/
tls13encryptiontest.c 182 size_t totlen = 0; local
186 totlen += strlen(str[outer]);
187 if ((totlen & 1) != 0)
191 totlen /= 2;
192 outbuf = OPENSSL_malloc(totlen);
211 *len = totlen;
  /src/crypto/external/bsd/openssl/dist/test/
tls13encryptiontest.c 206 size_t totlen = 0; local
210 totlen += strlen(str[outer]);
211 if ((totlen & 1) != 0)
215 totlen /= 2;
216 outbuf = OPENSSL_malloc(totlen);
235 *len = totlen;
  /src/crypto/external/bsd/openssl.old/dist/test/
tls13encryptiontest.c 217 size_t totlen = 0; local
221 totlen += strlen(str[outer]);
222 if ((totlen & 1) != 0)
226 totlen /= 2;
227 outbuf = OPENSSL_malloc(totlen);
246 *len = totlen;
  /src/sys/arch/macppc/dev/
am79c950.c 394 u_int len, totlen = 0; local
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/ufs/chfs/
chfs_gc.c 709 size_t totlen = chfs_nref_len(chmp, cheb, nref); local
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
    [all...]
  /src/sys/rump/dev/lib/libugenhc/
ugenhc.c 140 int totlen = 0; local
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
    [all...]
  /src/sys/arch/amiga/dev/
if_ed_zbus.c 290 u_short totlen = 0; local
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
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
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
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/
mb86960.c 1349 int totlen, len; local
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...]
dp83932.c 291 int error, olasttx, nexttx, opending, totlen, olseg; local
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...]
lance.c 365 lance_get(struct lance_softc *sc, int boff, int totlen)
375 m0->m_pkthdr.len = totlen;
379 while (totlen > 0) {
380 if (totlen >= MINCLSIZE) {
395 m->m_len = len = uimin(totlen, len);
399 totlen -= len;
400 if (totlen > 0) {
mb86950.c 603 u_short totlen; local
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
365 totlen = 0;
374 totlen += len;
376 if (totlen == m->m_pkthdr.len) {
400 if (totlen != m->m_pkthdr.len)
  /src/sys/net/
if_ieee1394subr.c 254 int totlen, fraglen, off; local
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/dev/iscsi/
iscsi_send.c 1376 uint32_t totlen, len, offs, sn; local
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
    [all...]
  /src/sys/dev/usb/
vhci.c 480 int totlen = 0; local
493 totlen = uimin(buflen, sizeof(devd));
494 memcpy(&devd, buf, totlen);
497 memcpy(buf, &devd, totlen);
503 totlen = usb_makestrdesc(sd, len, "NetBSD");
507 totlen = usb_makestrdesc(sd, len, "VHCI root hub");
553 totlen = uimin(buflen, sizeof(hubd));
554 memcpy(&hubd, buf, totlen);
557 totlen = uimin(totlen, hubd.bDescLength)
    [all...]
  /src/sys/dev/isa/
if_el.c 593 elget(struct el_softc *sc, int totlen)
605 m0->m_pkthdr.len = totlen;
612 while (totlen > 0) {
613 if (totlen >= MINCLSIZE) {
620 m->m_len = len = uimin(totlen, len);
623 totlen -= len;
624 if (totlen > 0) {
  /src/sys/arch/newsmips/apbus/
if_sn.c 505 u_int totlen = 0; local
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/mac68k/nubus/
if_netdock_nubus.c 557 u_int totlen = 0; local
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/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/
tpm_nvcommon.c 113 size_t totlen = strlen(aArg); local
116 while (offset < totlen) {

Completed in 46 milliseconds

1 2 3 4