Searched refs:max_ent (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_bsdcomp.c | 126 unsigned int max_ent; /* largest code in use */ member in struct:bsd_db 177 db->max_ent = FIRST - 1; bsd_clear() 214 if (db->max_ent >= db->maxmaxcode) bsd_check() 457 unsigned int max_ent; bsd_compress() local 494 max_ent = db->max_ent; bsd_compress() 518 if (dictp->codem1 >= max_ent) bsd_compress() 534 if (dictp->codem1 >= max_ent) bsd_compress() 545 if (max_ent < db->maxmaxcode) { bsd_compress() 551 if (max_ent >= mxcode) { bsd_compress() 560 dictp2 = dict_ptr(db, max_ent + 1); bsd_compress() 564 if (dictp3->codem1 == max_ent) bsd_compress() 568 dictp->codem1 = max_ent; bsd_compress() 570 db->max_ent = ++max_ent; bsd_compress() 573 unsigned short *len1 = lens_ptr(db, max_ent); bsd_compress() 611 if (max_ent >= mxcode && max_ent < db->maxmaxcode) bsd_compress() 645 unsigned int max_ent; bsd_decompress() local 661 max_ent = db->max_ent; bsd_decompress() 747 if ((incode > max_ent + 2) || (incode > db->maxmaxcode) bsd_decompress() 748 || (incode > max_ent && oldcode == CLEAR)) { bsd_decompress() 752 printk(KERN_DEBUG "max_ent=0x%x skb->Len=%d seqno=%d\n", bsd_decompress() 753 max_ent, skb_out->len, db->seqno); bsd_decompress() 759 if (incode > max_ent) { bsd_decompress() 794 printk(KERN_ERR "0x%x at 0x%x by 0x%x, max_ent=0x%x\n", incode, finchar, dictp2->cptr, max_ent); bsd_decompress() 815 printk(KERN_ERR "bsd_decomp%d: short by %d after code 0x%x, max_ent=0x%x\n", db->unit, codelen, incode, max_ent); bsd_decompress() 828 if (oldcode != CLEAR && max_ent < db->maxmaxcode) { bsd_decompress() 839 if (dictp->codem1 < max_ent) { bsd_decompress() 846 } while (dictp->codem1 < max_ent); bsd_decompress() 854 dictp2 = dict_ptr(db, max_ent + 1); bsd_decompress() 858 if (dictp3->codem1 == max_ent) bsd_decompress() 862 dictp->codem1 = max_ent; bsd_decompress() 864 db->max_ent = ++max_ent; bsd_decompress() 867 lens1 = lens_ptr(db, max_ent); bsd_decompress() 872 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) { bsd_decompress()
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | bsd_comp.c | 147 unsigned int max_ent; /* largest code in use */ member in struct:bsd_db 225 db->max_ent = FIRST-1; bsd_clear() 262 if (db->max_ent >= db->maxmaxcode) bsd_check() 568 unsigned int max_ent; bsd_compress() local 623 max_ent = db->max_ent; bsd_compress() 662 if (dictp->codem1 >= max_ent) bsd_compress() 684 if (dictp->codem1 >= max_ent) bsd_compress() 698 if (max_ent < db->maxmaxcode) bsd_compress() 705 if (max_ent >= mxcode) bsd_compress() 715 dictp2 = dict_ptr (db, max_ent + 1); bsd_compress() 719 if (dictp3->codem1 == max_ent) bsd_compress() 725 dictp->codem1 = max_ent; bsd_compress() 727 db->max_ent = ++max_ent; bsd_compress() 731 unsigned short *len1 = lens_ptr (db, max_ent); bsd_compress() 776 if (max_ent >= mxcode && max_ent < db->maxmaxcode) bsd_compress() 831 unsigned int max_ent; bsd_decompress() local 851 max_ent = db->max_ent; bsd_decompress() 950 if ((incode > max_ent + 2) || (incode > db->maxmaxcode) bsd_decompress() 951 || (incode > max_ent && oldcode == CLEAR)) bsd_decompress() 957 printk("max_ent=0x%x explen=%d seqno=%d\n", bsd_decompress() 958 max_ent, explen, db->seqno); bsd_decompress() 964 if (incode > max_ent) bsd_decompress() 1007 printk("0x%x at 0x%x by 0x%x, max_ent=0x%x\n", bsd_decompress() 1008 incode, finchar, dictp2->cptr, max_ent); bsd_decompress() 1033 printk("bsd_decomp%d: short by %d after code 0x%x, max_ent=0x%x\n", bsd_decompress() 1034 db->unit, codelen, incode, max_ent); bsd_decompress() 1051 if (oldcode != CLEAR && max_ent < db->maxmaxcode) bsd_decompress() 1063 if (dictp->codem1 < max_ent) bsd_decompress() 1075 while (dictp->codem1 < max_ent); bsd_decompress() 1083 dictp2 = dict_ptr (db, max_ent + 1); bsd_decompress() 1087 if (dictp3->codem1 == max_ent) bsd_decompress() 1093 dictp->codem1 = max_ent; bsd_decompress() 1095 db->max_ent = ++max_ent; bsd_decompress() 1098 lens1 = lens_ptr (db, max_ent); bsd_decompress() 1103 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) bsd_decompress()
|
Completed in 76 milliseconds