| 45 | |
| 46 | |
| 47 | struct object_page *pool_allocate_page(int cbObject) |
| 48 | { |
| 49 | size_t cb = (((size_t)cbObject) * OBJECT_PAGE_BUFFER_SIZE) + sizeof(struct object_page); |
| 50 | return (object_page*)scalloc(cb, 1, MALLOC_SHARED); |
| 51 | } |
| 52 | void pool_initialize(struct alloc_pool *ppool, int cbObject) |
| 53 | { |
| 54 | if ((cbObject % 8) != 0) |
no test coverage detected