/Zephyr-latest/lib/utils/ |
D | ring_buffer.c | 19 if (unlikely(wrap_size >= buf->size)) { in ring_buf_put_claim() 41 if (unlikely(size > finish_space)) { in ring_buf_put_finish() 49 if (unlikely(wrap_size >= buf->size)) { in ring_buf_put_finish() 86 if (unlikely(wrap_size >= buf->size)) { in ring_buf_get_claim() 108 if (unlikely(size > finish_space)) { in ring_buf_get_finish() 116 if (unlikely(wrap_size >= buf->size)) { in ring_buf_get_finish()
|
/Zephyr-latest/arch/posix/include/ |
D | posix_arch_internal.h | 21 if (unlikely(test)) { in pc_safe_call()
|
/Zephyr-latest/drivers/sensor/st/lis2dh/ |
D | lis2dh_trigger.c | 92 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1() 98 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1() 107 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1() 115 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1() 427 unlikely(atomic_test_and_clear_bit(&lis2dh->trig_flags, in lis2dh_thread_cb() 431 if (unlikely(status < 0)) { in lis2dh_thread_cb() 438 unlikely(atomic_test_and_clear_bit(&lis2dh->trig_flags, in lis2dh_thread_cb() 442 if (unlikely(status < 0)) { in lis2dh_thread_cb()
|
/Zephyr-latest/drivers/flash/ |
D | soc_flash_nrf_mram.c | 42 if (unlikely(offset < 0 || offset >= MRAM_SIZE || len > MRAM_SIZE - offset)) { in validate_and_map_addr() 50 unlikely((addr % WRITE_BLOCK_SIZE) != 0 || (len % WRITE_BLOCK_SIZE) != 0)) { in validate_and_map_addr()
|
/Zephyr-latest/subsys/random/ |
D | random_ctr_drbg.c | 71 if (unlikely(!ctr_initialised)) { in z_impl_sys_csrand_get()
|
D | random_entropy_device.c | 25 if (unlikely(ret < 0)) { in rand_get()
|
D | random_xoshiro128.c | 101 if (unlikely(!initialized)) { in z_impl_sys_rand_get()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | entropy.h | 114 if (unlikely(!api->get_entropy_isr)) { in entropy_get_entropy_isr()
|
/Zephyr-latest/tests/drivers/uart/uart_mix_fifo_poll/ |
D | Kconfig | 12 test and therefore the higher likelihood an unlikely race/event will be triggered.
|
/Zephyr-latest/kernel/ |
D | sem.c | 106 if (unlikely(thread != NULL)) { in z_impl_k_sem_give() 114 if (unlikely(resched)) { in z_impl_k_sem_give()
|
D | mutex.c | 137 if (unlikely(K_TIMEOUT_EQ(timeout, K_NO_WAIT))) { in z_impl_k_mutex_lock() 264 if (unlikely(new_owner != NULL)) { in z_impl_k_mutex_unlock()
|
D | userspace.c | 736 if (unlikely((ko == NULL) || in k_object_validate() 744 if (unlikely(thread_perms_test(ko) == 0)) { in k_object_validate() 751 if (unlikely((ko->flags & K_OBJ_FLAG_INITIALIZED) == 0U)) { in k_object_validate() 756 if (unlikely((ko->flags & K_OBJ_FLAG_INITIALIZED) != 0U)) { in k_object_validate()
|
D | condvar.c | 52 if (unlikely(thread != NULL)) { in z_impl_k_condvar_signal()
|
D | mem_slab.c | 281 if (unlikely(slab->free_list == NULL) && IS_ENABLED(CONFIG_MULTITHREADING)) { in k_mem_slab_free() 284 if (unlikely(pending_thread != NULL)) { in k_mem_slab_free()
|
/Zephyr-latest/drivers/usb/uhc/ |
D | uhc_max3421e.c | 93 if (unlikely(update_hirq)) { in max3421e_read_hirq() 678 if (unlikely(err)) { in uhc_max3421e_thread() 696 if (unlikely(err)) { in uhc_max3421e_thread() 703 if (unlikely(err)) { in uhc_max3421e_thread() 709 if (unlikely(err)) { in uhc_max3421e_thread() 847 if (unlikely(ret)) { in max3421e_pinctl_setup() 852 if (unlikely(ret)) { in max3421e_pinctl_setup() 856 if (unlikely(tmp != pinctl)) { in max3421e_pinctl_setup()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_scan_aux.c | 139 if (unlikely(!pdu->len || !pri_com_hdr->ext_hdr_len)) { in lll_scan_aux_setup() 172 if (unlikely(!pri_hdr->aux_ptr || !PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) || in lll_scan_aux_setup() 189 if (unlikely(!AUX_OFFSET_IS_VALID(aux_offset_us, window_size_us, pdu_us))) { in lll_scan_aux_setup() 398 if (unlikely(!ext_hdr->adv_addr)) { in lll_scan_aux_addr_match_get() 469 if (unlikely(lll->is_stop || in prepare_cb() 811 if (unlikely(!trx_done || !crc_ok)) { in isr_rx() 827 if (unlikely((pdu->type != PDU_ADV_TYPE_EXT_IND) || !pdu->len)) { in isr_rx() 1551 if (unlikely(!trx_done)) { 1643 if (unlikely(pdu_rx->type != PDU_ADV_TYPE_AUX_CONNECT_RSP)) { 1647 if (unlikely(pdu_rx->len != (offsetof(struct pdu_adv_com_ext_adv, ext_hdr_adv_data) + [all …]
|
D | lll_central.c | 112 if (unlikely(lll->handle == 0xFFFF)) { in prepare_cb()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_da1469x.c | 103 if (unlikely(ret < 0)) { in h4_read_hdr() 271 if (unlikely(err < 0)) { in h4_discard() 315 if (unlikely(read < 0)) { in read_payload()
|
D | h4.c | 115 if (unlikely(ret < 0)) { in h4_read_hdr() 280 if (unlikely(err < 0)) { in h4_discard() 327 if (unlikely(read < 0)) { in read_payload() 437 if (unlikely(bytes < 0)) { in process_tx()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_adsp_mtrace.c | 136 if (unlikely(mtrace_panic_mode)) { in char_out()
|
/Zephyr-latest/drivers/sensor/nxp/fxas21002/ |
D | Kconfig | 23 pre-production devices can have a different value. It is unlikely you
|
/Zephyr-latest/drivers/timer/ |
D | mcux_gpt_timer.c | 70 if (unlikely(((int32_t)(next - now)) <= 1)) { in gpt_set_safe()
|
/Zephyr-latest/include/zephyr/logging/ |
D | log.h | 89 if (unlikely(__warned == 0)) { \
|
/Zephyr-latest/kernel/include/ |
D | ksched.h | 183 if (unlikely(thread != NULL)) { in z_unpend_first_thread()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_aux.c | 601 if (unlikely(!AUX_OFFSET_IS_VALID(aux_offset_us, window_size_us, pdu_us))) { in ull_scan_aux_setup() 812 if (unlikely(scan->is_stop)) { in ull_scan_aux_setup() 823 if (unlikely(sync_set->is_stop)) { in ull_scan_aux_setup() 936 if (unlikely(scan->is_stop)) { in ull_scan_aux_setup() 962 if (unlikely(sync_set->is_stop && sync_lll->lll_aux)) { in ull_scan_aux_setup() 998 if (unlikely(sync->is_stop) || !sync->lll.lll_aux) { in ull_scan_aux_done() 1015 if (unlikely(scan->is_stop)) { in ull_scan_aux_done() 1931 if (unlikely(!AUX_OFFSET_IS_VALID(aux_offset_us, window_size_us, pdu_us))) { in ull_scan_aux_setup() 2097 if (unlikely(scan->is_stop)) { in ull_scan_aux_setup() 2115 if (unlikely(sync_set->is_stop)) { in ull_scan_aux_setup()
|