Searched refs:unlikely (Results 1 – 23 of 23) sorted by relevance
42 if (unlikely(m->holder != 0 && get_current_thread() != m->holder)) in mutex_destroy()68 if (unlikely(get_current_thread() == m->holder)) in mutex_acquire_timeout()76 if (unlikely(++m->count > 1)) { in mutex_acquire_timeout()78 if (unlikely(ret < NO_ERROR)) { in mutex_acquire_timeout()109 if (unlikely(get_current_thread() != m->holder)) { in mutex_release()119 if (unlikely(--m->count >= 1)) { in mutex_release()
43 if (unlikely(++sem->count <= 0)) in sem_post()59 if (unlikely(--sem->count < 0)) in sem_wait()70 if (unlikely(sem->count <= 0)) in sem_trywait()83 if (unlikely(--sem->count < 0)) { in sem_timedwait()
248 if (unlikely(TIME_LT(timer->scheduled_time, now))) { in timer_tick()
570 if (unlikely(s[i] != STACK_DEBUG_WORD)) { in thread_resched()
128 if (unlikely(!pl310_enabled())) in pl310_invalidate()136 if (unlikely(!pl310_enabled())) in pl310_flush_invalidate()144 if (unlikely(!pl310_enabled())) in pl310_sync_range()151 if (unlikely(!pl310_enabled())) \159 if (unlikely(pa / PAGE_SIZE != last_pa_page)) { \161 if (unlikely(arm_vtop(start, &pa))) \
19 if (unlikely(!(x))) { \29 if (unlikely(!(x))) { \46 if (DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \57 if (DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \
102 if (unlikely(ticks == 0)) in platform_set_periodic_timer()104 if (unlikely(ticks > 0xffffffff)) in platform_set_periodic_timer()129 if (unlikely(ticks == 0)) in platform_set_oneshot_timer()131 if (unlikely(ticks > 0xffffffff)) in platform_set_oneshot_timer()
145 if (unlikely(!list_is_empty(&delayed_free_list))) { in heap_trim()156 if (unlikely(!list_is_empty(&delayed_free_list))) { in malloc()170 if (unlikely(!list_is_empty(&delayed_free_list))) { in memalign()184 if (unlikely(!list_is_empty(&delayed_free_list))) { in calloc()198 if (unlikely(!list_is_empty(&delayed_free_list))) { in realloc()
94 if (unlikely(reason)) { in riscv_software_exception()114 if (unlikely(arch_curr_cpu_num() >= SMP_MAX_CPUS)) { in riscv_secondary_entry()
28 if (unlikely(code == 0)) { in m68k_irq()
18 #define unlikely(x) __builtin_expect(!!(x), 0) macro164 #define unlikely(x) (x) macro
74 if (unlikely(vector == 0)) { in riscv_platform_irq()
45 if (unlikely(arch_in_int_handler())) { in arm_fpu_undefined_instruction()
43 if (unlikely(TIME_GT(count, last_compare_set))) { in mips_timer_irq()
115 if (unlikely(x >= surface->width)) in gfx_fillrect()137 if (unlikely(x >= surface->width)) in gfx_putpixel()317 if (unlikely(x1 >= surface->width)) in gfx_line()319 if (unlikely(x2 >= surface->width)) in gfx_line()
237 if (unlikely(!handle || !handle->mount || in fs_file_ioctl()283 if (unlikely(!handle)) in fs_truncate_file()
330 if (unlikely(tcp_debug)) in tcp_input()339 if (unlikely(tcp_debug) || LOCAL_TRACE) { in tcp_input()389 if (unlikely(tcp_debug)) in tcp_input()592 if (unlikely(tcp_debug)) in handle_data()
580 if (unlikely(args == NULL)) { in command_loop()586 if (unlikely(outbuf == NULL)) { in command_loop()
251 if (unlikely(ptr == NULL)) { in memfs_truncate()
370 if (unlikely(end_page > start_page)) { in miniheap_trim()
1136 if (unlikely(!argp)) { in spifs_ioctl_get_file_addr()1163 if (unlikely(!argp)) { in spifs_ioctl_is_linear()
364 if (unlikely(gem.debug_rx)) { in gem_rx_thread()
Completed in 27 milliseconds