Searched refs:num_allocated_slots (Results 1 – 5 of 5) sorted by relevance
95 if (LIKELY(num_allocated_slots == 0)) { in FreeSlowPath()115 DCHECK(num_allocated_slots < 0); in FreeSlowPath()118 CHECK(num_allocated_slots != -1); in FreeSlowPath()119 num_allocated_slots = -num_allocated_slots - 2; in FreeSlowPath()120 DCHECK(num_allocated_slots == bucket->get_slots_per_span() - 1); in FreeSlowPath()132 if (UNLIKELY(num_allocated_slots == 0)) in FreeSlowPath()
57 int16_t num_allocated_slots; member220 DCHECK(num_allocated_slots); in Free()230 --num_allocated_slots; in Free()231 if (UNLIKELY(num_allocated_slots <= 0)) { in Free()243 return (num_allocated_slots > 0 && in is_active()250 bool ret = (num_allocated_slots == bucket->get_slots_per_span()); in is_full()261 return (!num_allocated_slots && freelist_head); in is_empty()267 bool ret = (!num_allocated_slots && !freelist_head); in is_decommitted()
74 DCHECK(!page->num_allocated_slots); in PartitionDirectMap()347 DCHECK(num_slots + page->num_allocated_slots == get_slots_per_span()); in AllocAndFillFreelist()350 DCHECK(page->num_allocated_slots >= 0); in AllocAndFillFreelist()354 char* return_object = base + (size * page->num_allocated_slots); in AllocAndFillFreelist()386 page->num_allocated_slots++; in AllocAndFillFreelist()439 page->num_allocated_slots = -page->num_allocated_slots; in SetNewActivePage()559 new_page->num_allocated_slots++; in SlowPathAlloc()
99 DCHECK(page->num_allocated_slots >= 0); in AllocFromBucket()113 page->num_allocated_slots++; in AllocFromBucket()
458 if (slot_size < kSystemPageSize || !page->num_allocated_slots) in PartitionPurgePage()565 DCHECK(num_new_entries == num_slots - page->num_allocated_slots); in PartitionPurgePage()651 (page->num_allocated_slots * stats_out->bucket_slot_size); in PartitionDumpPageStats()