/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_bigkey.c | 380 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 - BIGDATALEN(pagep), [all …]
|
/titanic_41/usr/src/cmd/ldap/ns_ldap/ |
H A D | mapping.c | 154 int len, totlen = 1; /* Terminating NULL byte */ in set_keys() local 162 totlen += 3; in set_keys() 164 MALLOC(keyfilter, totlen); in set_keys() 167 (void) snprintf(keyfilter, totlen, "(|"); in set_keys() 175 totlen += strlen(k) + 2; in set_keys() 178 totlen += strlen(attrtype) + strlen(k) + 3; in set_keys() 183 if (!(tmpptr = (char *)realloc(keyfilter, totlen))) { in set_keys() 192 (void) snprintf(keyfilter + len, totlen - len, in set_keys() 195 (void) snprintf(keyfilter + len, totlen - len, in set_keys() 203 (void) strlcat(keyfilter, ")", totlen); in set_keys() [all …]
|
/titanic_41/usr/src/psm/stand/bootblks/common/ |
H A D | mkbb.sh | 30 totlen=7680 37 totlen=15872;; 64 mkfile -n $totlen $3 72 if [ $totlen -gt $bblen ]; then
|
/titanic_41/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 487 size_t totlen; in rge_send_copy() local 518 totlen = 0; in rge_send_copy() 526 totlen += 2 * ETHERADDRL; in rge_send_copy() 530 if ((totlen += mblen) <= rgep->ethmax_size) { in rge_send_copy() 540 if ((totlen += mblen) <= rgep->ethmax_size) { in rge_send_copy() 545 rgep->stats.obytes += totlen; in rge_send_copy() 547 if (totlen == rgep->ethmax_size) in rge_send_copy() 557 ASSERT(totlen <= rgep->ethmax_size); in rge_send_copy() 565 hw_sbd_p->flags_len = RGE_BSWAP_32(totlen & SBD_LEN_MASK); in rge_send_copy() 579 ASSERT(totlen >= sizeof (struct ether_header) + in rge_send_copy()
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 643 int remlen, padding, lastpad, totlen; in tsol_prepend_option() local 659 padding = totlen = lastpad = 0; in tsol_prepend_option() 673 totlen++; in tsol_prepend_option() 687 totlen += olen; in tsol_prepend_option() 692 totlen -= lastpad; in tsol_prepend_option() 704 if (olen + totlen > IP_MAX_OPT_LENGTH) { in tsol_prepend_option() 705 totlen -= padding; in tsol_prepend_option() 706 if (olen + totlen > IP_MAX_OPT_LENGTH) in tsol_prepend_option() 731 while (totlen > 0) { in tsol_prepend_option() 745 totlen--; in tsol_prepend_option() [all …]
|
/titanic_41/usr/src/uts/common/io/atge/ |
H A D | atge_l1c.c | 740 uint32_t rdinfo, status, totlen, pktlen, slotlen; in atge_l1c_rx() local 759 totlen = L1C_RRD_BYTES(status); in atge_l1c_rx() 764 rdinfo, status, totlen, rx_cons, nsegs)); in atge_l1c_rx() 782 mp = allocb(totlen + L1C_HEADROOM, BPRI_MED); in atge_l1c_rx() 786 mp->b_wptr = bufp + totlen; in atge_l1c_rx() 790 atgep->atge_rbytes += totlen; in atge_l1c_rx() 801 slotlen = totlen; in atge_l1c_rx() 805 atgep->atge_name, __func__, totlen)); in atge_l1c_rx() 820 slotlen = min(atgep->atge_max_frame_size, totlen); in atge_l1c_rx() 824 totlen -= slotlen; in atge_l1c_rx()
|
H A D | atge_l1.c | 632 uint32_t index, flags, totlen, pktlen, slotlen; in atge_l1_rx() local 649 totlen = L1_RX_BYTES(ATGE_GET32(l1->atge_l1_rr, &rx_rr->len)); in atge_l1_rx() 656 index, flags, totlen, rx_cons, nsegs)); in atge_l1_rx() 673 mp = allocb(totlen + VLAN_TAGSZ, BPRI_MED); in atge_l1_rx() 677 mp->b_wptr = bufp + totlen; in atge_l1_rx() 681 atgep->atge_rbytes += totlen; in atge_l1_rx() 692 slotlen = totlen; in atge_l1_rx() 696 atgep->atge_name, __func__, totlen)); in atge_l1_rx()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 169 int totlen; in cat_save_env() local 173 totlen = 0; in cat_save_env() 176 totlen += strlen(argp[1]) + 1; in cat_save_env() 177 if ((str = malloc(totlen + 1)) == NULL) { in cat_save_env()
|
/titanic_41/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 962 int totlen; in rtls_send() local 1110 totlen = 0; in rtls_send() 1115 totlen = msgsize(mp); in rtls_send() 1116 if (totlen > (ETHERMAX + 4)) { /* 4 bytes for VLAN header */ in rtls_send() 1119 mac_name(rtlsp->mh), totlen); in rtls_send() 1142 rtlsp->stats.obytes += totlen; in rtls_send() 1144 if (totlen < ETHERMIN) { in rtls_send() 1145 bzero(rtlsp->tx_buf[cur_desc] + totlen, ETHERMIN - totlen); in rtls_send() 1146 totlen = ETHERMIN; in rtls_send() 1150 (void) ddi_dma_sync(rtlsp->dma_area_tx[cur_desc].dma_hdl, 0, totlen, in rtls_send() [all …]
|
/titanic_41/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 354 size_t totlen; in nge_send_copy() local 383 totlen = 0; in nge_send_copy() 388 totlen = 0; in nge_send_copy() 392 if ((totlen += mblen) <= ngep->max_sdu) { in nge_send_copy() 404 ngep->desc_attr.txd_fill(hw_sbd_p, &ssbdp->pbuf.cookie, totlen, in nge_send_copy()
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 123 size_t len, totlen; in m_lineup() local 130 totlen = m_totlen(m0); in m_lineup() 131 if ((error = m_get(totlen, &nm)) != 0) in m_lineup() 142 nm->m_len = totlen; in m_lineup()
|
/titanic_41/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 1567 int totlen, curlen; in catchpacket() local 1579 totlen = hdrlen + min(snaplen, pktlen); in catchpacket() 1580 if (totlen > d->bd_bufsize) in catchpacket() 1581 totlen = d->bd_bufsize; in catchpacket() 1587 if (curlen + totlen > d->bd_bufsize) { in catchpacket() 1627 (hp->bh_caplen = totlen - hdrlen)); in catchpacket() 1628 d->bd_slen = curlen + totlen; in catchpacket()
|
/titanic_41/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 67 size_t totlen; in nwam_tokenize_by_unescaped_delim() local 72 totlen = strlen(in); in nwam_tokenize_by_unescaped_delim() 85 *nextp = ((*nextp - in) < totlen) ? (*nextp) : NULL; in nwam_tokenize_by_unescaped_delim()
|
/titanic_41/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 1012 size_t totlen; in dmfe_send_msg() local 1092 totlen = 0; in dmfe_send_msg() 1100 if ((totlen += mblen) <= DMFE_MAX_PKT_SIZE) { in dmfe_send_msg() 1129 ASSERT(totlen <= DMFE_MAX_PKT_SIZE); in dmfe_send_msg() 1130 totlen &= TX_BUFFER_SIZE1; in dmfe_send_msg() 1131 desc1 = TX_FIRST_DESC | TX_LAST_DESC | totlen; in dmfe_send_msg()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 82 int totlen; /* length of this structure */ member 345 db->totlen = newlen;
|
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 98 int totlen; /* length of this structure */ member 428 db->totlen = newlen; in bsd_alloc() 449 kmem_free(db, db->totlen); in bsd_free()
|
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 858 size_t totlen; in platform_get_files() local 906 totlen = strlen(dirname[i]) + 1; in platform_get_files() 907 totlen += strlen(dp->d_name) + 1; in platform_get_files() 908 files[nfiles] = MALLOC(totlen); in platform_get_files() 911 (void) snprintf(files[nfiles++], totlen, in platform_get_files()
|
/titanic_41/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 1328 uint16_t ver, totlen, hdrlen, ipid, off, csum; in iphdr() local 1360 mdb_nhconvert(&totlen, &iph->ipha_length, sizeof (totlen)); in iphdr() 1376 hdrlen, iph->ipha_type_of_service, totlen, ipid, in iphdr()
|
/titanic_41/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 1325 int mblen, totlen; in dnet_send() local 1343 totlen = 0; in dnet_send() 1413 totlen += dma_cookie.dmac_size; in dnet_send() 1434 if (totlen > ETHERMAX + VLAN_TAGSZ) { in dnet_send() 1435 cmn_err(CE_WARN, "DNET: tried to send large %d packet", totlen); in dnet_send()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | stream.c | 1637 ssize_t totlen; in msgpullup() local 1649 totlen = xmsgsize(mp); in msgpullup() 1651 if ((len > 0) && (len > totlen)) in msgpullup() 1659 len = totlen; in msgpullup()
|
/titanic_41/usr/src/uts/common/inet/ipf/ |
H A D | fil.c | 3263 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;
|