Searched refs:bin_info (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/external/bsd/jemalloc/dist/test/unit/
H A Dslab.c9 const bin_info_t *bin_info = &bin_infos[binind]; local
10 extent_init(&slab, NULL, mallocx(bin_info->slab_size,
11 MALLOCX_LG_ALIGN(LG_PAGE)), bin_info->slab_size, true,
15 for (regind = 0; regind < bin_info->nregs; regind++) {
17 (bin_info->reg_size * regind));
21 bin_info->reg_size);
H A Djunk.c18 arena_dalloc_junk_small_intercept(void *ptr, const bin_info_t *bin_info) { argument
21 arena_dalloc_junk_small_orig(ptr, bin_info);
22 for (i = 0; i < bin_info->reg_size; i++) {
25 i, bin_info->reg_size);
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Dtcache_inlines.h167 cache_bin_info_t *bin_info;
176 bin_info = &tcache_bin_info[binind];
177 if (unlikely(bin->ncached == bin_info->ncached_max)) {
179 (bin_info->ncached_max >> 1));
181 assert(bin->ncached < bin_info->ncached_max);
192 cache_bin_info_t *bin_info;
202 bin_info = &tcache_bin_info[binind];
203 if (unlikely(bin->ncached == bin_info->ncached_max)) {
205 (bin_info->ncached_max >> 1), tcache);
207 assert(bin->ncached < bin_info
[all...]
H A Darena_externs.h49 void arena_alloc_junk_small(void *ptr, const bin_info_t *bin_info,
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dtcache_inlines.h167 cache_bin_info_t *bin_info;
176 bin_info = &tcache_bin_info[binind];
177 if (unlikely(bin->ncached == bin_info->ncached_max)) {
179 (bin_info->ncached_max >> 1));
181 assert(bin->ncached < bin_info->ncached_max);
192 cache_bin_info_t *bin_info;
202 bin_info = &tcache_bin_info[binind];
203 if (unlikely(bin->ncached == bin_info->ncached_max)) {
205 (bin_info->ncached_max >> 1), tcache);
207 assert(bin->ncached < bin_info
[all...]
H A Darena_externs.h49 void arena_alloc_junk_small(void *ptr, const bin_info_t *bin_info,
/netbsd-current/external/bsd/jemalloc/dist/src/
H A Darena.c224 arena_slab_reg_alloc(extent_t *slab, const bin_info_t *bin_info) { argument
230 assert(!bitmap_full(slab_data->bitmap, &bin_info->bitmap_info));
232 regind = bitmap_sfu(slab_data->bitmap, &bin_info->bitmap_info);
234 (uintptr_t)(bin_info->reg_size * regind));
266 const bin_info_t *bin_info = &bin_infos[binind]; local
269 assert(extent_nfree_get(slab) < bin_info->nregs);
271 assert(bitmap_get(slab_data->bitmap, &bin_info->bitmap_info, regind));
273 bitmap_unset(slab_data->bitmap, &bin_info->bitmap_info, regind);
1096 extent_hooks_t **r_extent_hooks, const bin_info_t *bin_info,
1107 bin_info
1095 arena_slab_alloc_hard(tsdn_t *tsdn, arena_t *arena, extent_hooks_t **r_extent_hooks, const bin_info_t *bin_info, szind_t szind) argument
1118 arena_slab_alloc(tsdn_t *tsdn, arena_t *arena, szind_t binind, const bin_info_t *bin_info) argument
1158 const bin_info_t *bin_info; local
1200 const bin_info_t *bin_info; local
1306 arena_alloc_junk_small(void *ptr, const bin_info_t *bin_info, bool zero) argument
1313 arena_dalloc_junk_small_impl(void *ptr, const bin_info_t *bin_info) argument
1474 const bin_info_t *bin_info = &bin_infos[binind]; local
1537 const bin_info_t *bin_info = &bin_infos[binind]; local
[all...]

Completed in 134 milliseconds