Searched refs:likely (Results 1 – 13 of 13) sorted by relevance
68 if (likely(sbi_ext_present(SBI_EXTENSION_TIMER))) { in sbi_set_timer()77 if (likely(sbi_ext_present(SBI_EXTENSION_IPI))) { in sbi_send_ipis()106 if (likely(sbi_ext_present(SBI_EXTENSION_RFENCE))) { in sbi_rfence_vma()
116 if (likely(lock_)) { in release()137 if (likely(lock_)) { in release()
93 if (likely(mutex_)) { in release()
17 #define likely(x) __builtin_expect(!!(x), 1) macro163 #define likely(x) (x) macro
85 if (likely(t)) in arm64_fpu_exception()
214 if (likely(timer == 0)) in timer_tick()217 if (likely(TIME_LT(now, timer->scheduled_time))) in timer_tick()
80 if (likely(ret == ERR_TIMED_OUT)) { in mutex_acquire_timeout()
618 if (likely(!thread_is_idle(current_thread))) { /* idle thread doesn't go in the run queue */ in thread_yield()658 if (likely(!thread_is_idle(current_thread))) { /* idle thread doesn't go in the run queue */ in thread_preempt()
100 if (likely(m68k_irq >= 1 && m68k_irq <= 6)) { in m68k_platform_irq()
56 if (likely(size == 1)) { in fwrite()
46 if (likely(ptr)) in HEAP_CALLOC()75 if (likely(ptr)) in HEAP_CALLOC()
50 # lump them both together because likely both to be used, in which case doing so saves 1 word
368 if (likely(gem.rx_callback)) { in gem_rx_thread()
Completed in 19 milliseconds