Searched refs:dictp (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ppp/ |
H A D | bsd_comp.c | 574 struct bsd_dict *dictp; bsd_compress() local 659 dictp = dict_ptr (db, hval); bsd_compress() 662 if (dictp->codem1 >= max_ent) bsd_compress() 667 if (dictp->f.fcode == fcode) bsd_compress() 669 ent = dictp->codem1 + 1; bsd_compress() 683 dictp = dict_ptr (db, hval); bsd_compress() 684 if (dictp->codem1 >= max_ent) bsd_compress() 689 while (dictp->f.fcode != fcode); bsd_compress() 691 ent = dictp->codem1 + 1; /* finally found (prefix,suffix) */ bsd_compress() 725 dictp->codem1 = max_ent; bsd_compress() 726 dictp->f.fcode = fcode; bsd_compress() 836 struct bsd_dict *dictp; bsd_decompress() local 1000 dictp = dict_ptr (db, dictp2->cptr); bsd_decompress() 1002 if (--codelen <= 0 || dictp->codem1 != finchar-1) bsd_decompress() 1012 if (dictp->codem1 != finchar-1) bsd_decompress() 1019 oldcode, dictp2->cptr, dictp->codem1); bsd_decompress() 1025 *--p = dictp->f.hs.suffix; bsd_decompress() 1026 finchar = dictp->f.hs.prefix; bsd_decompress() 1060 dictp = dict_ptr (db, hval); bsd_decompress() 1063 if (dictp->codem1 < max_ent) bsd_decompress() 1073 dictp = dict_ptr (db, hval); bsd_decompress() 1075 while (dictp->codem1 < max_ent); bsd_decompress() 1093 dictp->codem1 = max_ent; bsd_decompress() 1094 dictp->f.fcode = fcode; bsd_decompress()
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_bsdcomp.c | 463 struct bsd_dict *dictp; bsd_compress() local 515 dictp = dict_ptr(db, hval); bsd_compress() 518 if (dictp->codem1 >= max_ent) bsd_compress() 521 if (dictp->fcode == fcode) { bsd_compress() 522 ent = dictp->codem1 + 1; bsd_compress() 533 dictp = dict_ptr(db, hval); bsd_compress() 534 if (dictp->codem1 >= max_ent) bsd_compress() 536 } while (dictp->fcode != fcode); bsd_compress() 538 ent = dictp->codem1 + 1; /* finally found (prefix,suffix) */ bsd_compress() 568 dictp->codem1 = max_ent; bsd_compress() 569 dictp->fcode = fcode; bsd_compress() 650 struct bsd_dict *dictp; bsd_decompress() local 788 dictp = dict_ptr(db, dictp2->cptr); bsd_decompress() 791 if (--codelen <= 0 || dictp->codem1 != finchar - 1) { bsd_decompress() 796 if (dictp->codem1 != finchar - 1) { bsd_decompress() 798 printk(KERN_ERR "oldcode=0x%x cptr=0x%x codem1=0x%x\n", oldcode, dictp2->cptr, dictp->codem1); bsd_decompress() 806 u32 fcode = dictp->fcode; bsd_decompress() 836 dictp = dict_ptr(db, hval); bsd_decompress() 839 if (dictp->codem1 < max_ent) { bsd_decompress() 845 dictp = dict_ptr(db, hval); bsd_decompress() 846 } while (dictp->codem1 < max_ent); bsd_decompress() 862 dictp->codem1 = max_ent; bsd_decompress() 863 dictp->fcode = fcode; bsd_decompress()
|
Completed in 62 milliseconds