Lines Matching refs:max_alloc
992 size_t fnd, max_alloc, b_len, b_pos; in wnd_find() local
1019 max_alloc = wnd->nbits; in wnd_find()
1022 if (hint >= max_alloc) in wnd_find()
1069 if (len >= to_alloc && hint + to_alloc <= max_alloc) { in wnd_find()
1078 if (hint + len <= max_alloc) { in wnd_find()
1092 if (e->count.key < max_alloc) { in wnd_find()
1113 if (max_check > max_alloc) in wnd_find()
1114 max_check = max_alloc; in wnd_find()
1127 if (e->start.key + to_alloc > max_alloc) in wnd_find()
1128 to_alloc = max_alloc - e->start.key; in wnd_find()
1154 if (max_alloc == wnd->nbits) { in wnd_find()
1157 size_t t = max_alloc + wbits - 1; in wnd_find()
1159 nwnd = likely(t > max_alloc) ? (t >> log2_bits) : wnd->nwnd; in wnd_find()
1179 if (max_alloc == wnd->nbits) { in wnd_find()
1182 size_t t = max_alloc & (wbits - 1); in wnd_find()
1287 b_pos = max_alloc - prev_tail; in wnd_find()
1297 if (likely(nextmax >= hint) && nextmax < max_alloc) in wnd_find()
1298 max_alloc = nextmax; in wnd_find()