| /tools/include/asm/ |
| A D | bug.h | 12 if (unlikely(__ret_warn_on)) \ 14 unlikely(__ret_warn_on); \ 19 if (unlikely(__ret_warn_on)) \ 22 unlikely(__ret_warn_on); \ 29 if (unlikely(__ret_warn_once && !__warned)) { \ 33 unlikely(__ret_warn_once); \ 40 if (unlikely(__ret_warn_once)) \ 43 unlikely(__ret_warn_once); \
|
| /tools/testing/scatterlist/linux/ |
| A D | mm.h | 13 #define unlikely macro 19 unlikely(__ret_warn_on); \ 24 if (unlikely(__ret_warn_on)) \ 26 unlikely(__ret_warn_on); \ 134 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
|
| /tools/include/linux/ |
| A D | err.h | 33 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) 52 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
|
| A D | find.h | 39 if (unlikely(offset >= size)) in find_next_bit() 69 if (unlikely(offset >= size)) in find_next_and_bit() 97 if (unlikely(offset >= size)) in find_next_zero_bit()
|
| A D | refcount.h | 91 if (unlikely(!new)) in refcount_inc_not_zero() 131 if (unlikely(val == UINT_MAX)) in refcount_sub_and_test()
|
| A D | compiler.h | 149 #ifndef unlikely 150 # define unlikely(x) __builtin_expect(!!(x), 0) macro
|
| /tools/testing/nvdimm/ |
| A D | pmem-dax.c | 17 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access() 48 if (unlikely(pmem->bb.count)) in __pmem_direct_access()
|
| /tools/virtio/linux/ |
| A D | kernel.h | 114 # ifndef unlikely 115 # define unlikely(x) (__builtin_expect(!!(x), 0)) macro 122 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array()
|
| A D | err.h | 6 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
|
| A D | scatterlist.h | 144 if (unlikely(sg_is_chain(sg))) in sg_next()
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 254 if (unlikely(ptr == NULL)) in malloc_or_die_nocleanup() 265 if (unlikely(r < 0)) { in write_or_die() 281 if (unlikely(r != 0)) in clock_gettime_or_die() 327 if (unlikely(errno)) in mutex_lock() 335 if (unlikely(errno)) in mutex_unlock() 342 if (unlikely(errno)) in cond_signal() 350 if (unlikely(errno)) in cond_wait() 357 if (unlikely(errno)) in cond_broadcast() 410 if (unlikely(errno)) in condattr_setclock() 470 if (unlikely(errno)) { in signal_blocking() [all …]
|
| /tools/include/tools/ |
| A D | libc_compat.h | 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
|
| /tools/perf/check-header_ignore_hunks/lib/ |
| A D | list_sort.c | 20 + if (unlikely(!++count))
|
| /tools/perf/util/ |
| A D | debug.h | 29 if (unlikely(!__warned)) { \ 69 if (unlikely(!__warned)) { \
|
| A D | cpumap.c | 521 if (unlikely(!max_node_num)) in cpu__max_node() 529 if (unlikely(!max_cpu_num.cpu)) in cpu__max_cpu() 537 if (unlikely(!max_present_cpu_num.cpu)) in cpu__max_present_cpu() 546 if (unlikely(cpunode_map == NULL)) { in cpu__get_node()
|
| /tools/bootconfig/include/linux/ |
| A D | bootconfig.h | 22 #define unlikely(cond) (cond) macro
|
| /tools/hv/ |
| A D | vmbus_bufring.c | 296 if (unlikely(pkt.hlen < VMBUS_CHANPKT_HLEN_MIN)) in rte_vmbus_chan_recv_raw() 300 if (unlikely(pkt.hlen > pkt.tlen)) in rte_vmbus_chan_recv_raw() 308 if (unlikely(dlen > bufferlen)) in rte_vmbus_chan_recv_raw()
|
| A D | vmbus_bufring.h | 10 #define unlikely(x) __builtin_expect(!!(x), 0) macro
|
| /tools/testing/selftests/bpf/progs/ |
| A D | bpf_arena_spin_lock.h | 237 if (unlikely(val)) in arena_spin_trylock() 284 if (unlikely(val & ~_Q_LOCKED_MASK)) { in arena_spin_lock_slowpath() 331 if (unlikely(idx >= _Q_MAX_NODES)) { in arena_spin_lock_slowpath()
|
| /tools/net/sunrpc/xdrgen/templates/C/typedef/encoder/ |
| A D | variable_length_array.j2 | 17 if (unlikely(value.count > {{ maxsize }}))
|
| /tools/testing/selftests/net/tcp_ao/lib/ |
| A D | proc.c | 106 if (unlikely(!strcmp(nc->name, "MaxConn"))) in netstat_read_type() 206 if (unlikely(!strcmp(nsb->header_name, "MaxConn"))) { in __netstat_print_diff() 222 if (unlikely(strcmp(nsb->header_name, nsa->header_name))) { in netstat_print_diff()
|
| /tools/testing/selftests/kvm/x86/ |
| A D | tsc_scaling_sync.c | 34 if (unlikely(local_tsc < tmp)) in guest_code()
|
| /tools/lib/ |
| A D | find_bit.c | 53 if (unlikely(__start >= sz)) \
|
| /tools/virtio/ |
| A D | vhost_net_test.c | 295 if (unlikely(r != 0)) in run_tx_test() 300 if (unlikely(!virtqueue_kick(vq->vq))) { in run_tx_test() 362 if (unlikely(r != 0)) in run_rx_test() 369 if (unlikely(!virtqueue_kick(vq->vq))) { in run_rx_test()
|
| /tools/virtio/ringtest/ |
| A D | ptr_ring.c | 16 #define unlikely(x) (__builtin_expect(!!(x), 0)) macro
|