Searched refs:unlikely (Results 1 – 8 of 8) sorted by relevance
36 #define unlikely(x) __builtin_expect(!!(x), 0) macro96 if (unlikely(offset >= ctx->inp_size)) { in image_get_interleaved_byte()108 if (unlikely(offset >= ctx->inp_size)) { in image_set_interleaved_byte()
72 if (unlikely(offset >= f->data_size)) { in is_erasure()90 if (hashtree.hash_data.empty() || unlikely(offset >= f->data_size)) { in is_zero()96 if (unlikely(hash_offset > in is_zero()171 if (unlikely(use_erasures)) { in __ecc_read()178 if (unlikely(rc < 0)) { in __ecc_read()191 } else if (unlikely(rc > 0)) { in __ecc_read()215 if (unlikely(!rs)) { in ecc_init()223 if (unlikely(!ecc_data)) { in ecc_init()522 if (unlikely(offset > UINT64_MAX - count)) { in fec_pread()
171 #ifndef unlikely172 #define unlikely(x) __builtin_expect(!!(x), 0) macro204 if (unlikely(!(p))) { \
518 if (unlikely(!f)) { in fec_open()531 if (unlikely(pthread_mutex_init(&f->mutex, NULL) != 0)) { in fec_open()
162 if (unlikely(get_hash(block, hash.data()) == -1)) { in check_block_hash()
24 # so in practice the device will crash anyway in this unlikely scenario.
85 *(.text.unlikely .text.*_unlikely)