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

12

/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpi.c2612 int error, i, nsegs, totlen, frag; local
2628 totlen = buf->m->m_pkthdr.len;
2631 if (__predict_false(totlen < sizeof(struct ieee80211_frame_min))) {
2709 __func__, ring->qid, cur, totlen, nsegs);
2712 desc->nsegs = WPI_PAD32(totlen + pad) << 4 | (1 + nsegs);
2774 int swcrypt, ismcast, totlen; local
2822 totlen = m->m_pkthdr.len;
2853 if (totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold) {
2915 tx->len = htole16(totlen);
2945 int swcrypt, totlen; local
3219 uint16_t totlen; local
[all...]
/freebsd-11-stable/sys/dev/hifn/
H A Dhifn7751.c1861 int totlen, len; local
1876 totlen = cmd->src_mapsize;
1893 if (totlen >= MINCLSIZE) {
1902 totlen -= len;
1906 while (totlen > 0) {
1915 if (totlen >= MINCLSIZE) {
1928 totlen -= len;
2768 int totlen, i, u, ivlen; local
2783 totlen = cmd->src_mapsize;
2785 if (totlen <
[all...]
/freebsd-11-stable/sys/dev/en/
H A Dmidway.c398 u_int totlen = 0; local
404 totlen += m->m_len;
416 if (totlen != plen)
417 printf("sum of m_len=%u\n", totlen);
1908 * en_mget: get an mbuf chain that can hold totlen bytes and return it
1909 * (for recv). For the actual allocation totlen is rounded up to a multiple
1912 * After this call the sum of all the m_len's in the chain will be totlen.
1921 u_int totlen, pad; local
1923 totlen = roundup(pktlen, sizeof(uint32_t));
1924 pad = totlen
[all...]
/freebsd-11-stable/sys/compat/ndis/
H A Dsubr_ndis.c2635 NdisGetFirstBufferFromPacket(packet, buf, firstva, firstlen, totlen)
2640 uint32_t *totlen;
2648 *firstlen = *totlen = 0;
2651 *firstlen = *totlen = MmGetMdlByteCount(tmp);
2653 *totlen += MmGetMdlByteCount(tmp);
2658 NdisGetFirstBufferFromPacketSafe(packet, buf, firstva, firstlen, totlen, prio)
2663 uint32_t *totlen;
2666 NdisGetFirstBufferFromPacket(packet, buf, firstva, firstlen, totlen);
/freebsd-11-stable/sys/dev/safe/
H A Dsafe.c1298 int totlen, len; local
1313 totlen = re->re_src_mapsize;
1331 if (totlen >= MINCLSIZE) {
1345 while (totlen > 0) {
1357 if (top && totlen >= MINCLSIZE) {
1368 m->m_len = len = min(totlen, len);
1369 totlen -= len;
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_rsu.c1843 int totlen, pktlen, infosz, npkts; local
1866 totlen = sizeof(*stat) + infosz + pktlen;
1867 if (__predict_false(totlen > len))
1881 totlen = (totlen + 127) & ~127;
1882 buf += totlen;
1883 len -= totlen;
H A Dif_zyd.c2428 int rate, totlen; local
2480 totlen = m0->m_pkthdr.len + IEEE80211_CRC_LEN;
2481 desc->len = htole16(totlen);
2486 if (totlen > vap->iv_rtsthreshold) {
2505 pktlen += totlen;
2508 bits = (rate == 11) ? (totlen * 16) + 10 :
2509 ((rate == 22) ? (totlen * 8) + 10 : (totlen * 8));
/freebsd-11-stable/sys/net/
H A Dbpf.c2386 int caplen, curlen, hdrlen, totlen; local
2414 totlen = hdrlen + min(snaplen, pktlen);
2415 if (totlen > d->bd_bufsize)
2416 totlen = d->bd_bufsize;
2432 if (curlen + totlen > d->bd_bufsize || !bpf_canwritebuf(d)) {
2454 caplen = totlen - hdrlen;
2510 d->bd_slen = curlen + totlen;
/freebsd-11-stable/sys/dev/wi/
H A Dif_wi.c1880 wi_mwrite_bap(struct wi_softc *sc, int id, int off, struct mbuf *m0, int totlen) argument
1885 for (m = m0; m != NULL && totlen > 0; m = m->m_next) {
1889 len = min(m->m_len, totlen);
1892 m_copydata(m, 0, totlen, (caddr_t)&sc->sc_txbuf);
1894 totlen);
1901 totlen -= len;
/freebsd-11-stable/sys/dev/urtwn/
H A Dif_urtwn.c863 int totlen)
896 m = m_get2(totlen, M_NOWAIT, MT_DATA, M_PKTHDR);
904 memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen); local
905 m->m_pkthdr.len = m->m_len = totlen;
968 int totlen, pktlen, infosz, npkts; local
990 totlen = sizeof(*stat) + infosz + pktlen;
991 if (totlen > len)
994 m = urtwn_rx_copy_to_mbuf(sc, stat, totlen);
1005 totlen = (totlen
862 urtwn_rx_copy_to_mbuf(struct urtwn_softc *sc, struct r92c_rx_stat *stat, int totlen) argument
[all...]
/freebsd-11-stable/sys/dev/ubsec/
H A Dubsec.c1361 int totlen, len; local
1365 totlen = q->q_src_mapsize;
1366 if (totlen >= MINCLSIZE) {
1387 m->m_len = len = min(totlen, len);
1388 totlen -= len;
1392 while (totlen > 0) {
1393 if (totlen >= MINCLSIZE) {
1407 m->m_len = len = min(totlen, len);
1408 totlen -= len;
/freebsd-11-stable/sys/i386/i386/
H A Dbios.c507 tot = sig->totlen;
535 * store pretty version of totlen bytes of bios string with
/freebsd-11-stable/sys/fs/nfs/
H A Dnfs.h586 int totlen; member in struct:nfsgss_mechlist
/freebsd-11-stable/sys/dev/bwn/
H A Dif_bwn.c5460 uint16_t ctl16, len, totlen, v16; local
5528 totlen = len + padding;
5529 KASSERT(totlen <= MCLBYTES, ("too big..\n"));
5537 siba_read_multi_4(sc->sc_dev, mp, (totlen & ~3),
5539 if (totlen & 3) {
5541 data = &(mp[totlen - 1]);
5542 switch (totlen & 3) {
5554 siba_read_multi_2(sc->sc_dev, mp, (totlen & ~1),
5556 if (totlen & 1) {
5558 mp[totlen
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_control.c1407 size_t totlen; local
1456 totlen = sendlen;
1462 while (totlen & 7) {
1464 totlen++;
1469 (u_int32 *)&rpkt, totlen);
1471 (struct pkt *)&rpkt, totlen + maclen);
/freebsd-11-stable/sys/netipsec/
H A Dkey.c6195 int totlen; local
6228 totlen = 0;
6230 totlen += n->m_len;
6231 IPSEC_ASSERT((totlen % l) == 0, ("totlen=%u, l=%u", totlen, l));
6233 for (off = 0; off < totlen; off += l) {
6398 int totlen; local
6420 totlen = 0;
6422 totlen
[all...]
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c4380 int ac, i, totlen, error, pad, nsegs = 0, rate; local
4460 totlen = m->m_pkthdr.len;
4502 if (totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold) {
4553 tx->len = htole16(totlen);
4644 ops->update_sched(sc, ring->qid, ring->cur, tx->id, totlen);
4675 int ac, totlen, error, pad, nsegs = 0, i, rate; local
4694 totlen = m->m_pkthdr.len;
4757 tx->len = htole16(totlen);
4837 ops->update_sched(sc, ring->qid, ring->cur, tx->id, totlen);
5107 int totlen, erro local
[all...]
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm.c3617 int i, totlen, error, pad; local
3665 totlen = m->m_pkthdr.len;
3673 && (totlen + IEEE80211_CRC_LEN > vap->iv_rtsthreshold)
3709 tx->len = htole16(totlen);
3765 ring->qid, ring->cur, totlen, nsegs,

Completed in 358 milliseconds

12