Searched refs:totlen (Results 1 – 2 of 2) sorted by relevance
1386 int totlen; in bcm_parse_tlvs() local1389 totlen = buflen; in bcm_parse_tlvs()1392 while (totlen >= 2) { in bcm_parse_tlvs()1396 if ((elt->id == key) && (totlen >= (len + 2))) in bcm_parse_tlvs()1400 totlen -= (len + 2); in bcm_parse_tlvs()1416 int totlen; in bcm_parse_ordered_tlvs() local1419 totlen = buflen; in bcm_parse_ordered_tlvs()1422 while (totlen >= 2) { in bcm_parse_ordered_tlvs()1431 if ((id == key) && (totlen >= (len + 2))) in bcm_parse_ordered_tlvs()1435 totlen -= (len + 2); in bcm_parse_ordered_tlvs()
2712 uint16 dlen, totlen; in dhdsdio_rxglom() local2744 for (totlen = num = 0; dlen; num++) { in dhdsdio_rxglom()2761 totlen += sublen; in dhdsdio_rxglom()2765 sublen += (ROUNDUP(totlen, bus->blocksize) - totlen); in dhdsdio_rxglom()2766 totlen = ROUNDUP(totlen, bus->blocksize); in dhdsdio_rxglom()2792 __FUNCTION__, totlen, num)); in dhdsdio_rxglom()2794 if (totlen != bus->nextlen) { in dhdsdio_rxglom()2797 totlen, rxseq)); in dhdsdio_rxglom()