Searched refs:Alloc (Results 1 - 4 of 4) sorted by last modified time

/haiku/src/system/kernel/slab/
H A DSlab.cpp171 class Alloc : public ObjectCacheTraceEntry { class in namespace:SlabObjectCacheTracing
173 Alloc(ObjectCache* cache, uint32 flags, void* object) function in class:SlabObjectCacheTracing::Alloc
832 cache->TrackingInfoFor(object)->Init(T(Alloc(cache, flags, object)));
834 T(Alloc(cache, flags, object));
1237 T(Alloc(cache, flags, NULL));
/haiku/src/tests/system/kernel/slab/
H A DSlab.cpp264 // To better understand both the Alloc() and Free() logic refer to
421 return ((MallocLocalCache *)cache)->Alloc(0);
428 return ((MallocLocalCache *)cache)->Alloc(flags);
454 buf[i] = cache.Alloc(0);
470 buf[i] = cache.Alloc(0);
499 buf[i] = cache.Alloc(0);
H A DSlab.h284 Type *Alloc(uint32_t flags) { return (Type *)BaseType::AllocateObject(flags); } function in class:TypedCache
401 Slab *slab = fSlabCache.Alloc(flags);
443 Link *link = fLinkCache.Alloc(flags);
532 void *Alloc(uint32_t flags) function in class:LocalCache
/haiku/headers/cpp/
H A Dstl_rope.h320 _Alloc_traits<_Tp,_Allocator>::_Alloc_type __name##Alloc; \
324 { return __name##Alloc::allocate(__n); } \
326 { __name##Alloc::deallocate(__p, __n); }
359 typedef simple_alloc<_Tp, _Alloc> __name##Alloc; \
361 { return __name##Alloc::allocate(__n); } \
363 { __name##Alloc::deallocate(__p, __n); }
1210 _Alloc_traits<_Tp,_Allocator>::_Alloc_type __name##Alloc; \
1214 { return __name##Alloc::allocate(__n); } \
1216 { __name##Alloc::deallocate(__p, __n); }
1250 typedef simple_alloc<_Tp, _Alloc> __name##Alloc; \
[all...]

Completed in 53 milliseconds