Searched refs:freeindex (Results 1 – 1 of 1) sorted by relevance
112 size_t freeindex = bmp_countset(tp->sackhole_bmp, SACKHOLE_BMP_SIZE, 0, SACKHOLE_BMP_SIZE); in sackhole_alloc() local113 if (freeindex >= SACKHOLE_BMP_SIZE) { in sackhole_alloc()116 bmp_setrange(tp->sackhole_bmp, freeindex, 1); in sackhole_alloc()117 return &tp->sackhole_pool[freeindex]; in sackhole_alloc()121 size_t freeindex = (size_t) (tofree - &tp->sackhole_pool[0]); in sackhole_free() local122 KASSERT(tofree == &tp->sackhole_pool[freeindex], ("sackhole pool unaligned")); in sackhole_free()123 bmp_clrrange(tp->sackhole_bmp, freeindex, 1); in sackhole_free()