Home
last modified time | relevance | path

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

/openbsd-src/sys/net/
H A Dbsd-comp.c92 u_int maxmaxcode; /* largest valid code */ member
236 if (db->max_ent >= db->maxmaxcode) { in bsd_check()
303 u_int newlen, hsize, hshift, maxmaxcode; in bsd_alloc() local
339 maxmaxcode = MAXCODE(bits); in bsd_alloc()
348 db->lens = mallocarray(maxmaxcode + 1, sizeof(db->lens[0]), M_DEVBUF, in bsd_alloc()
359 db->maxmaxcode = maxmaxcode; in bsd_alloc()
371 free(db->lens, M_DEVBUF, (db->maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_free()
591 if (max_ent < db->maxmaxcode) { in bsd_compress()
637 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) in bsd_compress()
736 if (max_ent < db->maxmaxcode) { in bsd_incomp()
[all …]