Searched refs:object_size (Results 1 - 12 of 12) sorted by last modified time
/haiku/src/system/kernel/slab/ |
H A D | allocator.cpp | 155 ASSERT(cache->object_size >= kBlockSizes[0]); 156 ASSERT(cache->object_size <= kBlockSizes[kNumBlockSizes - 1]); 157 ASSERT(cache == sBlockCaches[size_to_index(cache->object_size)]);
|
H A D | MemoryManager.cpp | 803 _size = cache->object_size; 1865 cache != NULL ? cache->object_size : 0,
|
H A D | Slab.cpp | 271 "\n", cache, cache->name, cache->object_size, cache->alignment, 292 kprintf("object_size: %lu\n", cache->object_size); 549 cache->ObjectAtIndex(slab, i), cache->object_size)) { 1122 create_object_cache(const char* name, size_t object_size, size_t alignment, argument 1126 return create_object_cache_etc(name, object_size, alignment, 0, 0, 0, 0, 1217 return fill_allocated_block(object, cache->object_size); 1257 link_to_object(link, cache->object_size), link, source, source->count); 1264 void* object = link_to_object(link, cache->object_size); 1268 return fill_allocated_block(object, cache->object_size); [all...] |
H A D | ObjectCache.cpp | 61 object_size = objectSize + alignment - (objectSize & (alignment - 1)); 63 object_size = objectSize; 66 object_size); 127 slab->count = slab->size = byteCount / object_size; 130 size_t spareBytes = byteCount - (slab->size * object_size); 156 data += object_size; 164 _push(slab->free, object_to_link(data, object_size)); 167 &object_to_link(data, object_size)->next, sizeof(void*)); 169 data += object_size; 194 data += object_size; [all...] |
H A D | ObjectCache.h | 49 size_t object_size; member in struct:ObjectCache
|
H A D | SmallObjectCache.cpp | 29 SmallObjectCache::Create(const char* name, size_t object_size, argument 41 if (cache->Init(name, object_size, alignment, maximum, magazineCapacity, 49 cache->slab_size = 1024 * object_size;
|
H A D | HashedObjectCache.h | 25 static HashedObjectCache* Create(const char* name, size_t object_size,
|
H A D | HashedObjectCache.cpp | 56 HashedObjectCache::Create(const char* name, size_t object_size, argument 78 if (cache->Init(name, object_size, alignment, maximum, magazineCapacity, 86 cache->slab_size = 128 * object_size; 88 cache->slab_size = 8 * object_size;
|
H A D | SmallObjectCache.h | 15 static SmallObjectCache* Create(const char* name, size_t object_size,
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfStructures.h | 2149 uint64 object_size() const { return B_LENDIAN_TO_HOST_INT64(_object_size); } function in struct:extended_file_icb_entry
|
/haiku/src/tests/system/kernel/slab/ |
H A D | Slab.cpp | 409 object_cache_create(const char *name, size_t object_size, size_t alignment, argument 413 return new (std::nothrow) MallocLocalCache(name, object_size, alignment,
|
H A D | Slab.h | 34 object_cache_create(const char *name, size_t object_size, size_t alignment,
|
Completed in 63 milliseconds