Searched refs:size_classes (Results 1 – 9 of 9) sorted by relevance
18 if (b-a < (size_classes[sc]+1)*UNIT) continue; in donate()30 m->mem->storage[size_classes[sc]*UNIT-4] = 0; in donate()32 a += (size_classes[sc]+1)*UNIT; in donate()
10 extern const uint16_t size_classes[];148 assert(offset >= size_classes[meta->sizeclass]*index); in get_meta()149 assert(offset < size_classes[meta->sizeclass]*(index+1)); in get_meta()180 return UNIT*size_classes[g->sizeclass]; in get_stride()235 if (n>size_classes[i+1]) i+=2; in size_to_class()236 if (n>size_classes[i]) i++; in size_to_class()
12 const uint16_t size_classes[] = { variable151 int size = size_classes[m->sizeclass]*UNIT; in try_avail()176 size_t size = UNIT*size_classes[sc]; in alloc_group()267 p = enframe(g, idx, UNIT*size_classes[j]-IB, ctx.mmap_counter); in alloc_group()386 get_stride(g) < UNIT*size_classes[g->sizeclass]; in is_allzero()
17 #define size_classes __malloc_size_classes macro
45 if (sc >= 48 || get_stride(g) < UNIT*size_classes[sc]) in okay_to_free()
10 extern const uint16_t size_classes[];163 assert(offset >= size_classes[meta->sizeclass]*index); in get_meta()164 assert(offset < size_classes[meta->sizeclass]*(index+1)); in get_meta()195 return UNIT*size_classes[g->sizeclass]; in get_stride()250 if (n>size_classes[i+1]) i+=2; in size_to_class()251 if (n>size_classes[i]) i++; in size_to_class()
69 const uint16_t size_classes[] = { variable209 int size = size_classes[m->sizeclass]*UNIT; in try_avail()240 size_t size = UNIT*size_classes[sc]; in alloc_group()332 p = enframe(g, idx, UNIT*size_classes[j]-IB, ctx.mmap_counter); in alloc_group()463 get_stride(g) < UNIT*size_classes[g->sizeclass]; in is_allzero()
37 int outer_sz = size_classes[outer_sc]*UNIT;40 int sz = size_classes[sc]*UNIT;