Searched refs:SMALL_GRANULARITY (Results 1 – 2 of 2) sorted by relevance
289 #define SMALL_GRANULARITY 16 macro295 #define SMALL_SIZE_LIMIT (SMALL_GRANULARITY * (SMALL_CLASS_COUNT - 1))315 _Static_assert((SMALL_GRANULARITY & (SMALL_GRANULARITY - 1)) == 0, "Small granularity must be power…1795 …const uint32_t class_idx = (uint32_t)((size + (SMALL_GRANULARITY - 1)) >> SMALL_GRANULARITY_SHIFT); in _rpmalloc_allocate_small()1887 if (alignment <= SMALL_GRANULARITY) in _rpmalloc_aligned_allocate()2245 if (alignment <= SMALL_GRANULARITY) in _rpmalloc_aligned_reallocate()2489 _memory_size_class[iclass].block_size = SMALL_GRANULARITY; in rpmalloc_initialize_config()2492 size_t size = iclass * SMALL_GRANULARITY; in rpmalloc_initialize_config()
210 #define SMALL_GRANULARITY 16 macro216 #define SMALL_SIZE_LIMIT (SMALL_GRANULARITY * (SMALL_CLASS_COUNT - 1))1285 const uint32_t class_idx = (uint32_t)((size + (SMALL_GRANULARITY - 1)) >> SMALL_GRANULARITY_SHIFT); in _memory_allocate_small()1901 _memory_size_class[iclass].block_size = SMALL_GRANULARITY; in rpmalloc_initialize_config()1904 size_t size = iclass * SMALL_GRANULARITY; in rpmalloc_initialize_config()