Searched refs:object_size (Results 1 - 13 of 13) sorted by relevance

/haiku-fatelf/src/system/kernel/slab/
H A DObjectCache.cpp60 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 DSmallObjectCache.cpp26 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 DSmallObjectCache.h15 static SmallObjectCache* Create(const char* name, size_t object_size,
H A DHashedObjectCache.cpp56 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 Dallocator.cpp156 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 DHashedObjectCache.h25 static HashedObjectCache* Create(const char* name, size_t object_size,
H A DSlab.cpp271 "\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 DObjectCache.h50 size_t object_size; member in struct:ObjectCache
H A DMemoryManager.cpp798 _size = cache->object_size;
1865 cache != NULL ? cache->object_size : 0,
/haiku-fatelf/src/tests/system/kernel/slab/
H A DSlab.cpp409 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 DSlab.h34 object_cache_create(const char *name, size_t object_size, size_t alignment,
/haiku-fatelf/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.h2151 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 DUdfStructures.h2100 uint64 object_size() const { return B_LENDIAN_TO_HOST_INT64(_object_size); } function in struct:Udf::extended_file_icb_entry

Completed in 103 milliseconds