Lines Matching refs:slabcur
1006 if (bin->slabcur != NULL) { in arena_reset()
1007 slab = bin->slabcur; in arena_reset()
1008 bin->slabcur = NULL; in arena_reset()
1201 if (!arena_is_auto(arena) && bin->slabcur != NULL) { in arena_bin_malloc_hard()
1202 arena_bin_slabs_full_insert(arena, bin, bin->slabcur); in arena_bin_malloc_hard()
1203 bin->slabcur = NULL; in arena_bin_malloc_hard()
1206 if (bin->slabcur != NULL) { in arena_bin_malloc_hard()
1211 if (extent_nfree_get(bin->slabcur) > 0) { in arena_bin_malloc_hard()
1212 void *ret = arena_slab_reg_alloc(bin->slabcur, in arena_bin_malloc_hard()
1235 arena_bin_slabs_full_insert(arena, bin, bin->slabcur); in arena_bin_malloc_hard()
1236 bin->slabcur = NULL; in arena_bin_malloc_hard()
1242 bin->slabcur = slab; in arena_bin_malloc_hard()
1244 assert(extent_nfree_get(bin->slabcur) > 0); in arena_bin_malloc_hard()
1266 if ((slab = bin->slabcur) != NULL && extent_nfree_get(slab) > in arena_tcache_fill_small()
1332 if ((slab = bin->slabcur) != NULL && extent_nfree_get(slab) > 0) { in arena_malloc_small()
1471 if (slab == bin->slabcur) { in arena_dissociate_bin_slab()
1472 bin->slabcur = NULL; in arena_dissociate_bin_slab()
1493 assert(slab != bin->slabcur); in arena_dalloc_bin_slab()
1516 if (bin->slabcur != NULL && extent_snad_comp(bin->slabcur, slab) > 0) { in arena_bin_lower_slab()
1518 if (extent_nfree_get(bin->slabcur) > 0) { in arena_bin_lower_slab()
1519 arena_bin_slabs_nonfull_insert(bin, bin->slabcur); in arena_bin_lower_slab()
1521 arena_bin_slabs_full_insert(arena, bin, bin->slabcur); in arena_bin_lower_slab()
1523 bin->slabcur = slab; in arena_bin_lower_slab()
1549 } else if (nfree == 1 && slab != bin->slabcur) { in arena_dalloc_bin_locked_impl()