Searched refs:ceiling (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/pthread/
H A Dpthread_mutex_getprioceiling.c3 int pthread_mutex_getprioceiling(const pthread_mutex_t* restrict m, int* restrict ceiling) { argument
H A Dpthread_mutex_setprioceiling.c3 int pthread_mutex_setprioceiling(pthread_mutex_t* restrict m, int ceiling, int* restrict old) { argument
/fuchsia/zircon/kernel/include/
H A Dpow2.h24 // Compute log2(|val|), rounded as requested by |ceiling|. We define
26 __CONSTEXPR static inline __ALWAYS_INLINE uint _log2_uint(uint val, bool ceiling) argument
33 if (ceiling && val - (1u << log2) > 0) {
52 // Compute log2(|val|), rounded as requested by |ceiling|. We define
54 __CONSTEXPR static inline __ALWAYS_INLINE uint _log2_ulong(ulong val, bool ceiling) argument
61 if (ceiling && val - (1ul << log2) > 0) {

Completed in 30 milliseconds