Searched refs:_unlikely_ (Results 1 – 25 of 29) sorted by relevance
12
212 if (_unlikely_(i < 0)) { in sd_journal_send()256 if (_unlikely_(!iov[i].iov_base || iov[i].iov_len <= 1)) in sd_journal_sendv()260 if (_unlikely_(!c || c == iov[i].iov_base)) in sd_journal_sendv()269 if (_unlikely_(nl < c)) in sd_journal_sendv()307 if (_unlikely_(fd < 0)) in sd_journal_sendv()533 if (_unlikely_(i < 0)) { in sd_journal_send_with_location()
30 if (_unlikely_(l == SIZE_MAX)) /* prevent overflow */ in memdup_suffix0()59 if (_unlikely_(need > SIZE_MAX/2)) /* Overflow check */ in greedy_realloc()
36 if (_unlikely_(!mp->first_pool) || in mempool_alloc_tile()37 _unlikely_(mp->first_pool->n_used >= mp->first_pool->n_tiles)) { in mempool_alloc_tile()
116 if (_unlikely_(nbytes > (size_t) SSIZE_MAX)) in loop_write()139 if (_unlikely_(nbytes > 0 && k == 0)) /* Can't really happen */ in loop_write()
818 if (_unlikely_(l_separator > SIZE_MAX - 64)) /* overflow check #1 */ in strextendf_with_separator()820 if (_unlikely_(m > SIZE_MAX - 64 - l_separator)) /* overflow check #2 */ in strextendf_with_separator()853 if (_unlikely_((size_t) l > SIZE_MAX - (l_separator + 1))) /* overflow check #1 */ in strextendf_with_separator()855 … if (_unlikely_(m > SIZE_MAX - ((size_t) l + l_separator + 1))) /* overflow check #2 */ in strextendf_with_separator()
160 if (_unlikely_(*p == '\0') && len_bytes != SIZE_MAX) in utf8_is_valid_n()165 if (_unlikely_(len < 0)) in utf8_is_valid_n()
63 if (_unlikely_(c >= SIGBUS_QUEUE_MAX)) in sigbus_pop()
97 return _unlikely_(need != 0 && size > (SIZE_MAX / need)); in size_multiply_overflow()
367 #define DEBUG_LOGGING _unlikely_(log_get_max_level() >= LOG_DEBUG)
237 if (_unlikely_(!(expr))) \
1081 if (_unlikely_(new_n_entries < entries_add)) in resize_buckets()1094 if (_unlikely_(new_n_buckets < new_n_entries)) in resize_buckets()1097 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t)))) in resize_buckets()
47 if (_unlikely_(flags == 0)) in unit_name_is_valid()
7 - _unlikely_(log_get_max_level() >= LOG_DEBUG)
26 #define _unlikely_(x) (__builtin_expect(!!(x), 0)) macro
46 if (_unlikely_(LOG_PRI(priority) > s->max_level_kmsg)) in server_forward_kmsg()49 if (_unlikely_(s->dev_kmsg_fd < 0)) in server_forward_kmsg()
23 if (_unlikely_(cached_printk_time < 0)) { in prefix_timestamp()
32 if (_unlikely_(_r_ < 0)) \
50 if (_unlikely_(!t || t->kind != TCLASS_KIND_##UPPERCASE)) \
68 if (_unlikely_(!q || q->kind != QDISC_KIND_##UPPERCASE)) \
54 if (_d && _unlikely_(log_get_max_level() >= LOG_PRI(_level))) \
184 if (_unlikely_(!n || \
94 if (_unlikely_(!p)) in DNS_PACKET_DATA()
61 if (_unlikely_(cached_use < 0)) { in mac_selinux_use()
21 #define _unlikely_(x) (__builtin_expect(!!(x), 0)) macro
3019 if (_unlikely_(c < USEC_PER_MINUTE)) in sleep_between()3030 if (_unlikely_(c < USEC_PER_SEC*10)) in sleep_between()3041 if (_unlikely_(c < USEC_PER_SEC)) in sleep_between()3052 if (_unlikely_(c < USEC_PER_MSEC*250)) in sleep_between()3158 if (_unlikely_(ss != sizeof(x))) in flush_timer()3355 if (_unlikely_(n != sizeof(si))) in process_signal()