Lines Matching defs:total_len
872 smsc_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
881 DPRINTF("total_len %jd/%#jx", total_len, total_len, 0, 0);
882 while (total_len != 0) {
884 if (total_len < sizeof(rxhdr)) {
885 DPRINTF("total_len %jd < sizeof(rxhdr) %jd",
886 total_len, sizeof(rxhdr), 0, 0);
894 total_len -= sizeof(rxhdr);
908 DPRINTF("total_len %jd pktlen %jd rxhdr 0x%08jx", total_len,
927 if (pktlen > total_len) {
928 DPRINTF("pktlen %jd > total_len %jd", pktlen, total_len,
991 /* total_len does not include the padding */
992 if (pktlen > total_len)
993 pktlen = total_len;
996 total_len -= pktlen;