Home
last modified time | relevance | path

Searched refs:SMALL_GRANULARITY (Results 1 – 2 of 2) sorted by relevance

/dports/multimedia/lives/lives-3.2.0/src/
H A Drpmalloc.c289 #define SMALL_GRANULARITY 16 macro
295 #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()
/dports/audio/lmms/lmms-1.2.2/src/3rdparty/rpmalloc/rpmalloc/rpmalloc/
H A Drpmalloc.c210 #define SMALL_GRANULARITY 16 macro
216 #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()