/haiku-fatelf/src/system/kernel/slab/ |
H A D | ObjectCache.cpp | 60 object_size = objectSize + alignment - (objectSize & (alignment - 1)); 62 object_size = objectSize; 65 object_size); 126 slab->count = slab->size = byteCount / object_size; 129 size_t spareBytes = byteCount - (slab->size * object_size); 155 data += object_size; 163 _push(slab->free, object_to_link(data, object_size)); 166 &object_to_link(data, object_size)->next, sizeof(void*)); 168 data += object_size; 193 data += object_size; [all...] |
H A D | SmallObjectCache.cpp | 26 SmallObjectCache::Create(const char* name, size_t object_size, argument 38 if (cache->Init(name, object_size, alignment, maximum, magazineCapacity, 46 cache->slab_size = 1024 * object_size;
|
H A D | SmallObjectCache.h | 15 static SmallObjectCache* 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 | allocator.cpp | 156 ASSERT(cache->object_size >= kBlockSizes[0]); 157 ASSERT(cache->object_size <= kBlockSizes[kNumBlockSizes - 1]); 158 ASSERT(cache == sBlockCaches[size_to_index(cache->object_size)]);
|
H A D | HashedObjectCache.h | 25 static HashedObjectCache* Create(const char* name, size_t object_size,
|
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)) { 1131 create_object_cache(const char* name, size_t object_size, size_t alignment, argument 1135 return create_object_cache_etc(name, object_size, alignment, 0, 0, 0, 0, 1226 return fill_allocated_block(object, cache->object_size); 1266 link_to_object(link, cache->object_size), link, source, source->count); 1273 void* object = link_to_object(link, cache->object_size); 1277 return fill_allocated_block(object, cache->object_size); [all...] |
H A D | ObjectCache.h | 50 size_t object_size; member in struct:ObjectCache
|
H A D | MemoryManager.cpp | 798 _size = cache->object_size; 1865 cache != NULL ? cache->object_size : 0,
|
/haiku-fatelf/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,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfStructures.h | 2151 uint64 object_size() const { return B_LENDIAN_TO_HOST_INT64(_object_size); } function in struct:extended_file_icb_entry
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/ |
H A D | UdfStructures.h | 2100 uint64 object_size() const { return B_LENDIAN_TO_HOST_INT64(_object_size); } function in struct:Udf::extended_file_icb_entry
|