Searched refs:next_power_of_2 (Results 1 - 4 of 4) sorted by relevance

/haiku/src/libs/compat/freebsd_network/
H A Dmalloc.cpp28 = memalign_etc(size >= PAGESIZE ? PAGESIZE : next_power_of_2(size), size,
/haiku/headers/private/kernel/util/
H A DBitUtils.h19 next_power_of_2(uint32 v) function
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDataContainer.cpp116 const size_t newBufferSize = max_c(next_power_of_2(newSize),
/haiku/src/system/kernel/arch/x86/
H A Darch_cpu.cpp688 int maxLogicalID = next_power_of_2((cpuid.regs.ebx >> 16) & 0xff);
697 maxCoreID = next_power_of_2((cpuid.regs.edx & 0xf) + 1);
736 int coresCount = next_power_of_2(((cpuid.regs.eax >> 14) & 0x3f) + 1);
834 int maxLogicalID = next_power_of_2((cpuid.regs.ebx >> 16) & 0xff);
839 maxCoreID = next_power_of_2((cpuid.regs.eax >> 26) + 1);
869 = next_power_of_2(((cpuid.regs.eax >> 14) & 0x3f) + 1);

Completed in 46 milliseconds