Lines Matching refs:total_len
1122 int total_len = 0;
1164 total_len = rxstat >> 16;
1165 if (total_len == RL_RXSTAT_UNFINISHED)
1169 total_len < ETHER_MIN_LEN ||
1170 total_len > ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN) {
1178 rx_bytes += total_len + 4;
1187 total_len -= ETHER_CRC_LEN;
1202 if (total_len > wrap) {
1203 m = m_devget(rxbufpos, total_len, RL_ETHER_ALIGN, ifp,
1206 m_copyback(m, wrap, total_len - wrap,
1208 cur_rx = (total_len - wrap + ETHER_CRC_LEN);
1210 m = m_devget(rxbufpos, total_len, RL_ETHER_ALIGN, ifp,
1212 cur_rx += total_len + 4 + ETHER_CRC_LEN;