Searched refs:totlen (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/psm/stand/bootblks/common/
H A Dmkbb.sh30 totlen=7680
37 totlen=15872;;
64 mkfile -n $totlen $3
72 if [ $totlen -gt $bblen ]; then
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_bigkey.c380 int32_t totlen, retval; local
388 totlen = len + BIGKEYLEN(pagep);
391 hashp->bigkey_buf = (u_int8_t *)malloc(totlen);
398 return (totlen);
408 totlen = len + BIGKEYLEN(pagep);
420 retval = collect_key(hashp, next_pagep, totlen, last_page);
447 int32_t totlen, retval; local
457 totlen = len + BIGDATALEN(pagep);
458 hashp->bigdata_buf = (u_int8_t *)malloc(totlen);
461 memcpy(hashp->bigdata_buf + totlen
[all...]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c154 int len, totlen = 1; /* Terminating NULL byte */ local
162 totlen += 3;
164 MALLOC(keyfilter, totlen);
167 (void) snprintf(keyfilter, totlen, "(|");
175 totlen += strlen(k) + 2;
178 totlen += strlen(attrtype) + strlen(k) + 3;
183 if (!(tmpptr = (char *)realloc(keyfilter, totlen))) {
192 (void) snprintf(keyfilter + len, totlen - len,
195 (void) snprintf(keyfilter + len, totlen - len,
203 (void) strlcat(keyfilter, ")", totlen);
225 int len, totlen = 1; /* Terminating NULL byte */ local
[all...]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c487 size_t totlen; local
518 totlen = 0;
526 totlen += 2 * ETHERADDRL;
530 if ((totlen += mblen) <= rgep->ethmax_size) {
540 if ((totlen += mblen) <= rgep->ethmax_size) {
545 rgep->stats.obytes += totlen;
547 if (totlen == rgep->ethmax_size)
557 ASSERT(totlen <= rgep->ethmax_size);
565 hw_sbd_p->flags_len = RGE_BSWAP_32(totlen & SBD_LEN_MASK);
579 ASSERT(totlen >
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c643 int remlen, padding, lastpad, totlen; local
659 padding = totlen = lastpad = 0;
673 totlen++;
687 totlen += olen;
692 totlen -= lastpad;
704 if (olen + totlen > IP_MAX_OPT_LENGTH) {
705 totlen -= padding;
706 if (olen + totlen > IP_MAX_OPT_LENGTH)
731 while (totlen > 0) {
734 /* totlen does
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c169 int totlen; local
173 totlen = 0;
176 totlen += strlen(argp[1]) + 1;
177 if ((str = malloc(totlen + 1)) == NULL) {
/illumos-gate/usr/src/boot/sys/amd64/include/pc/
H A Dbios.h101 size_t totlen; /* total length of BIOS string to copy */ member in struct:bios_oem_signature
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_l1c.c740 uint32_t rdinfo, status, totlen, pktlen, slotlen; local
759 totlen = L1C_RRD_BYTES(status);
762 "status : 0x%x, totlen : %d,"
764 rdinfo, status, totlen, rx_cons, nsegs));
782 mp = allocb(totlen + L1C_HEADROOM, BPRI_MED);
786 mp->b_wptr = bufp + totlen;
790 atgep->atge_rbytes += totlen;
801 slotlen = totlen;
804 ATGE_DB(("%s: %s() PKT mp == NULL totlen : %d",
805 atgep->atge_name, __func__, totlen));
[all...]
H A Datge_l1.c632 uint32_t index, flags, totlen, pktlen, slotlen; local
649 totlen = L1_RX_BYTES(ATGE_GET32(l1->atge_l1_rr, &rx_rr->len));
654 ATGE_DB(("%s: %s() PKT -- index : %d, flags : %x, totlen : %d,"
656 index, flags, totlen, rx_cons, nsegs));
673 mp = allocb(totlen + VLAN_TAGSZ, BPRI_MED);
677 mp->b_wptr = bufp + totlen;
681 atgep->atge_rbytes += totlen;
692 slotlen = totlen;
695 ATGE_DB(("%s: %s() PKT mp == NULL totlen : %d",
696 atgep->atge_name, __func__, totlen));
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_tx.c354 size_t totlen; local
383 totlen = 0;
388 totlen = 0;
392 if ((totlen += mblen) <= ngep->max_sdu) {
404 ngep->desc_attr.txd_fill(hw_sbd_p, &ssbdp->pbuf.cookie, totlen,
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.c962 int totlen; local
1110 totlen = 0;
1115 totlen = msgsize(mp);
1116 if (totlen > (ETHERMAX + 4)) { /* 4 bytes for VLAN header */
1119 mac_name(rtlsp->mh), totlen);
1142 rtlsp->stats.obytes += totlen;
1144 if (totlen < ETHERMIN) {
1145 bzero(rtlsp->tx_buf[cur_desc] + totlen, ETHERMIN - totlen);
1146 totlen
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c123 size_t len, totlen; local
130 totlen = m_totlen(m0);
131 if ((error = m_get(totlen, &nm)) != 0)
142 nm->m_len = totlen;
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf.c1567 int totlen, curlen; local
1579 totlen = hdrlen + min(snaplen, pktlen);
1580 if (totlen > d->bd_bufsize)
1581 totlen = d->bd_bufsize;
1587 if (curlen + totlen > d->bd_bufsize) {
1627 (hp->bh_caplen = totlen - hdrlen));
1628 d->bd_slen = curlen + totlen;
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c67 size_t totlen; local
72 totlen = strlen(in);
85 *nextp = ((*nextp - in) < totlen) ? (*nextp) : NULL;
/illumos-gate/usr/src/boot/sys/i386/include/pc/
H A Dbios.h271 size_t totlen; /* total length of BIOS string to copy */ member in struct:bios_oem_signature
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c1012 size_t totlen; local
1092 totlen = 0;
1100 if ((totlen += mblen) <= DMFE_MAX_PKT_SIZE) {
1129 ASSERT(totlen <= DMFE_MAX_PKT_SIZE);
1130 totlen &= TX_BUFFER_SIZE1;
1131 desc1 = TX_FIRST_DESC | TX_LAST_DESC | totlen;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c82 int totlen; /* length of this structure */ member in struct:bsd_db
345 db->totlen = newlen;
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c98 int totlen; /* length of this structure */ member in struct:bsd_db
428 db->totlen = newlen;
449 kmem_free(db, db->totlen);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c858 size_t totlen; local
906 totlen = strlen(dirname[i]) + 1;
907 totlen += strlen(dp->d_name) + 1;
908 files[nfiles] = MALLOC(totlen);
911 (void) snprintf(files[nfiles++], totlen,
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c3677 int i, totlen, seglen, pad; local
3811 totlen = msgdsize(mp);
3851 if (totlen + IEEE80211_CRC_LEN > ic->ic_rtsthreshold) {
3910 tx->len = htole16(totlen);
3936 bcopy(mp->b_rptr, data->dma_data.vaddr, totlen - hdrlen);
3954 for (i = 1, seglen = totlen - hdrlen;
3971 sc->ops.update_sched(sc, ring->qid, ring->cur, tx->id, totlen);
3983 ic->ic_stats.is_tx_bytes += totlen;
4409 int totlen, ret; local
4415 totlen
[all...]
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c1325 int mblen, totlen; local
1343 totlen = 0;
1413 totlen += dma_cookie.dmac_size;
1434 if (totlen > ETHERMAX + VLAN_TAGSZ) {
1435 cmn_err(CE_WARN, "DNET: tried to send large %d packet", totlen);
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1637 ssize_t totlen; local
1649 totlen = xmsgsize(mp);
1651 if ((len > 0) && (len > totlen))
1659 len = totlen;
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1328 uint16_t ver, totlen, hdrlen, ipid, off, csum; local
1360 mdb_nhconvert(&totlen, &iph->ipha_length, sizeof (totlen));
1376 hdrlen, iph->ipha_type_of_service, totlen, ipid,
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dfil.c3263 int totlen = 0; local
3269 totlen += mlen;
3286 totlen += mlen;
3300 if (((m = m0)->m_flags & M_PKTHDR) && (m->m_pkthdr.len < totlen))
3301 m->m_pkthdr.len = totlen;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSEmbeddedAPI.h558 mDNSOpaque16 totlen; variable

Completed in 146 milliseconds

12