Searched refs:likely (Results 1 – 15 of 15) 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()
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()
105 if (likely((paddr >> PAGE_2M_SHIFT) < mm_total_2M_pages)) in mm_is_2M_page()
175 …if (likely((((ul)phys_addr_start + length_mapped) >> PAGE_2M_SHIFT) < mm_total_2M_pages)) // 校验是否为… in mm_map_proc_page_table()187 if (likely(flush)) in mm_map_proc_page_table()424 if (likely(len_2m > 0)) in mm_map_vma()438 if (likely(len_4k > 0)) in mm_map_vma()
652 if (likely(slab_obj_ptr->vaddr != page_base_addr)) in kfree()
77 likely(is_success); \
5 #define likely(x) __builtin_expect(!!(x), 1) macro
63 if (likely(video_refresh_target != NULL)) in video_refresh_daemon()
147 if (likely(window->vlines_used == window->vlines_num)) // 需要滚动屏幕 in __textui_new_line()260 if (likely(window->vlines_used > __private_info.actual_line)) in textui_putchar_window()
552 if (likely(status != NULL)) in sys_wait4()
1643 if (likely(rst_ret == 0)) // 如果端口reset成功,就获取它的描述符 in xhci_hc_start_ports()1667 if (likely(xhci_reset_port(id, i) == in xhci_hc_start_ports()