Searched refs:maxmaxcode (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_bsdcomp.c125 unsigned int maxmaxcode; /* largest valid code */ member in struct:bsd_db
214 if (db->max_ent >= db->maxmaxcode) bsd_check()
307 unsigned int hsize, hshift, maxmaxcode; bsd_alloc() local
331 maxmaxcode = MAXCODE(bits); bsd_alloc()
356 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); bsd_alloc()
369 db->maxmaxcode = maxmaxcode; bsd_alloc()
429 if ((unsigned int) idx > (unsigned int) db->maxmaxcode) { lens_ptr()
545 if (max_ent < db->maxmaxcode) { bsd_compress()
611 if (max_ent >= mxcode && max_ent < db->maxmaxcode) bsd_compress()
747 if ((incode > max_ent + 2) || (incode > db->maxmaxcode) bsd_decompress()
828 if (oldcode != CLEAR && max_ent < db->maxmaxcode) { bsd_decompress()
872 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) { bsd_decompress()
/linux-4.4.14/drivers/net/ppp/
H A Dbsd_comp.c146 unsigned int maxmaxcode; /* largest valid code */ member in struct:bsd_db
262 if (db->max_ent >= db->maxmaxcode) bsd_check()
355 unsigned int hsize, hshift, maxmaxcode; bsd_alloc() local
397 maxmaxcode = MAXCODE(bits); bsd_alloc()
428 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); bsd_alloc()
443 db->maxmaxcode = maxmaxcode; bsd_alloc()
529 if ((unsigned int) idx > (unsigned int) db->maxmaxcode) lens_ptr()
698 if (max_ent < db->maxmaxcode) bsd_compress()
776 if (max_ent >= mxcode && max_ent < db->maxmaxcode) bsd_compress()
950 if ((incode > max_ent + 2) || (incode > db->maxmaxcode) bsd_decompress()
1051 if (oldcode != CLEAR && max_ent < db->maxmaxcode) bsd_decompress()
1103 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) bsd_decompress()

Completed in 73 milliseconds