Searched refs:likely (Results 1 – 14 of 14) sorted by relevance
12 likely(__condition); \
293 if (likely(i < N)) in ktest_idr_case3()325 if (likely(i < N)) in ktest_idr_case3()
13 … while (likely(!spin_is_locked(&old.lock))) \17 … if (likely(arch_try_cmpxchg(&__lock_ref->lock_count, &old.lock_count, new.lock_count))) \
39 if (likely(mutex_is_locked(lock))) in mutex_lock()
10 intrinsics::{likely, unlikely},139 if likely(unsafe { ALLOW_ALLOC_BOOL }) { in allow_alloc()
3 intrinsics::{likely, unlikely},694 if likely(elf_bss != elf_brk) && unlikely(self.pad_zero(elf_bss).is_err()) { in load()
177 #ifndef likely178 #define likely(expr) expect((expr) != 0, 1) macro792 if (likely(pIn < pInLimit - (STEPSIZE - 1))) in LZ4_count()806 while (likely(pIn < pInLimit - (STEPSIZE - 1))) in LZ4_count()2514 && likely((endOnInput ? ip < shortiend : 1) & (op <= shortoend))) in LZ4_decompress_generic()
477 if (likely(idp->top)) in __idr_destroy_with_free()
111 if (likely(status != NULL)) in c_sys_wait4()
77 likely(is_success); \
5 #define likely(x) __builtin_expect(!!(x), 1) macro
59 if (likely(video_refresh_target != NULL)) in video_refresh_daemon()
13 use core::intrinsics::{likely, unlikely};135 if likely(i != MAX_ORDER - 1) { in new()198 if likely(entries > 0) { in new()463 if likely(order != MAX_ORDER - 1) { in buddy_free()
153 if (likely(window->vlines_used == window->vlines_num)) // 需要滚动屏幕 in __textui_new_line()273 if (likely(window->vlines_used > __private_info.actual_line)) in textui_putchar_window()