Searched refs:slab (Results 1 – 1 of 1) sorted by relevance
449 struct _WsbmSlab *slab; in wsbmAllocSlab() local455 slab = calloc(1, sizeof(*slab)); in wsbmAllocSlab()456 if (!slab) in wsbmAllocSlab()459 slab->kbo = wsbmAllocKernelBO(header); in wsbmAllocSlab()460 if (!slab->kbo) { in wsbmAllocSlab()465 numBuffers = slab->kbo->actualSize / header->bufSize; in wsbmAllocSlab()467 slab->buffers = calloc(numBuffers, sizeof(*slab->buffers)); in wsbmAllocSlab()468 if (!slab->buffers) { in wsbmAllocSlab()473 WSBMINITLISTHEAD(&slab->head); in wsbmAllocSlab()474 WSBMINITLISTHEAD(&slab->freeBuffers); in wsbmAllocSlab()[all …]