Searched refs:slabs (Results 1 – 1 of 1) sorted by relevance
613 struct list_head slabs; member619 } slabs[NUM_FREELIST_BUCKETS]; member669 list_inithead(&ctx->slabs[i].slabs); in gc_context()670 list_inithead(&ctx->slabs[i].free_slabs); in gc_context()743 list_add(&slab->free_link, &slab->ctx->slabs[header->bucket].free_slabs); in free_from_slab()749 while (slab->free_link.next != &slab->ctx->slabs[header->bucket].free_slabs && in free_from_slab()789 list_addtail(&slab->link, &ctx->slabs[bucket].slabs); in create_slab()790 list_addtail(&slab->free_link, &ctx->slabs[bucket].free_slabs); in create_slab()818 if (list_is_empty(&ctx->slabs[bucket].free_slabs) && !create_slab(ctx, bucket)) in gc_alloc_size()820 gc_slab *slab = list_first_entry(&ctx->slabs[bucket].free_slabs, gc_slab, free_link); in gc_alloc_size()[all …]