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

12

/freebsd-current/contrib/openbsm/libbsm/
H A Dbsm_token.c1364 size_t totlen = 0; local
1372 totlen += nextlen + 1;
1377 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
1403 size_t totlen = 0; local
1412 totlen += nextlen + 1;
1417 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen);
/freebsd-current/sys/dev/iwm/
H A Dif_iwm_util.c230 size_t totlen = hdrlen + paylen; local
234 totlen);
H A Dif_iwm.c3723 int i, totlen, error, pad; local
3770 totlen = m->m_pkthdr.len;
3776 totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold &&
3808 tx->len = htole16(totlen);
3864 ring->qid, ring->cur, totlen, nsegs,
/freebsd-current/sys/i386/include/pc/
H A Dbios.h242 size_t totlen; /* total length of BIOS string to copy */ member in struct:bios_oem_signature
/freebsd-current/usr.sbin/ypldap/
H A Dber.c1072 ssize_t len, r, totlen = 0; local
1079 totlen += r;
1083 totlen += r + len;
1179 return totlen;
/freebsd-current/sys/dev/safe/
H A Dsafe.c1047 int totlen, len; local
1062 totlen = re->re_src_mapsize;
1080 if (totlen >= MINCLSIZE) {
1094 while (totlen > 0) {
1106 if (top && totlen >= MINCLSIZE) {
1117 m->m_len = len = min(totlen, len);
1118 totlen -= len;
/freebsd-current/sys/dev/wpi/
H A Dif_wpi.c2633 int error, i, nsegs, totlen, frag; local
2649 totlen = buf->m->m_pkthdr.len;
2652 if (__predict_false(totlen < sizeof(struct ieee80211_frame_min))) {
2731 __func__, ring->qid, cur, totlen, nsegs);
2734 desc->nsegs = WPI_PAD32(totlen + pad) << 4 | (1 + nsegs);
2795 int swcrypt, ismcast, totlen; local
2839 totlen = m->m_pkthdr.len;
2870 if (totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold) {
2932 tx->len = htole16(totlen);
2962 int swcrypt, totlen; local
3236 uint16_t totlen; local
[all...]
/freebsd-current/sys/dev/usb/wlan/
H A Dif_rsu.c2299 int totlen)
2321 m = m_get2(totlen, M_NOWAIT, MT_DATA, M_PKTHDR);
2324 "%s: could not allocate RX mbuf, totlen %d\n",
2325 __func__, totlen);
2330 memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen); local
2331 m->m_pkthdr.len = m->m_len = totlen;
2475 int totlen, pktlen, infosz, npkts; local
2505 totlen = sizeof(*stat) + infosz + pktlen;
2506 if (__predict_false(totlen > len))
2510 m = rsu_rx_copy_to_mbuf(sc, stat, totlen);
2298 rsu_rx_copy_to_mbuf(struct rsu_softc *sc, struct r92s_rx_stat *stat, int totlen) argument
[all...]
H A Dif_zyd.c2437 int rate, totlen, type, ismcast; local
2491 totlen = m0->m_pkthdr.len + IEEE80211_CRC_LEN;
2492 desc->len = htole16(totlen);
2497 if (totlen > vap->iv_rtsthreshold) {
2516 pktlen += totlen;
2519 bits = (rate == 11) ? (totlen * 16) + 10 :
2520 ((rate == 22) ? (totlen * 8) + 10 : (totlen * 8));
/freebsd-current/sys/net/
H A Dbpf.c2575 int caplen, curlen, hdrlen, pad, totlen; local
2608 totlen = hdrlen + min(snaplen, pktlen);
2609 if (totlen > d->bd_bufsize)
2610 totlen = d->bd_bufsize;
2626 if (curlen + totlen > d->bd_bufsize || !bpf_canwritebuf(d)) {
2660 caplen = totlen - hdrlen;
2716 d->bd_slen = curlen + totlen;
/freebsd-current/sys/netinet/
H A Dip_carp.c523 int totlen; local
536 totlen = ntohs(ip->ip_len);
600 if (in_cksum(m, totlen - iplen)) {
616 htonl((u_short)(totlen - iplen) + ip->ip_p));
617 vrrp_input_c(m, iplen, AF_INET, ip->ip_ttl, totlen - iplen,
/freebsd-current/sys/i386/i386/
H A Dbios.c466 tot = sig->totlen;
494 * store pretty version of totlen bytes of bios string with
/freebsd-current/sys/fs/nfs/
H A Dnfs.h675 int totlen; member in struct:nfsgss_mechlist
/freebsd-current/contrib/one-true-awk/
H A Drun.c675 int i, len, n, totlen; local
679 totlen = 0;
687 totlen++;
691 return totlen;
/freebsd-current/sys/dev/bwn/
H A Dif_bwn.c5675 uint16_t ctl16, len, totlen, v16; local
5746 totlen = len + padding;
5747 KASSERT(totlen <= MCLBYTES, ("too big..\n"));
5756 prq->prq_base + BWN_PIO8_RXDATA, (void *)mp, (totlen & ~3));
5757 if (totlen & 3) {
5759 data = &(mp[totlen - 1]);
5760 switch (totlen & 3) {
5773 prq->prq_base + BWN_PIO_RXDATA, (void *)mp, (totlen & ~1));
5774 if (totlen & 1) {
5776 mp[totlen
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_control.c1401 size_t totlen; local
1450 totlen = sendlen;
1456 while (totlen & 7) {
1458 totlen++;
1463 (u_int32 *)&rpkt, totlen);
1465 (struct pkt *)&rpkt, totlen + maclen);
/freebsd-current/sys/netipsec/
H A Dkey.c6414 int totlen; local
6447 totlen = 0;
6449 totlen += n->m_len;
6450 IPSEC_ASSERT((totlen % l) == 0, ("totlen=%u, l=%u", totlen, l));
6452 for (off = 0; off < totlen; off += l) {
6614 int totlen; local
6636 totlen = 0;
6638 totlen
[all...]
/freebsd-current/sys/dev/iwn/
H A Dif_iwn.c4548 int ac, totlen, rate; local
4607 totlen = m->m_pkthdr.len;
4638 if (totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold) {
4851 int totlen, error, pad, nsegs = 0, i; local
4855 totlen = m->m_pkthdr.len;
4875 tx->len = htole16(totlen);
4934 __func__, ring->qid, ring->cur, totlen, nsegs, tx->rate);
4961 ops->update_sched(sc, ring->qid, ring->cur, tx->id, totlen);
5234 int totlen, error; local
5250 totlen
[all...]
/freebsd-current/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c3676 size_t totlen = 0, len, maxlen, maxverok = 0; local
3711 for (i = 0; i < sk_SSL_CIPHER_num(sk) && totlen < maxlen; i++) {
3737 totlen += len;
3740 if (totlen == 0 || !maxverok) {
3751 if (totlen != 0) {

Completed in 258 milliseconds

12